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/tmpu1heti3n 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: centos-8_setup.yml *************************************************** 1 plays in /cache/centos-8_setup.yml PLAY [Enable HA repos] ********************************************************* META: ran handlers TASK [Enable HA repos] ********************************************************* task path: /cache/centos-8_setup.yml:5 Thursday 21 July 2022 07:26:04 +0000 (0:00:00.018) 0:00:00.018 ********* changed: [/cache/centos-8.qcow2] => { "ansible_facts": { "discovered_interpreter_python": "/usr/libexec/platform-python" }, "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "ha" ], "delta": "0:00:00.369799", "end": "2022-07-21 07:26:05.231999", "rc": 0, "start": "2022-07-21 07:26:04.862200" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Thursday 21 July 2022 07:26:05 +0000 (0:00:00.984) 0:00:01.003 ********* =============================================================================== Enable HA repos --------------------------------------------------------- 0.98s /cache/centos-8_setup.yml:5 --------------------------------------------------- PLAYBOOK: tests_change_disk_mount_nvme_generated.yml *************************** 2 plays in /tmp/tmpa3egnbq5/tests/tests_change_disk_mount_nvme_generated.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpa3egnbq5/tests/tests_change_disk_mount_nvme_generated.yml:3 Thursday 21 July 2022 07:26:05 +0000 (0:00:00.014) 0:00:01.017 ********* ok: [/cache/centos-8.qcow2] META: ran handlers TASK [set disk interface for test] ********************************************* task path: /tmp/tmpa3egnbq5/tests/tests_change_disk_mount_nvme_generated.yml:7 Thursday 21 July 2022 07:26:06 +0000 (0:00:01.110) 0:00:02.127 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_use_interface": "nvme" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpa3egnbq5/tests/tests_change_disk_mount.yml:2 Thursday 21 July 2022 07:26:06 +0000 (0:00:00.050) 0:00:02.177 ********* ok: [/cache/centos-8.qcow2] META: ran handlers TASK [include_role : linux-system-roles.storage] ******************************* task path: /tmp/tmpa3egnbq5/tests/tests_change_disk_mount.yml:10 Thursday 21 July 2022 07:26:07 +0000 (0:00:00.828) 0:00:03.005 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 07:26:07 +0000 (0:00:00.033) 0:00:03.039 ********* included: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 07:26:07 +0000 (0:00:00.030) 0:00:03.070 ********* ok: [/cache/centos-8.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 07:26:07 +0000 (0:00:00.596) 0:00:03.667 ********* skipping: [/cache/centos-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-8.qcow2] => (item=CentOS_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/tmpa3egnbq5/tests/roles/linux-system-roles.storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [/cache/centos-8.qcow2] => (item=CentOS_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/tmpa3egnbq5/tests/roles/linux-system-roles.storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 07:26:07 +0000 (0:00:00.062) 0:00:03.730 ********* ok: [/cache/centos-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/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 07:26:07 +0000 (0:00:00.033) 0:00:03.763 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 07:26:07 +0000 (0:00:00.029) 0:00:03.792 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 07:26:07 +0000 (0:00:00.044) 0:00:03.837 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 07:26:07 +0000 (0:00:00.017) 0:00:03.854 ********* changed: [/cache/centos-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: ndctl-71.1-4.el8.x86_64", "Installed: libblockdev-loop-2.24-8.el8.x86_64", "Installed: ndctl-libs-71.1-4.el8.x86_64", "Installed: libblockdev-lvm-2.24-8.el8.x86_64", "Installed: lvm2-libs-8:2.03.14-2.el8.x86_64", "Installed: device-mapper-multipath-libs-0.8.4-20.el8.x86_64", "Installed: nss-softokn-freebl-3.79.0-5.el8.x86_64", "Installed: kernel-modules-4.18.0-408.el8.x86_64", "Installed: daxctl-libs-71.1-4.el8.x86_64", "Installed: libblockdev-mdraid-2.24-8.el8.x86_64", "Installed: libblockdev-mpath-2.24-8.el8.x86_64", "Installed: device-mapper-persistent-data-0.9.0-7.el8.x86_64", "Installed: nss-sysinit-3.79.0-5.el8.x86_64", "Installed: libblockdev-nvdimm-2.24-8.el8.x86_64", "Installed: userspace-rcu-0.10.1-4.el8.x86_64", "Installed: libblockdev-part-2.24-8.el8.x86_64", "Installed: nss-util-3.79.0-5.el8.x86_64", "Installed: libblockdev-swap-2.24-8.el8.x86_64", "Installed: vdo-6.2.6.14-14.el8.x86_64", "Installed: libblockdev-utils-2.24-8.el8.x86_64", "Installed: linux-firmware-20220713-109.gitdfa29317.el8.noarch", "Installed: nspr-4.34.0-3.el8.x86_64", "Installed: mdadm-4.2-3.el8.x86_64", "Installed: python3-pyparted-1:3.11.7-4.el8.x86_64", "Installed: device-mapper-event-8:1.02.181-2.el8.x86_64", "Installed: libbytesize-1.4-3.el8.x86_64", "Installed: libblockdev-2.24-8.el8.x86_64", "Installed: nss-3.79.0-5.el8.x86_64", "Installed: python3-blivet-1:3.4.0-12.el8.noarch", "Installed: kernel-core-4.18.0-408.el8.x86_64", "Installed: libblockdev-crypto-2.24-8.el8.x86_64", "Installed: device-mapper-event-libs-8:1.02.181-2.el8.x86_64", "Installed: lsof-4.93.2-1.el8.x86_64", "Installed: libblockdev-dm-2.24-8.el8.x86_64", "Installed: python3-blockdev-2.24-8.el8.x86_64", "Installed: volume_key-libs-0.3.11-5.el8.x86_64", "Installed: blivet-data-1:3.4.0-12.el8.noarch", "Installed: python3-bytesize-1.4-3.el8.x86_64", "Installed: lvm2-8:2.03.14-2.el8.x86_64", "Installed: libblockdev-fs-2.24-8.el8.x86_64", "Installed: kmod-kvdo-6.2.6.14-84.el8.x86_64", "Installed: libblockdev-kbd-2.24-8.el8.x86_64", "Installed: nss-softokn-3.79.0-5.el8.x86_64", "Installed: libaio-0.3.112-1.el8.x86_64", "Installed: device-mapper-multipath-0.8.4-20.el8.x86_64" ] } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 07:28:44 +0000 (0:02:36.766) 0:02:40.620 ********* ok: [/cache/centos-8.qcow2] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 07:28:44 +0000 (0:00:00.035) 0:02:40.656 ********* ok: [/cache/centos-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 07:28:44 +0000 (0:00:00.035) 0:02:40.691 ********* ok: [/cache/centos-8.qcow2] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 07:28:45 +0000 (0:00:00.779) 0:02:41.471 ********* included: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.storage : check if the COPR support packages should be installed] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:2 Thursday 21 July 2022 07:28:45 +0000 (0:00:00.044) 0:02:41.515 ********* TASK [linux-system-roles.storage : make sure COPR support packages are present] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:13 Thursday 21 July 2022 07:28:45 +0000 (0:00:00.030) 0:02:41.546 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable COPRs] ******************************* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:18 Thursday 21 July 2022 07:28:45 +0000 (0:00:00.036) 0:02:41.583 ********* TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 07:28:45 +0000 (0:00:00.031) 0:02:41.614 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 07:28:47 +0000 (0:00:01.935) 0:02:43.550 ********* ok: [/cache/centos-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" }, "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" }, "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" }, "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" }, "nm-priv-helper.service": { "name": "nm-priv-helper.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "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" }, "rngd-wake-threshold.service": { "name": "rngd-wake-threshold.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "rngd.service": { "name": "rngd.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-rf381112719dd48c0956a0ce6b345cb68.service": { "name": "run-rf381112719dd48c0956a0ce6b345cb68.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-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": "inactive", "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/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 07:28:49 +0000 (0:00:01.826) 0:02:45.376 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 07:28:49 +0000 (0:00:00.053) 0:02:45.430 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 07:28:49 +0000 (0:00:00.020) 0:02:45.450 ********* ok: [/cache/centos-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/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 07:28:50 +0000 (0:00:00.551) 0:02:46.002 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 07:28:50 +0000 (0:00:00.034) 0:02:46.036 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 07:28:50 +0000 (0:00:00.020) 0:02:46.057 ********* ok: [/cache/centos-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/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 07:28:50 +0000 (0:00:00.046) 0:02:46.103 ********* ok: [/cache/centos-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/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 07:28:50 +0000 (0:00:00.036) 0:02:46.140 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 07:28:50 +0000 (0:00:00.045) 0:02:46.186 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 07:28:50 +0000 (0:00:00.045) 0:02:46.231 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 07:28:50 +0000 (0:00:00.034) 0:02:46.265 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 07:28:50 +0000 (0:00:00.044) 0:02:46.310 ********* skipping: [/cache/centos-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/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 07:28:50 +0000 (0:00:00.029) 0:02:46.339 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658388411.8127015, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1643141385.117, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 135, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1643141019.537, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "3147672035", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 07:28:50 +0000 (0:00:00.526) 0:02:46.866 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 07:28:51 +0000 (0:00:00.021) 0:02:46.887 ********* ok: [/cache/centos-8.qcow2] META: role_complete for /cache/centos-8.qcow2 TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/tmpa3egnbq5/tests/tests_change_disk_mount.yml:13 Thursday 21 July 2022 07:28:51 +0000 (0:00:00.972) 0:02:47.859 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "packages_installed", "service_facts" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpa3egnbq5/tests/tests_change_disk_mount.yml:20 Thursday 21 July 2022 07:28:52 +0000 (0:00:00.064) 0:02:47.924 ********* included: /tmp/tmpa3egnbq5/tests/get_unused_disk.yml for /cache/centos-8.qcow2 TASK [Find unused disks in the system] ***************************************** task path: /tmp/tmpa3egnbq5/tests/get_unused_disk.yml:2 Thursday 21 July 2022 07:28:52 +0000 (0:00:00.064) 0:02:47.988 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "disks": [ "nvme2n1" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmpa3egnbq5/tests/get_unused_disk.yml:9 Thursday 21 July 2022 07:28:53 +0000 (0:00:01.514) 0:02:49.503 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "unused_disks": [ "nvme2n1" ] }, "changed": false } TASK [Exit playbook when there's not enough unused disks in the system] ******** task path: /tmp/tmpa3egnbq5/tests/get_unused_disk.yml:14 Thursday 21 July 2022 07:28:53 +0000 (0:00:00.035) 0:02:49.538 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print unused disks] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/get_unused_disk.yml:19 Thursday 21 July 2022 07:28:53 +0000 (0:00:00.038) 0:02:49.576 ********* ok: [/cache/centos-8.qcow2] => { "unused_disks": [ "nvme2n1" ] } TASK [Create a disk device mounted at "/opt/test1"] **************************** task path: /tmp/tmpa3egnbq5/tests/tests_change_disk_mount.yml:25 Thursday 21 July 2022 07:28:53 +0000 (0:00:00.035) 0:02:49.612 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 07:28:53 +0000 (0:00:00.042) 0:02:49.655 ********* included: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 07:28:53 +0000 (0:00:00.033) 0:02:49.689 ********* ok: [/cache/centos-8.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 07:28:54 +0000 (0:00:00.519) 0:02:50.208 ********* skipping: [/cache/centos-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-8.qcow2] => (item=CentOS_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/tmpa3egnbq5/tests/roles/linux-system-roles.storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [/cache/centos-8.qcow2] => (item=CentOS_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/tmpa3egnbq5/tests/roles/linux-system-roles.storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 07:28:54 +0000 (0:00:00.068) 0:02:50.276 ********* ok: [/cache/centos-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/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 07:28:54 +0000 (0:00:00.031) 0:02:50.308 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 07:28:54 +0000 (0:00:00.032) 0:02:50.341 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 07:28:54 +0000 (0:00:00.045) 0:02:50.386 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 07:28:54 +0000 (0:00:00.019) 0:02:50.406 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 07:28:54 +0000 (0:00:00.027) 0:02:50.433 ********* ok: [/cache/centos-8.qcow2] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 07:28:54 +0000 (0:00:00.032) 0:02:50.466 ********* ok: [/cache/centos-8.qcow2] => { "storage_volumes": [ { "disks": [ "nvme2n1" ], "mount_point": "/opt/test1", "name": "test1", "type": "disk" } ] } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 07:28:54 +0000 (0:00:00.034) 0:02:50.500 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 07:28:54 +0000 (0:00:00.025) 0:02:50.526 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 07:28:54 +0000 (0:00:00.026) 0:02:50.552 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 07:28:54 +0000 (0:00:00.025) 0:02:50.578 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 07:28:54 +0000 (0:00:00.025) 0:02:50.603 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 07:28:54 +0000 (0:00:00.079) 0:02:50.682 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 07:28:54 +0000 (0:00:00.021) 0:02:50.704 ********* changed: [/cache/centos-8.qcow2] => { "actions": [ { "action": "create format", "device": "/dev/nvme2n1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/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": "UUID=672c7340-44f6-4527-a5ca-f099e42f13d6", "state": "mounted" } ], "packages": [ "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/nvme2n1", "_kernel_device": "/dev/nvme2n1", "_mount_id": "UUID=672c7340-44f6-4527-a5ca-f099e42f13d6", "_raw_device": "/dev/nvme2n1", "_raw_kernel_device": "/dev/nvme2n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme2n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 07:28:55 +0000 (0:00:01.171) 0:02:51.875 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 07:28:56 +0000 (0:00:00.036) 0:02:51.912 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 07:28:56 +0000 (0:00:00.020) 0:02:51.933 ********* ok: [/cache/centos-8.qcow2] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/nvme2n1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/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": "UUID=672c7340-44f6-4527-a5ca-f099e42f13d6", "state": "mounted" } ], "packages": [ "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/nvme2n1", "_kernel_device": "/dev/nvme2n1", "_mount_id": "UUID=672c7340-44f6-4527-a5ca-f099e42f13d6", "_raw_device": "/dev/nvme2n1", "_raw_kernel_device": "/dev/nvme2n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme2n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 07:28:56 +0000 (0:00:00.036) 0:02:51.969 ********* ok: [/cache/centos-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/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 07:28:56 +0000 (0:00:00.035) 0:02:52.004 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/nvme2n1", "_kernel_device": "/dev/nvme2n1", "_mount_id": "UUID=672c7340-44f6-4527-a5ca-f099e42f13d6", "_raw_device": "/dev/nvme2n1", "_raw_kernel_device": "/dev/nvme2n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme2n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 07:28:56 +0000 (0:00:00.034) 0:02:52.039 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 07:28:56 +0000 (0:00:00.035) 0:02:52.075 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 07:28:57 +0000 (0:00:00.872) 0:02:52.948 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-8.qcow2] => (item={'src': 'UUID=672c7340-44f6-4527-a5ca-f099e42f13d6', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=672c7340-44f6-4527-a5ca-f099e42f13d6", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "UUID=672c7340-44f6-4527-a5ca-f099e42f13d6" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 07:28:57 +0000 (0:00:00.558) 0:02:53.506 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 07:28:58 +0000 (0:00:00.614) 0:02:54.121 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658388411.8127015, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1643141385.117, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 135, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1643141019.537, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "3147672035", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 07:28:58 +0000 (0:00:00.385) 0:02:54.506 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 07:28:58 +0000 (0:00:00.025) 0:02:54.532 ********* ok: [/cache/centos-8.qcow2] META: role_complete for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpa3egnbq5/tests/tests_change_disk_mount.yml:35 Thursday 21 July 2022 07:28:59 +0000 (0:00:00.936) 0:02:55.468 ********* included: /tmp/tmpa3egnbq5/tests/verify-role-results.yml for /cache/centos-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:1 Thursday 21 July 2022 07:28:59 +0000 (0:00:00.039) 0:02:55.508 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:6 Thursday 21 July 2022 07:28:59 +0000 (0:00:00.036) 0:02:55.544 ********* ok: [/cache/centos-8.qcow2] => { "_storage_volumes_list": [ { "_device": "/dev/nvme2n1", "_kernel_device": "/dev/nvme2n1", "_mount_id": "UUID=672c7340-44f6-4527-a5ca-f099e42f13d6", "_raw_device": "/dev/nvme2n1", "_raw_kernel_device": "/dev/nvme2n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme2n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:14 Thursday 21 July 2022 07:28:59 +0000 (0:00:00.082) 0:02:55.627 ********* ok: [/cache/centos-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": "xfs", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "672c7340-44f6-4527-a5ca-f099e42f13d6" }, "/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-07-25-43-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "10G", "type": "partition", "uuid": "395b9844-e404-4857-afbb-c6edccaf72f3" }, "/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/tmpa3egnbq5/tests/verify-role-results.yml:19 Thursday 21 July 2022 07:29:01 +0000 (0:00:01.506) 0:02:57.133 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003201", "end": "2022-07-21 07:29:01.768449", "rc": 0, "start": "2022-07-21 07:29:01.765248" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jan 25 20:03:39 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=395b9844-e404-4857-afbb-c6edccaf72f3 / xfs defaults 0 0 UUID=672c7340-44f6-4527-a5ca-f099e42f13d6 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:24 Thursday 21 July 2022 07:29:01 +0000 (0:00:00.403) 0:02:57.537 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003022", "end": "2022-07-21 07:29:02.135149", "failed_when_result": false, "rc": 0, "start": "2022-07-21 07:29:02.132127" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:33 Thursday 21 July 2022 07:29:02 +0000 (0:00:00.367) 0:02:57.905 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:43 Thursday 21 July 2022 07:29:02 +0000 (0:00:00.020) 0:02:57.925 ********* included: /tmp/tmpa3egnbq5/tests/test-verify-volume.yml for /cache/centos-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': 10737418240, 'state': 'present', 'type': 'disk', 'disks': ['nvme2n1'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_chunk_size': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': [], '_device': '/dev/nvme2n1', '_raw_device': '/dev/nvme2n1', '_mount_id': 'UUID=672c7340-44f6-4527-a5ca-f099e42f13d6', '_kernel_device': '/dev/nvme2n1', '_raw_kernel_device': '/dev/nvme2n1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume.yml:2 Thursday 21 July 2022 07:29:02 +0000 (0:00:00.056) 0:02:57.982 ********* ok: [/cache/centos-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/tmpa3egnbq5/tests/test-verify-volume.yml:10 Thursday 21 July 2022 07:29:02 +0000 (0:00:00.045) 0:02:58.028 ********* included: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml for /cache/centos-8.qcow2 => (item=mount) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml for /cache/centos-8.qcow2 => (item=fstab) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-fs.yml for /cache/centos-8.qcow2 => (item=fs) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml for /cache/centos-8.qcow2 => (item=device) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml for /cache/centos-8.qcow2 => (item=encryption) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml for /cache/centos-8.qcow2 => (item=md) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml for /cache/centos-8.qcow2 => (item=size) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml for /cache/centos-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 07:29:02 +0000 (0:00:00.076) 0:02:58.105 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/nvme2n1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 07:29:02 +0000 (0:00:00.038) 0:02:58.143 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2592358, "block_size": 4096, "block_total": 2618880, "block_used": 26522, "device": "/dev/nvme2n1", "fstype": "xfs", "inode_available": 5242877, "inode_total": 5242880, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 10618298368, "size_total": 10726932480, "uuid": "672c7340-44f6-4527-a5ca-f099e42f13d6" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2592358, "block_size": 4096, "block_total": 2618880, "block_used": 26522, "device": "/dev/nvme2n1", "fstype": "xfs", "inode_available": 5242877, "inode_total": 5242880, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 10618298368, "size_total": 10726932480, "uuid": "672c7340-44f6-4527-a5ca-f099e42f13d6" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 07:29:02 +0000 (0:00:00.053) 0:02:58.196 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 07:29:02 +0000 (0:00:00.048) 0:02:58.245 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 07:29:02 +0000 (0:00:00.045) 0:02:58.291 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 07:29:02 +0000 (0:00:00.048) 0:02:58.339 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 07:29:02 +0000 (0:00:00.022) 0:02:58.362 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 07:29:02 +0000 (0:00:00.023) 0:02:58.385 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 07:29:02 +0000 (0:00:00.022) 0:02:58.408 ********* ok: [/cache/centos-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/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 07:29:02 +0000 (0:00:00.033) 0:02:58.441 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "UUID=672c7340-44f6-4527-a5ca-f099e42f13d6 " ], "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/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 07:29:02 +0000 (0:00:00.062) 0:02:58.504 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 07:29:02 +0000 (0:00:00.045) 0:02:58.550 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 07:29:02 +0000 (0:00:00.047) 0:02:58.598 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 07:29:02 +0000 (0:00:00.035) 0:02:58.633 ********* ok: [/cache/centos-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/tmpa3egnbq5/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 07:29:02 +0000 (0:00:00.033) 0:02:58.666 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 07:29:02 +0000 (0:00:00.038) 0:02:58.705 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 07:29:02 +0000 (0:00:00.042) 0:02:58.747 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658388536.0607016, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658388536.0607016, "dev": 6, "device_type": 66304, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1635, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658388536.0607016, "nlink": 1, "path": "/dev/nvme2n1", "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/tmpa3egnbq5/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 07:29:03 +0000 (0:00:00.373) 0:02:59.120 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 07:29:03 +0000 (0:00:00.063) 0:02:59.183 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 07:29:03 +0000 (0:00:00.035) 0:02:59.219 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "st_volume_type": "disk" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 07:29:03 +0000 (0:00:00.034) 0:02:59.254 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 07:29:03 +0000 (0:00:00.023) 0:02:59.277 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 07:29:03 +0000 (0:00:00.034) 0:02:59.312 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 07:29:03 +0000 (0:00:00.021) 0:02:59.334 ********* changed: [/cache/centos-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: cryptsetup-libs-2.3.7-2.el8.x86_64", "Installed: cryptsetup-2.3.7-2.el8.x86_64", "Removed: cryptsetup-libs-2.3.3-4.el8.x86_64" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 07:29:06 +0000 (0:00:03.434) 0:03:02.768 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 07:29:06 +0000 (0:00:00.028) 0:03:02.796 ********* skipping: [/cache/centos-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/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 07:29:06 +0000 (0:00:00.025) 0:03:02.822 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 07:29:06 +0000 (0:00:00.049) 0:03:02.872 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 07:29:07 +0000 (0:00:00.023) 0:03:02.895 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 07:29:07 +0000 (0:00:00.023) 0:03:02.919 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 07:29:07 +0000 (0:00:00.023) 0:03:02.942 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 07:29:07 +0000 (0:00:00.022) 0:03:02.965 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 07:29:07 +0000 (0:00:00.022) 0:03:02.988 ********* ok: [/cache/centos-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/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 07:29:07 +0000 (0:00:00.050) 0:03:03.038 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 07:29:07 +0000 (0:00:00.046) 0:03:03.085 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 07:29:07 +0000 (0:00:00.034) 0:03:03.119 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 07:29:07 +0000 (0:00:00.033) 0:03:03.152 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 07:29:07 +0000 (0:00:00.036) 0:03:03.189 ********* ok: [/cache/centos-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/tmpa3egnbq5/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 07:29:07 +0000 (0:00:00.032) 0:03:03.222 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 07:29:07 +0000 (0:00:00.036) 0:03:03.258 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 07:29:07 +0000 (0:00:00.036) 0:03:03.294 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 07:29:07 +0000 (0:00:00.036) 0:03:03.331 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 07:29:07 +0000 (0:00:00.034) 0:03:03.366 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 07:29:07 +0000 (0:00:00.035) 0:03:03.402 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 07:29:07 +0000 (0:00:00.034) 0:03:03.436 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 07:29:07 +0000 (0:00:00.035) 0:03:03.472 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 07:29:07 +0000 (0:00:00.022) 0:03:03.495 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 07:29:07 +0000 (0:00:00.034) 0:03:03.529 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 07:29:07 +0000 (0:00:00.035) 0:03:03.564 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 07:29:07 +0000 (0:00:00.089) 0:03:03.654 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 07:29:07 +0000 (0:00:00.035) 0:03:03.689 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 07:29:07 +0000 (0:00:00.034) 0:03:03.724 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 07:29:07 +0000 (0:00:00.035) 0:03:03.759 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 07:29:07 +0000 (0:00:00.036) 0:03:03.796 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 07:29:07 +0000 (0:00:00.035) 0:03:03.831 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 07:29:07 +0000 (0:00:00.035) 0:03:03.867 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 07:29:08 +0000 (0:00:00.035) 0:03:03.902 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 07:29:08 +0000 (0:00:00.023) 0:03:03.926 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 07:29:08 +0000 (0:00:00.023) 0:03:03.949 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 07:29:08 +0000 (0:00:00.022) 0:03:03.972 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 07:29:08 +0000 (0:00:00.022) 0:03:03.995 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 07:29:08 +0000 (0:00:00.025) 0:03:04.020 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 07:29:08 +0000 (0:00:00.023) 0:03:04.044 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 07:29:08 +0000 (0:00:00.023) 0:03:04.067 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume.yml:16 Thursday 21 July 2022 07:29:08 +0000 (0:00:00.022) 0:03:04.090 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:53 Thursday 21 July 2022 07:29:08 +0000 (0:00:00.033) 0:03:04.123 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Change the disk device mount location to "/opt/test2"] ******************* task path: /tmp/tmpa3egnbq5/tests/tests_change_disk_mount.yml:37 Thursday 21 July 2022 07:29:08 +0000 (0:00:00.032) 0:03:04.156 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 07:29:08 +0000 (0:00:00.048) 0:03:04.204 ********* included: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 07:29:08 +0000 (0:00:00.033) 0:03:04.238 ********* ok: [/cache/centos-8.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 07:29:08 +0000 (0:00:00.525) 0:03:04.763 ********* skipping: [/cache/centos-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-8.qcow2] => (item=CentOS_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/tmpa3egnbq5/tests/roles/linux-system-roles.storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [/cache/centos-8.qcow2] => (item=CentOS_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/tmpa3egnbq5/tests/roles/linux-system-roles.storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 07:29:08 +0000 (0:00:00.068) 0:03:04.831 ********* ok: [/cache/centos-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/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 07:29:08 +0000 (0:00:00.032) 0:03:04.864 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 07:29:09 +0000 (0:00:00.030) 0:03:04.894 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 07:29:09 +0000 (0:00:00.045) 0:03:04.940 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 07:29:09 +0000 (0:00:00.020) 0:03:04.961 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 07:29:09 +0000 (0:00:00.026) 0:03:04.987 ********* ok: [/cache/centos-8.qcow2] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 07:29:09 +0000 (0:00:00.034) 0:03:05.021 ********* ok: [/cache/centos-8.qcow2] => { "storage_volumes": [ { "disks": [ "nvme2n1" ], "mount_point": "/opt/test2", "name": "test1", "type": "disk" } ] } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 07:29:09 +0000 (0:00:00.039) 0:03:05.061 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 07:29:09 +0000 (0:00:00.030) 0:03:05.091 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 07:29:09 +0000 (0:00:00.026) 0:03:05.118 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 07:29:09 +0000 (0:00:00.026) 0:03:05.144 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 07:29:09 +0000 (0:00:00.026) 0:03:05.171 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 07:29:09 +0000 (0:00:00.093) 0:03:05.264 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 07:29:09 +0000 (0:00:00.020) 0:03:05.285 ********* ok: [/cache/centos-8.qcow2] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "path": "/opt/test1", "state": "absent" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "UUID=672c7340-44f6-4527-a5ca-f099e42f13d6", "state": "mounted" } ], "packages": [ "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/nvme2n1", "_kernel_device": "/dev/nvme2n1", "_mount_id": "UUID=672c7340-44f6-4527-a5ca-f099e42f13d6", "_raw_device": "/dev/nvme2n1", "_raw_kernel_device": "/dev/nvme2n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme2n1" ], "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/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 07:29:10 +0000 (0:00:01.020) 0:03:06.305 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 07:29:10 +0000 (0:00:00.035) 0:03:06.341 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 07:29:10 +0000 (0:00:00.020) 0:03:06.361 ********* ok: [/cache/centos-8.qcow2] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "path": "/opt/test1", "state": "absent" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "UUID=672c7340-44f6-4527-a5ca-f099e42f13d6", "state": "mounted" } ], "packages": [ "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/nvme2n1", "_kernel_device": "/dev/nvme2n1", "_mount_id": "UUID=672c7340-44f6-4527-a5ca-f099e42f13d6", "_raw_device": "/dev/nvme2n1", "_raw_kernel_device": "/dev/nvme2n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme2n1" ], "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/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 07:29:10 +0000 (0:00:00.037) 0:03:06.399 ********* ok: [/cache/centos-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/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 07:29:10 +0000 (0:00:00.036) 0:03:06.435 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/nvme2n1", "_kernel_device": "/dev/nvme2n1", "_mount_id": "UUID=672c7340-44f6-4527-a5ca-f099e42f13d6", "_raw_device": "/dev/nvme2n1", "_raw_kernel_device": "/dev/nvme2n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme2n1" ], "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/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 07:29:10 +0000 (0:00:00.043) 0:03:06.479 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-8.qcow2] => (item={'path': '/opt/test1', 'state': 'absent'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "mount_info": { "path": "/opt/test1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 07:29:11 +0000 (0:00:00.432) 0:03:06.912 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 07:29:11 +0000 (0:00:00.629) 0:03:07.541 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-8.qcow2] => (item={'src': 'UUID=672c7340-44f6-4527-a5ca-f099e42f13d6', 'path': '/opt/test2', '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/test2", "src": "UUID=672c7340-44f6-4527-a5ca-f099e42f13d6", "state": "mounted" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "UUID=672c7340-44f6-4527-a5ca-f099e42f13d6" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 07:29:12 +0000 (0:00:00.417) 0:03:07.958 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 07:29:12 +0000 (0:00:00.604) 0:03:08.563 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658388411.8127015, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1643141385.117, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 135, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1643141019.537, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "3147672035", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 07:29:13 +0000 (0:00:00.373) 0:03:08.936 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 07:29:13 +0000 (0:00:00.021) 0:03:08.958 ********* ok: [/cache/centos-8.qcow2] META: role_complete for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpa3egnbq5/tests/tests_change_disk_mount.yml:47 Thursday 21 July 2022 07:29:14 +0000 (0:00:00.929) 0:03:09.887 ********* included: /tmp/tmpa3egnbq5/tests/verify-role-results.yml for /cache/centos-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:1 Thursday 21 July 2022 07:29:14 +0000 (0:00:00.040) 0:03:09.928 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:6 Thursday 21 July 2022 07:29:14 +0000 (0:00:00.033) 0:03:09.962 ********* ok: [/cache/centos-8.qcow2] => { "_storage_volumes_list": [ { "_device": "/dev/nvme2n1", "_kernel_device": "/dev/nvme2n1", "_mount_id": "UUID=672c7340-44f6-4527-a5ca-f099e42f13d6", "_raw_device": "/dev/nvme2n1", "_raw_kernel_device": "/dev/nvme2n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme2n1" ], "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/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:14 Thursday 21 July 2022 07:29:14 +0000 (0:00:00.094) 0:03:10.056 ********* ok: [/cache/centos-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": "xfs", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "672c7340-44f6-4527-a5ca-f099e42f13d6" }, "/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-07-25-43-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "10G", "type": "partition", "uuid": "395b9844-e404-4857-afbb-c6edccaf72f3" }, "/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/tmpa3egnbq5/tests/verify-role-results.yml:19 Thursday 21 July 2022 07:29:14 +0000 (0:00:00.408) 0:03:10.465 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003290", "end": "2022-07-21 07:29:15.068063", "rc": 0, "start": "2022-07-21 07:29:15.064773" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jan 25 20:03:39 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=395b9844-e404-4857-afbb-c6edccaf72f3 / xfs defaults 0 0 UUID=672c7340-44f6-4527-a5ca-f099e42f13d6 /opt/test2 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:24 Thursday 21 July 2022 07:29:14 +0000 (0:00:00.374) 0:03:10.839 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002864", "end": "2022-07-21 07:29:15.438427", "failed_when_result": false, "rc": 0, "start": "2022-07-21 07:29:15.435563" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:33 Thursday 21 July 2022 07:29:15 +0000 (0:00:00.369) 0:03:11.209 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:43 Thursday 21 July 2022 07:29:15 +0000 (0:00:00.020) 0:03:11.229 ********* included: /tmp/tmpa3egnbq5/tests/test-verify-volume.yml for /cache/centos-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/test2', 'name': 'test1', 'raid_level': None, 'size': 10737418240, 'state': 'present', 'type': 'disk', 'disks': ['nvme2n1'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_chunk_size': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': [], '_device': '/dev/nvme2n1', '_raw_device': '/dev/nvme2n1', '_mount_id': 'UUID=672c7340-44f6-4527-a5ca-f099e42f13d6', '_kernel_device': '/dev/nvme2n1', '_raw_kernel_device': '/dev/nvme2n1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume.yml:2 Thursday 21 July 2022 07:29:15 +0000 (0:00:00.056) 0:03:11.286 ********* ok: [/cache/centos-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/tmpa3egnbq5/tests/test-verify-volume.yml:10 Thursday 21 July 2022 07:29:15 +0000 (0:00:00.049) 0:03:11.335 ********* included: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml for /cache/centos-8.qcow2 => (item=mount) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml for /cache/centos-8.qcow2 => (item=fstab) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-fs.yml for /cache/centos-8.qcow2 => (item=fs) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml for /cache/centos-8.qcow2 => (item=device) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml for /cache/centos-8.qcow2 => (item=encryption) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml for /cache/centos-8.qcow2 => (item=md) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml for /cache/centos-8.qcow2 => (item=size) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml for /cache/centos-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 07:29:15 +0000 (0:00:00.072) 0:03:11.408 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/nvme2n1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 07:29:15 +0000 (0:00:00.038) 0:03:11.447 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2592358, "block_size": 4096, "block_total": 2618880, "block_used": 26522, "device": "/dev/nvme2n1", "fstype": "xfs", "inode_available": 5242877, "inode_total": 5242880, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 10618298368, "size_total": 10726932480, "uuid": "672c7340-44f6-4527-a5ca-f099e42f13d6" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2592358, "block_size": 4096, "block_total": 2618880, "block_used": 26522, "device": "/dev/nvme2n1", "fstype": "xfs", "inode_available": 5242877, "inode_total": 5242880, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 10618298368, "size_total": 10726932480, "uuid": "672c7340-44f6-4527-a5ca-f099e42f13d6" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 07:29:15 +0000 (0:00:00.055) 0:03:11.502 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 07:29:15 +0000 (0:00:00.049) 0:03:11.551 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 07:29:15 +0000 (0:00:00.045) 0:03:11.597 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 07:29:15 +0000 (0:00:00.049) 0:03:11.646 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 07:29:15 +0000 (0:00:00.023) 0:03:11.670 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 07:29:15 +0000 (0:00:00.028) 0:03:11.698 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 07:29:15 +0000 (0:00:00.024) 0:03:11.722 ********* ok: [/cache/centos-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/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 07:29:15 +0000 (0:00:00.033) 0:03:11.756 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "UUID=672c7340-44f6-4527-a5ca-f099e42f13d6 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test2 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test2 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 07:29:15 +0000 (0:00:00.061) 0:03:11.817 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 07:29:15 +0000 (0:00:00.047) 0:03:11.865 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 07:29:16 +0000 (0:00:00.048) 0:03:11.914 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 07:29:16 +0000 (0:00:00.034) 0:03:11.949 ********* ok: [/cache/centos-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/tmpa3egnbq5/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 07:29:16 +0000 (0:00:00.034) 0:03:11.983 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 07:29:16 +0000 (0:00:00.036) 0:03:12.019 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 07:29:16 +0000 (0:00:00.071) 0:03:12.090 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658388536.0607016, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658388536.0607016, "dev": 6, "device_type": 66304, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1635, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658388536.0607016, "nlink": 1, "path": "/dev/nvme2n1", "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/tmpa3egnbq5/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 07:29:16 +0000 (0:00:00.406) 0:03:12.497 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 07:29:16 +0000 (0:00:00.071) 0:03:12.569 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 07:29:16 +0000 (0:00:00.103) 0:03:12.672 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "st_volume_type": "disk" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 07:29:16 +0000 (0:00:00.034) 0:03:12.707 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 07:29:16 +0000 (0:00:00.024) 0:03:12.731 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 07:29:16 +0000 (0:00:00.040) 0:03:12.772 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 07:29:16 +0000 (0:00:00.024) 0:03:12.796 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 07:29:18 +0000 (0:00:01.883) 0:03:14.679 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 07:29:18 +0000 (0:00:00.022) 0:03:14.702 ********* skipping: [/cache/centos-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/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 07:29:18 +0000 (0:00:00.022) 0:03:14.725 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 07:29:18 +0000 (0:00:00.050) 0:03:14.775 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 07:29:18 +0000 (0:00:00.023) 0:03:14.798 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 07:29:18 +0000 (0:00:00.022) 0:03:14.821 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 07:29:18 +0000 (0:00:00.022) 0:03:14.843 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 07:29:18 +0000 (0:00:00.024) 0:03:14.867 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 07:29:19 +0000 (0:00:00.022) 0:03:14.890 ********* ok: [/cache/centos-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/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 07:29:19 +0000 (0:00:00.050) 0:03:14.940 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 07:29:19 +0000 (0:00:00.049) 0:03:14.990 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 07:29:19 +0000 (0:00:00.037) 0:03:15.027 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 07:29:19 +0000 (0:00:00.034) 0:03:15.062 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 07:29:19 +0000 (0:00:00.036) 0:03:15.099 ********* ok: [/cache/centos-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/tmpa3egnbq5/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 07:29:19 +0000 (0:00:00.037) 0:03:15.136 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 07:29:19 +0000 (0:00:00.039) 0:03:15.176 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 07:29:19 +0000 (0:00:00.036) 0:03:15.212 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 07:29:19 +0000 (0:00:00.036) 0:03:15.249 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 07:29:19 +0000 (0:00:00.035) 0:03:15.284 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 07:29:19 +0000 (0:00:00.048) 0:03:15.333 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 07:29:19 +0000 (0:00:00.036) 0:03:15.369 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 07:29:19 +0000 (0:00:00.036) 0:03:15.406 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 07:29:19 +0000 (0:00:00.028) 0:03:15.434 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 07:29:19 +0000 (0:00:00.039) 0:03:15.473 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 07:29:19 +0000 (0:00:00.035) 0:03:15.509 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 07:29:19 +0000 (0:00:00.035) 0:03:15.544 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 07:29:19 +0000 (0:00:00.034) 0:03:15.579 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 07:29:19 +0000 (0:00:00.039) 0:03:15.619 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 07:29:19 +0000 (0:00:00.035) 0:03:15.654 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 07:29:19 +0000 (0:00:00.035) 0:03:15.689 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 07:29:19 +0000 (0:00:00.035) 0:03:15.724 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 07:29:19 +0000 (0:00:00.036) 0:03:15.761 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 07:29:19 +0000 (0:00:00.033) 0:03:15.795 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 07:29:19 +0000 (0:00:00.023) 0:03:15.818 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 07:29:19 +0000 (0:00:00.023) 0:03:15.841 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 07:29:19 +0000 (0:00:00.024) 0:03:15.865 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 07:29:20 +0000 (0:00:00.022) 0:03:15.888 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 07:29:20 +0000 (0:00:00.022) 0:03:15.911 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 07:29:20 +0000 (0:00:00.022) 0:03:15.934 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 07:29:20 +0000 (0:00:00.023) 0:03:15.957 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume.yml:16 Thursday 21 July 2022 07:29:20 +0000 (0:00:00.022) 0:03:15.980 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:53 Thursday 21 July 2022 07:29:20 +0000 (0:00:00.063) 0:03:16.044 ********* ok: [/cache/centos-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/tmpa3egnbq5/tests/tests_change_disk_mount.yml:49 Thursday 21 July 2022 07:29:20 +0000 (0:00:00.067) 0:03:16.111 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 07:29:20 +0000 (0:00:00.051) 0:03:16.162 ********* included: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 07:29:20 +0000 (0:00:00.064) 0:03:16.226 ********* ok: [/cache/centos-8.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 07:29:20 +0000 (0:00:00.530) 0:03:16.757 ********* skipping: [/cache/centos-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-8.qcow2] => (item=CentOS_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/tmpa3egnbq5/tests/roles/linux-system-roles.storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [/cache/centos-8.qcow2] => (item=CentOS_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/tmpa3egnbq5/tests/roles/linux-system-roles.storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 07:29:20 +0000 (0:00:00.068) 0:03:16.825 ********* ok: [/cache/centos-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/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 07:29:20 +0000 (0:00:00.032) 0:03:16.857 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 07:29:21 +0000 (0:00:00.032) 0:03:16.890 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 07:29:21 +0000 (0:00:00.044) 0:03:16.935 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 07:29:21 +0000 (0:00:00.019) 0:03:16.954 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 07:29:21 +0000 (0:00:00.026) 0:03:16.981 ********* ok: [/cache/centos-8.qcow2] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 07:29:21 +0000 (0:00:00.033) 0:03:17.014 ********* ok: [/cache/centos-8.qcow2] => { "storage_volumes": [ { "disks": [ "nvme2n1" ], "mount_point": "/opt/test2", "name": "test1", "type": "disk" } ] } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 07:29:21 +0000 (0:00:00.038) 0:03:17.053 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 07:29:21 +0000 (0:00:00.028) 0:03:17.082 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 07:29:21 +0000 (0:00:00.030) 0:03:17.112 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 07:29:21 +0000 (0:00:00.028) 0:03:17.141 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 07:29:21 +0000 (0:00:00.027) 0:03:17.168 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 07:29:21 +0000 (0:00:00.055) 0:03:17.224 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 07:29:21 +0000 (0:00:00.021) 0:03:17.246 ********* ok: [/cache/centos-8.qcow2] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/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/test2", "src": "UUID=672c7340-44f6-4527-a5ca-f099e42f13d6", "state": "mounted" } ], "packages": [ "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/nvme2n1", "_kernel_device": "/dev/nvme2n1", "_mount_id": "UUID=672c7340-44f6-4527-a5ca-f099e42f13d6", "_raw_device": "/dev/nvme2n1", "_raw_kernel_device": "/dev/nvme2n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme2n1" ], "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/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 07:29:22 +0000 (0:00:01.039) 0:03:18.286 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 07:29:22 +0000 (0:00:00.035) 0:03:18.321 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 07:29:22 +0000 (0:00:00.021) 0:03:18.343 ********* ok: [/cache/centos-8.qcow2] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/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/test2", "src": "UUID=672c7340-44f6-4527-a5ca-f099e42f13d6", "state": "mounted" } ], "packages": [ "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/nvme2n1", "_kernel_device": "/dev/nvme2n1", "_mount_id": "UUID=672c7340-44f6-4527-a5ca-f099e42f13d6", "_raw_device": "/dev/nvme2n1", "_raw_kernel_device": "/dev/nvme2n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme2n1" ], "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/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 07:29:22 +0000 (0:00:00.035) 0:03:18.378 ********* ok: [/cache/centos-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/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 07:29:22 +0000 (0:00:00.034) 0:03:18.412 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/nvme2n1", "_kernel_device": "/dev/nvme2n1", "_mount_id": "UUID=672c7340-44f6-4527-a5ca-f099e42f13d6", "_raw_device": "/dev/nvme2n1", "_raw_kernel_device": "/dev/nvme2n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme2n1" ], "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/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 07:29:22 +0000 (0:00:00.065) 0:03:18.478 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 07:29:22 +0000 (0:00:00.038) 0:03:18.516 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 07:29:23 +0000 (0:00:00.618) 0:03:19.135 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/centos-8.qcow2] => (item={'src': 'UUID=672c7340-44f6-4527-a5ca-f099e42f13d6', 'path': '/opt/test2', '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/test2", "src": "UUID=672c7340-44f6-4527-a5ca-f099e42f13d6", "state": "mounted" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "UUID=672c7340-44f6-4527-a5ca-f099e42f13d6" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 07:29:23 +0000 (0:00:00.464) 0:03:19.599 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 07:29:24 +0000 (0:00:00.640) 0:03:20.240 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658388411.8127015, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1643141385.117, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 135, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1643141019.537, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "3147672035", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 07:29:24 +0000 (0:00:00.379) 0:03:20.619 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 07:29:24 +0000 (0:00:00.021) 0:03:20.641 ********* ok: [/cache/centos-8.qcow2] META: role_complete for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpa3egnbq5/tests/tests_change_disk_mount.yml:59 Thursday 21 July 2022 07:29:25 +0000 (0:00:00.985) 0:03:21.626 ********* included: /tmp/tmpa3egnbq5/tests/verify-role-results.yml for /cache/centos-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:1 Thursday 21 July 2022 07:29:25 +0000 (0:00:00.042) 0:03:21.669 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:6 Thursday 21 July 2022 07:29:25 +0000 (0:00:00.038) 0:03:21.708 ********* ok: [/cache/centos-8.qcow2] => { "_storage_volumes_list": [ { "_device": "/dev/nvme2n1", "_kernel_device": "/dev/nvme2n1", "_mount_id": "UUID=672c7340-44f6-4527-a5ca-f099e42f13d6", "_raw_device": "/dev/nvme2n1", "_raw_kernel_device": "/dev/nvme2n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme2n1" ], "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/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:14 Thursday 21 July 2022 07:29:25 +0000 (0:00:00.049) 0:03:21.757 ********* ok: [/cache/centos-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": "xfs", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "672c7340-44f6-4527-a5ca-f099e42f13d6" }, "/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-07-25-43-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "10G", "type": "partition", "uuid": "395b9844-e404-4857-afbb-c6edccaf72f3" }, "/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/tmpa3egnbq5/tests/verify-role-results.yml:19 Thursday 21 July 2022 07:29:26 +0000 (0:00:00.395) 0:03:22.153 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002553", "end": "2022-07-21 07:29:26.763921", "rc": 0, "start": "2022-07-21 07:29:26.761368" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jan 25 20:03:39 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=395b9844-e404-4857-afbb-c6edccaf72f3 / xfs defaults 0 0 UUID=672c7340-44f6-4527-a5ca-f099e42f13d6 /opt/test2 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:24 Thursday 21 July 2022 07:29:26 +0000 (0:00:00.382) 0:03:22.536 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.004394", "end": "2022-07-21 07:29:27.153167", "failed_when_result": false, "rc": 0, "start": "2022-07-21 07:29:27.148773" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:33 Thursday 21 July 2022 07:29:27 +0000 (0:00:00.392) 0:03:22.928 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:43 Thursday 21 July 2022 07:29:27 +0000 (0:00:00.021) 0:03:22.950 ********* included: /tmp/tmpa3egnbq5/tests/test-verify-volume.yml for /cache/centos-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/test2', 'name': 'test1', 'raid_level': None, 'size': 10737418240, 'state': 'present', 'type': 'disk', 'disks': ['nvme2n1'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_chunk_size': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': [], '_device': '/dev/nvme2n1', '_raw_device': '/dev/nvme2n1', '_mount_id': 'UUID=672c7340-44f6-4527-a5ca-f099e42f13d6', '_kernel_device': '/dev/nvme2n1', '_raw_kernel_device': '/dev/nvme2n1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume.yml:2 Thursday 21 July 2022 07:29:27 +0000 (0:00:00.055) 0:03:23.006 ********* ok: [/cache/centos-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/tmpa3egnbq5/tests/test-verify-volume.yml:10 Thursday 21 July 2022 07:29:27 +0000 (0:00:00.080) 0:03:23.086 ********* included: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml for /cache/centos-8.qcow2 => (item=mount) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml for /cache/centos-8.qcow2 => (item=fstab) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-fs.yml for /cache/centos-8.qcow2 => (item=fs) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml for /cache/centos-8.qcow2 => (item=device) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml for /cache/centos-8.qcow2 => (item=encryption) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml for /cache/centos-8.qcow2 => (item=md) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml for /cache/centos-8.qcow2 => (item=size) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml for /cache/centos-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 07:29:27 +0000 (0:00:00.099) 0:03:23.186 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/nvme2n1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 07:29:27 +0000 (0:00:00.038) 0:03:23.224 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2592358, "block_size": 4096, "block_total": 2618880, "block_used": 26522, "device": "/dev/nvme2n1", "fstype": "xfs", "inode_available": 5242877, "inode_total": 5242880, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 10618298368, "size_total": 10726932480, "uuid": "672c7340-44f6-4527-a5ca-f099e42f13d6" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2592358, "block_size": 4096, "block_total": 2618880, "block_used": 26522, "device": "/dev/nvme2n1", "fstype": "xfs", "inode_available": 5242877, "inode_total": 5242880, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 10618298368, "size_total": 10726932480, "uuid": "672c7340-44f6-4527-a5ca-f099e42f13d6" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 07:29:27 +0000 (0:00:00.054) 0:03:23.279 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 07:29:27 +0000 (0:00:00.049) 0:03:23.328 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 07:29:27 +0000 (0:00:00.047) 0:03:23.376 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 07:29:27 +0000 (0:00:00.049) 0:03:23.425 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 07:29:27 +0000 (0:00:00.022) 0:03:23.448 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 07:29:27 +0000 (0:00:00.023) 0:03:23.472 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 07:29:27 +0000 (0:00:00.022) 0:03:23.494 ********* ok: [/cache/centos-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/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 07:29:27 +0000 (0:00:00.032) 0:03:23.527 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "UUID=672c7340-44f6-4527-a5ca-f099e42f13d6 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test2 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test2 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 07:29:27 +0000 (0:00:00.059) 0:03:23.587 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 07:29:27 +0000 (0:00:00.049) 0:03:23.637 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 07:29:27 +0000 (0:00:00.050) 0:03:23.687 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 07:29:27 +0000 (0:00:00.036) 0:03:23.723 ********* ok: [/cache/centos-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/tmpa3egnbq5/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 07:29:27 +0000 (0:00:00.035) 0:03:23.759 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 07:29:27 +0000 (0:00:00.036) 0:03:23.796 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 07:29:27 +0000 (0:00:00.038) 0:03:23.834 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658388536.0607016, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658388536.0607016, "dev": 6, "device_type": 66304, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1635, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658388536.0607016, "nlink": 1, "path": "/dev/nvme2n1", "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/tmpa3egnbq5/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 07:29:28 +0000 (0:00:00.384) 0:03:24.219 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 07:29:28 +0000 (0:00:00.037) 0:03:24.256 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 07:29:28 +0000 (0:00:00.037) 0:03:24.294 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "st_volume_type": "disk" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 07:29:28 +0000 (0:00:00.035) 0:03:24.330 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 07:29:28 +0000 (0:00:00.023) 0:03:24.353 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 07:29:28 +0000 (0:00:00.039) 0:03:24.393 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 07:29:28 +0000 (0:00:00.023) 0:03:24.416 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 07:29:30 +0000 (0:00:01.938) 0:03:26.354 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 07:29:30 +0000 (0:00:00.023) 0:03:26.377 ********* skipping: [/cache/centos-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/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 07:29:30 +0000 (0:00:00.022) 0:03:26.400 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 07:29:30 +0000 (0:00:00.088) 0:03:26.488 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 07:29:30 +0000 (0:00:00.023) 0:03:26.512 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 07:29:30 +0000 (0:00:00.023) 0:03:26.535 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 07:29:30 +0000 (0:00:00.022) 0:03:26.558 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 07:29:30 +0000 (0:00:00.022) 0:03:26.580 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 07:29:30 +0000 (0:00:00.022) 0:03:26.603 ********* ok: [/cache/centos-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/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 07:29:30 +0000 (0:00:00.048) 0:03:26.651 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 07:29:30 +0000 (0:00:00.079) 0:03:26.731 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 07:29:30 +0000 (0:00:00.035) 0:03:26.766 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 07:29:30 +0000 (0:00:00.039) 0:03:26.806 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 07:29:30 +0000 (0:00:00.036) 0:03:26.842 ********* ok: [/cache/centos-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/tmpa3egnbq5/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 07:29:31 +0000 (0:00:00.067) 0:03:26.910 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 07:29:31 +0000 (0:00:00.036) 0:03:26.946 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 07:29:31 +0000 (0:00:00.067) 0:03:27.014 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 07:29:31 +0000 (0:00:00.034) 0:03:27.048 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 07:29:31 +0000 (0:00:00.034) 0:03:27.083 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 07:29:31 +0000 (0:00:00.035) 0:03:27.118 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 07:29:31 +0000 (0:00:00.034) 0:03:27.153 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 07:29:31 +0000 (0:00:00.034) 0:03:27.188 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 07:29:31 +0000 (0:00:00.022) 0:03:27.210 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 07:29:31 +0000 (0:00:00.035) 0:03:27.246 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 07:29:31 +0000 (0:00:00.034) 0:03:27.281 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 07:29:31 +0000 (0:00:00.035) 0:03:27.316 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 07:29:31 +0000 (0:00:00.035) 0:03:27.352 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 07:29:31 +0000 (0:00:00.037) 0:03:27.389 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 07:29:31 +0000 (0:00:00.035) 0:03:27.424 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 07:29:31 +0000 (0:00:00.034) 0:03:27.459 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 07:29:31 +0000 (0:00:00.034) 0:03:27.494 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 07:29:31 +0000 (0:00:00.036) 0:03:27.530 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 07:29:31 +0000 (0:00:00.033) 0:03:27.564 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 07:29:31 +0000 (0:00:00.023) 0:03:27.588 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 07:29:31 +0000 (0:00:00.023) 0:03:27.611 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 07:29:31 +0000 (0:00:00.024) 0:03:27.635 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 07:29:31 +0000 (0:00:00.022) 0:03:27.658 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 07:29:31 +0000 (0:00:00.022) 0:03:27.680 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 07:29:31 +0000 (0:00:00.023) 0:03:27.704 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 07:29:31 +0000 (0:00:00.024) 0:03:27.728 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume.yml:16 Thursday 21 July 2022 07:29:31 +0000 (0:00:00.022) 0:03:27.751 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:53 Thursday 21 July 2022 07:29:31 +0000 (0:00:00.034) 0:03:27.785 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Clean up] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/tests_change_disk_mount.yml:61 Thursday 21 July 2022 07:29:31 +0000 (0:00:00.034) 0:03:27.820 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 07:29:32 +0000 (0:00:00.059) 0:03:27.879 ********* included: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 07:29:32 +0000 (0:00:00.035) 0:03:27.914 ********* ok: [/cache/centos-8.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 07:29:32 +0000 (0:00:00.530) 0:03:28.445 ********* skipping: [/cache/centos-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-8.qcow2] => (item=CentOS_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/tmpa3egnbq5/tests/roles/linux-system-roles.storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [/cache/centos-8.qcow2] => (item=CentOS_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/tmpa3egnbq5/tests/roles/linux-system-roles.storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 07:29:32 +0000 (0:00:00.104) 0:03:28.549 ********* ok: [/cache/centos-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/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 07:29:32 +0000 (0:00:00.070) 0:03:28.619 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 07:29:32 +0000 (0:00:00.095) 0:03:28.714 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 07:29:32 +0000 (0:00:00.045) 0:03:28.760 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 07:29:32 +0000 (0:00:00.020) 0:03:28.781 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 07:29:32 +0000 (0:00:00.026) 0:03:28.808 ********* ok: [/cache/centos-8.qcow2] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 07:29:32 +0000 (0:00:00.034) 0:03:28.843 ********* ok: [/cache/centos-8.qcow2] => { "storage_volumes": [ { "disks": [ "nvme2n1" ], "mount_point": "/opt/test2", "name": "test1", "state": "absent", "type": "disk" } ] } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 07:29:33 +0000 (0:00:00.037) 0:03:28.880 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 07:29:33 +0000 (0:00:00.030) 0:03:28.910 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 07:29:33 +0000 (0:00:00.027) 0:03:28.938 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 07:29:33 +0000 (0:00:00.027) 0:03:28.965 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 07:29:33 +0000 (0:00:00.027) 0:03:28.992 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 07:29:33 +0000 (0:00:00.054) 0:03:29.047 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 07:29:33 +0000 (0:00:00.020) 0:03:29.068 ********* changed: [/cache/centos-8.qcow2] => { "actions": [ { "action": "destroy format", "device": "/dev/nvme2n1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test2", "src": "UUID=672c7340-44f6-4527-a5ca-f099e42f13d6", "state": "absent" } ], "packages": [ "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/nvme2n1", "_mount_id": "UUID=672c7340-44f6-4527-a5ca-f099e42f13d6", "_raw_device": "/dev/nvme2n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme2n1" ], "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/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 07:29:34 +0000 (0:00:01.189) 0:03:30.257 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 07:29:34 +0000 (0:00:00.039) 0:03:30.297 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 07:29:34 +0000 (0:00:00.022) 0:03:30.319 ********* ok: [/cache/centos-8.qcow2] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/nvme2n1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test2", "src": "UUID=672c7340-44f6-4527-a5ca-f099e42f13d6", "state": "absent" } ], "packages": [ "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/nvme2n1", "_mount_id": "UUID=672c7340-44f6-4527-a5ca-f099e42f13d6", "_raw_device": "/dev/nvme2n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme2n1" ], "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/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 07:29:34 +0000 (0:00:00.035) 0:03:30.354 ********* ok: [/cache/centos-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/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 07:29:34 +0000 (0:00:00.035) 0:03:30.390 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/nvme2n1", "_mount_id": "UUID=672c7340-44f6-4527-a5ca-f099e42f13d6", "_raw_device": "/dev/nvme2n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme2n1" ], "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/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 07:29:34 +0000 (0:00:00.037) 0:03:30.427 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-8.qcow2] => (item={'src': 'UUID=672c7340-44f6-4527-a5ca-f099e42f13d6', 'path': '/opt/test2', '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/test2", "src": "UUID=672c7340-44f6-4527-a5ca-f099e42f13d6", "state": "absent" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "UUID=672c7340-44f6-4527-a5ca-f099e42f13d6" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 07:29:34 +0000 (0:00:00.443) 0:03:30.871 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 07:29:35 +0000 (0:00:00.625) 0:03:31.496 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 07:29:35 +0000 (0:00:00.037) 0:03:31.534 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 07:29:36 +0000 (0:00:00.604) 0:03:32.139 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658388411.8127015, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1643141385.117, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 135, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1643141019.537, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "3147672035", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 07:29:36 +0000 (0:00:00.391) 0:03:32.530 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 07:29:36 +0000 (0:00:00.021) 0:03:32.551 ********* ok: [/cache/centos-8.qcow2] META: role_complete for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpa3egnbq5/tests/tests_change_disk_mount.yml:72 Thursday 21 July 2022 07:29:37 +0000 (0:00:00.965) 0:03:33.516 ********* included: /tmp/tmpa3egnbq5/tests/verify-role-results.yml for /cache/centos-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:1 Thursday 21 July 2022 07:29:37 +0000 (0:00:00.075) 0:03:33.592 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:6 Thursday 21 July 2022 07:29:37 +0000 (0:00:00.063) 0:03:33.655 ********* ok: [/cache/centos-8.qcow2] => { "_storage_volumes_list": [ { "_device": "/dev/nvme2n1", "_mount_id": "UUID=672c7340-44f6-4527-a5ca-f099e42f13d6", "_raw_device": "/dev/nvme2n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme2n1" ], "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/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:14 Thursday 21 July 2022 07:29:37 +0000 (0:00:00.048) 0:03:33.703 ********* ok: [/cache/centos-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-07-25-43-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "10G", "type": "partition", "uuid": "395b9844-e404-4857-afbb-c6edccaf72f3" }, "/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/tmpa3egnbq5/tests/verify-role-results.yml:19 Thursday 21 July 2022 07:29:38 +0000 (0:00:00.375) 0:03:34.079 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002937", "end": "2022-07-21 07:29:38.685196", "rc": 0, "start": "2022-07-21 07:29:38.682259" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jan 25 20:03:39 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=395b9844-e404-4857-afbb-c6edccaf72f3 / xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:24 Thursday 21 July 2022 07:29:38 +0000 (0:00:00.390) 0:03:34.469 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002897", "end": "2022-07-21 07:29:39.076092", "failed_when_result": false, "rc": 0, "start": "2022-07-21 07:29:39.073195" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:33 Thursday 21 July 2022 07:29:38 +0000 (0:00:00.379) 0:03:34.849 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:43 Thursday 21 July 2022 07:29:38 +0000 (0:00:00.020) 0:03:34.870 ********* included: /tmp/tmpa3egnbq5/tests/test-verify-volume.yml for /cache/centos-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/test2', 'name': 'test1', 'raid_level': None, 'size': 10737418240, 'state': 'absent', 'type': 'disk', 'disks': ['nvme2n1'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_chunk_size': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': [], '_device': '/dev/nvme2n1', '_raw_device': '/dev/nvme2n1', '_mount_id': 'UUID=672c7340-44f6-4527-a5ca-f099e42f13d6'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume.yml:2 Thursday 21 July 2022 07:29:39 +0000 (0:00:00.056) 0:03:34.927 ********* ok: [/cache/centos-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/tmpa3egnbq5/tests/test-verify-volume.yml:10 Thursday 21 July 2022 07:29:39 +0000 (0:00:00.055) 0:03:34.982 ********* included: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml for /cache/centos-8.qcow2 => (item=mount) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml for /cache/centos-8.qcow2 => (item=fstab) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-fs.yml for /cache/centos-8.qcow2 => (item=fs) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml for /cache/centos-8.qcow2 => (item=device) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml for /cache/centos-8.qcow2 => (item=encryption) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml for /cache/centos-8.qcow2 => (item=md) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml for /cache/centos-8.qcow2 => (item=size) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml for /cache/centos-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 07:29:39 +0000 (0:00:00.071) 0:03:35.054 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/nvme2n1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 07:29:39 +0000 (0:00:00.043) 0:03:35.098 ********* ok: [/cache/centos-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/tmpa3egnbq5/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 07:29:39 +0000 (0:00:00.055) 0:03:35.153 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 07:29:39 +0000 (0:00:00.023) 0:03:35.176 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 07:29:39 +0000 (0:00:00.047) 0:03:35.224 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 07:29:39 +0000 (0:00:00.038) 0:03:35.263 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 07:29:39 +0000 (0:00:00.023) 0:03:35.287 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 07:29:39 +0000 (0:00:00.022) 0:03:35.310 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 07:29:39 +0000 (0:00:00.023) 0:03:35.333 ********* ok: [/cache/centos-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/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 07:29:39 +0000 (0:00:00.035) 0:03:35.368 ********* ok: [/cache/centos-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/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 07:29:39 +0000 (0:00:00.060) 0:03:35.429 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 07:29:39 +0000 (0:00:00.023) 0:03:35.452 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 07:29:39 +0000 (0:00:00.050) 0:03:35.502 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 07:29:39 +0000 (0:00:00.039) 0:03:35.541 ********* ok: [/cache/centos-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/tmpa3egnbq5/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 07:29:39 +0000 (0:00:00.033) 0:03:35.574 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 07:29:39 +0000 (0:00:00.024) 0:03:35.598 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 07:29:39 +0000 (0:00:00.024) 0:03:35.622 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658388574.4217014, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658388574.4217014, "dev": 6, "device_type": 66304, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1635, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658388574.4217014, "nlink": 1, "path": "/dev/nvme2n1", "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/tmpa3egnbq5/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 07:29:40 +0000 (0:00:00.380) 0:03:36.003 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 07:29:40 +0000 (0:00:00.081) 0:03:36.085 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 07:29:40 +0000 (0:00:00.023) 0:03:36.109 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "st_volume_type": "disk" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 07:29:40 +0000 (0:00:00.075) 0:03:36.184 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 07:29:40 +0000 (0:00:00.023) 0:03:36.207 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 07:29:40 +0000 (0:00:00.022) 0:03:36.229 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 07:29:40 +0000 (0:00:00.023) 0:03:36.253 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 07:29:42 +0000 (0:00:01.889) 0:03:38.143 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 07:29:42 +0000 (0:00:00.023) 0:03:38.166 ********* skipping: [/cache/centos-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/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 07:29:42 +0000 (0:00:00.022) 0:03:38.188 ********* skipping: [/cache/centos-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/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 07:29:42 +0000 (0:00:00.022) 0:03:38.210 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 07:29:42 +0000 (0:00:00.022) 0:03:38.233 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 07:29:42 +0000 (0:00:00.022) 0:03:38.255 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 07:29:42 +0000 (0:00:00.022) 0:03:38.278 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 07:29:42 +0000 (0:00:00.023) 0:03:38.302 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 07:29:42 +0000 (0:00:00.022) 0:03:38.324 ********* ok: [/cache/centos-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/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 07:29:42 +0000 (0:00:00.050) 0:03:38.375 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 07:29:42 +0000 (0:00:00.050) 0:03:38.425 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 07:29:42 +0000 (0:00:00.039) 0:03:38.464 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 07:29:42 +0000 (0:00:00.034) 0:03:38.499 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 07:29:42 +0000 (0:00:00.035) 0:03:38.535 ********* ok: [/cache/centos-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/tmpa3egnbq5/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 07:29:42 +0000 (0:00:00.033) 0:03:38.568 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 07:29:42 +0000 (0:00:00.039) 0:03:38.608 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 07:29:42 +0000 (0:00:00.036) 0:03:38.644 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 07:29:42 +0000 (0:00:00.035) 0:03:38.679 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 07:29:42 +0000 (0:00:00.035) 0:03:38.715 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 07:29:42 +0000 (0:00:00.039) 0:03:38.754 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 07:29:42 +0000 (0:00:00.034) 0:03:38.789 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 07:29:42 +0000 (0:00:00.034) 0:03:38.823 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 07:29:42 +0000 (0:00:00.022) 0:03:38.845 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 07:29:43 +0000 (0:00:00.038) 0:03:38.884 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 07:29:43 +0000 (0:00:00.036) 0:03:38.920 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 07:29:43 +0000 (0:00:00.034) 0:03:38.955 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 07:29:43 +0000 (0:00:00.035) 0:03:38.991 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 07:29:43 +0000 (0:00:00.039) 0:03:39.030 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 07:29:43 +0000 (0:00:00.035) 0:03:39.066 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 07:29:43 +0000 (0:00:00.036) 0:03:39.102 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 07:29:43 +0000 (0:00:00.035) 0:03:39.137 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 07:29:43 +0000 (0:00:00.037) 0:03:39.174 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 07:29:43 +0000 (0:00:00.034) 0:03:39.209 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 07:29:43 +0000 (0:00:00.029) 0:03:39.239 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 07:29:43 +0000 (0:00:00.023) 0:03:39.262 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 07:29:43 +0000 (0:00:00.025) 0:03:39.287 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 07:29:43 +0000 (0:00:00.023) 0:03:39.311 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 07:29:43 +0000 (0:00:00.022) 0:03:39.334 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 07:29:43 +0000 (0:00:00.022) 0:03:39.356 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 07:29:43 +0000 (0:00:00.023) 0:03:39.379 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume.yml:16 Thursday 21 July 2022 07:29:43 +0000 (0:00:00.022) 0:03:39.402 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:53 Thursday 21 July 2022 07:29:43 +0000 (0:00:00.066) 0:03:39.469 ********* ok: [/cache/centos-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/centos-8.qcow2 : ok=262 changed=9 unreachable=0 failed=0 skipped=228 rescued=0 ignored=0 Thursday 21 July 2022 07:29:43 +0000 (0:00:00.076) 0:03:39.545 ********* =============================================================================== linux-system-roles.storage : make sure blivet is available ------------ 156.77s /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Ensure cryptsetup is present -------------------------------------------- 3.43s /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:10 ------------------- Ensure cryptsetup is present -------------------------------------------- 1.94s /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:10 ------------------- linux-system-roles.storage : make sure required packages are installed --- 1.94s /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Ensure cryptsetup is present -------------------------------------------- 1.89s /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:10 ------------------- Ensure cryptsetup is present -------------------------------------------- 1.88s /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:10 ------------------- linux-system-roles.storage : get service facts -------------------------- 1.83s /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Find unused disks in the system ----------------------------------------- 1.51s /tmp/tmpa3egnbq5/tests/get_unused_disk.yml:2 ---------------------------------- Collect info about the volumes. ----------------------------------------- 1.51s /tmp/tmpa3egnbq5/tests/verify-role-results.yml:14 ----------------------------- linux-system-roles.storage : manage the pools and volumes to match the specified state --- 1.19s /tmp/tmpa3egnbq5/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.17s /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Gathering Facts --------------------------------------------------------- 1.11s /tmp/tmpa3egnbq5/tests/tests_change_disk_mount_nvme_generated.yml:3 ----------- linux-system-roles.storage : manage the pools and volumes to match the specified state --- 1.04s /tmp/tmpa3egnbq5/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.02s /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : Update facts ------------------------------- 0.99s /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Enable HA repos --------------------------------------------------------- 0.98s /cache/centos-8_setup.yml:5 --------------------------------------------------- linux-system-roles.storage : Update facts ------------------------------- 0.97s /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 0.97s /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 0.94s /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 0.93s /tmp/tmpa3egnbq5/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/tmpu1heti3n 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: centos-8_setup.yml *************************************************** 1 plays in /cache/centos-8_setup.yml PLAY [Enable HA repos] ********************************************************* META: ran handlers TASK [Enable HA repos] ********************************************************* task path: /cache/centos-8_setup.yml:5 Thursday 21 July 2022 16:46:30 +0000 (0:00:00.018) 0:00:00.018 ********* changed: [/cache/centos-8.qcow2] => { "ansible_facts": { "discovered_interpreter_python": "/usr/libexec/platform-python" }, "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "ha" ], "delta": "0:00:00.359924", "end": "2022-07-21 16:46:31.278541", "rc": 0, "start": "2022-07-21 16:46:30.918617" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Thursday 21 July 2022 16:46:31 +0000 (0:00:00.979) 0:00:00.998 ********* =============================================================================== Enable HA repos --------------------------------------------------------- 0.98s /cache/centos-8_setup.yml:5 --------------------------------------------------- PLAYBOOK: tests_change_disk_mount_nvme_generated.yml *************************** 2 plays in /tmp/tmp_0pjp8ed/tests/storage/tests_change_disk_mount_nvme_generated.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/tests_change_disk_mount_nvme_generated.yml:3 Thursday 21 July 2022 16:46:31 +0000 (0:00:00.014) 0:00:01.012 ********* ok: [/cache/centos-8.qcow2] META: ran handlers TASK [set disk interface for test] ********************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/tests_change_disk_mount_nvme_generated.yml:7 Thursday 21 July 2022 16:46:32 +0000 (0:00:01.106) 0:00:02.118 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_use_interface": "nvme" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/tests_change_disk_mount.yml:2 Thursday 21 July 2022 16:46:33 +0000 (0:00:00.047) 0:00:02.166 ********* ok: [/cache/centos-8.qcow2] META: ran handlers TASK [include_role : fedora.linux_system_roles.storage] ************************ task path: /tmp/tmp_0pjp8ed/tests/storage/tests_change_disk_mount.yml:10 Thursday 21 July 2022 16:46:33 +0000 (0:00:00.870) 0:00:03.037 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 16:46:33 +0000 (0:00:00.036) 0:00:03.073 ********* included: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 16:46:33 +0000 (0:00:00.028) 0:00:03.102 ********* ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 16:46:35 +0000 (0:00:01.347) 0:00:04.450 ********* skipping: [/cache/centos-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-8.qcow2] => (item=CentOS_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/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [/cache/centos-8.qcow2] => (item=CentOS_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/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 16:46:35 +0000 (0:00:00.064) 0:00:04.514 ********* ok: [/cache/centos-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/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 16:46:35 +0000 (0:00:00.029) 0:00:04.544 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 16:46:35 +0000 (0:00:00.031) 0:00:04.575 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 16:46:35 +0000 (0:00:00.055) 0:00:04.630 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 16:46:35 +0000 (0:00:00.019) 0:00:04.649 ********* changed: [/cache/centos-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: ndctl-71.1-4.el8.x86_64", "Installed: libblockdev-loop-2.24-8.el8.x86_64", "Installed: ndctl-libs-71.1-4.el8.x86_64", "Installed: libblockdev-lvm-2.24-8.el8.x86_64", "Installed: lvm2-libs-8:2.03.14-2.el8.x86_64", "Installed: device-mapper-multipath-libs-0.8.4-20.el8.x86_64", "Installed: nss-softokn-freebl-3.79.0-5.el8.x86_64", "Installed: kernel-modules-4.18.0-408.el8.x86_64", "Installed: daxctl-libs-71.1-4.el8.x86_64", "Installed: libblockdev-mdraid-2.24-8.el8.x86_64", "Installed: libblockdev-mpath-2.24-8.el8.x86_64", "Installed: device-mapper-persistent-data-0.9.0-7.el8.x86_64", "Installed: nss-sysinit-3.79.0-5.el8.x86_64", "Installed: libblockdev-nvdimm-2.24-8.el8.x86_64", "Installed: userspace-rcu-0.10.1-4.el8.x86_64", "Installed: libblockdev-part-2.24-8.el8.x86_64", "Installed: nss-util-3.79.0-5.el8.x86_64", "Installed: libblockdev-swap-2.24-8.el8.x86_64", "Installed: vdo-6.2.6.14-14.el8.x86_64", "Installed: libblockdev-utils-2.24-8.el8.x86_64", "Installed: linux-firmware-20220713-109.gitdfa29317.el8.noarch", "Installed: nspr-4.34.0-3.el8.x86_64", "Installed: mdadm-4.2-3.el8.x86_64", "Installed: python3-pyparted-1:3.11.7-4.el8.x86_64", "Installed: device-mapper-event-8:1.02.181-2.el8.x86_64", "Installed: libbytesize-1.4-3.el8.x86_64", "Installed: libblockdev-2.24-8.el8.x86_64", "Installed: nss-3.79.0-5.el8.x86_64", "Installed: python3-blivet-1:3.4.0-12.el8.noarch", "Installed: kernel-core-4.18.0-408.el8.x86_64", "Installed: libblockdev-crypto-2.24-8.el8.x86_64", "Installed: device-mapper-event-libs-8:1.02.181-2.el8.x86_64", "Installed: lsof-4.93.2-1.el8.x86_64", "Installed: libblockdev-dm-2.24-8.el8.x86_64", "Installed: python3-blockdev-2.24-8.el8.x86_64", "Installed: volume_key-libs-0.3.11-5.el8.x86_64", "Installed: blivet-data-1:3.4.0-12.el8.noarch", "Installed: python3-bytesize-1.4-3.el8.x86_64", "Installed: lvm2-8:2.03.14-2.el8.x86_64", "Installed: libblockdev-fs-2.24-8.el8.x86_64", "Installed: kmod-kvdo-6.2.6.14-84.el8.x86_64", "Installed: libblockdev-kbd-2.24-8.el8.x86_64", "Installed: nss-softokn-3.79.0-5.el8.x86_64", "Installed: libaio-0.3.112-1.el8.x86_64", "Installed: device-mapper-multipath-0.8.4-20.el8.x86_64" ] } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 16:49:00 +0000 (0:02:24.541) 0:02:29.190 ********* ok: [/cache/centos-8.qcow2] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 16:49:00 +0000 (0:00:00.034) 0:02:29.225 ********* ok: [/cache/centos-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 16:49:00 +0000 (0:00:00.033) 0:02:29.258 ********* ok: [/cache/centos-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/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 16:49:00 +0000 (0:00:00.728) 0:02:29.987 ********* included: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.storage : check if the COPR support packages should be installed] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:2 Thursday 21 July 2022 16:49:00 +0000 (0:00:00.043) 0:02:30.030 ********* TASK [fedora.linux_system_roles.storage : make sure COPR support packages are present] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:13 Thursday 21 July 2022 16:49:00 +0000 (0:00:00.031) 0:02:30.062 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable COPRs] ************************ task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:18 Thursday 21 July 2022 16:49:00 +0000 (0:00:00.033) 0:02:30.096 ********* TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 16:49:01 +0000 (0:00:00.028) 0:02:30.125 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 16:49:02 +0000 (0:00:01.952) 0:02:32.077 ********* ok: [/cache/centos-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" }, "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" }, "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" }, "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" }, "nm-priv-helper.service": { "name": "nm-priv-helper.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "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" }, "rngd-wake-threshold.service": { "name": "rngd-wake-threshold.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "rngd.service": { "name": "rngd.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-r3d75e35b89364c80aa8665c56eeaef8f.service": { "name": "run-r3d75e35b89364c80aa8665c56eeaef8f.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-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": "inactive", "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/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 16:49:04 +0000 (0:00:01.770) 0:02:33.848 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 16:49:04 +0000 (0:00:00.056) 0:02:33.904 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 16:49:04 +0000 (0:00:00.021) 0:02:33.926 ********* ok: [/cache/centos-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/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 16:49:05 +0000 (0:00:00.557) 0:02:34.484 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 16:49:05 +0000 (0:00:00.037) 0:02:34.521 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 16:49:05 +0000 (0:00:00.021) 0:02:34.543 ********* ok: [/cache/centos-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/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 16:49:05 +0000 (0:00:00.036) 0:02:34.579 ********* ok: [/cache/centos-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/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 16:49:05 +0000 (0:00:00.061) 0:02:34.641 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 16:49:05 +0000 (0:00:00.038) 0:02:34.679 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 16:49:05 +0000 (0:00:00.033) 0:02:34.712 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 16:49:05 +0000 (0:00:00.021) 0:02:34.734 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 16:49:05 +0000 (0:00:00.036) 0:02:34.770 ********* skipping: [/cache/centos-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/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 16:49:05 +0000 (0:00:00.028) 0:02:34.799 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658422026.3637083, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1643141385.117, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 135, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1643141019.537, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "3147672035", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 16:49:06 +0000 (0:00:00.506) 0:02:35.306 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 16:49:06 +0000 (0:00:00.023) 0:02:35.330 ********* ok: [/cache/centos-8.qcow2] META: role_complete for /cache/centos-8.qcow2 TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/tmp_0pjp8ed/tests/storage/tests_change_disk_mount.yml:13 Thursday 21 July 2022 16:49:07 +0000 (0:00:00.997) 0:02:36.328 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "packages_installed", "service_facts" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/tests_change_disk_mount.yml:20 Thursday 21 July 2022 16:49:07 +0000 (0:00:00.034) 0:02:36.362 ********* included: /tmp/tmp_0pjp8ed/tests/storage/get_unused_disk.yml for /cache/centos-8.qcow2 TASK [Find unused disks in the system] ***************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/get_unused_disk.yml:2 Thursday 21 July 2022 16:49:07 +0000 (0:00:00.038) 0:02:36.401 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "disks": [ "nvme1n1" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/get_unused_disk.yml:9 Thursday 21 July 2022 16:49:07 +0000 (0:00:00.541) 0:02:36.943 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "unused_disks": [ "nvme1n1" ] }, "changed": false } TASK [Exit playbook when there's not enough unused disks in the system] ******** task path: /tmp/tmp_0pjp8ed/tests/storage/get_unused_disk.yml:14 Thursday 21 July 2022 16:49:07 +0000 (0:00:00.037) 0:02:36.980 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print unused disks] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/get_unused_disk.yml:19 Thursday 21 July 2022 16:49:07 +0000 (0:00:00.038) 0:02:37.018 ********* ok: [/cache/centos-8.qcow2] => { "unused_disks": [ "nvme1n1" ] } TASK [Create a disk device mounted at "/opt/test1"] **************************** task path: /tmp/tmp_0pjp8ed/tests/storage/tests_change_disk_mount.yml:25 Thursday 21 July 2022 16:49:07 +0000 (0:00:00.035) 0:02:37.054 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 16:49:07 +0000 (0:00:00.042) 0:02:37.096 ********* included: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 16:49:08 +0000 (0:00:00.033) 0:02:37.130 ********* ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 16:49:08 +0000 (0:00:00.524) 0:02:37.654 ********* skipping: [/cache/centos-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-8.qcow2] => (item=CentOS_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/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [/cache/centos-8.qcow2] => (item=CentOS_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/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 16:49:08 +0000 (0:00:00.069) 0:02:37.723 ********* ok: [/cache/centos-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/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 16:49:08 +0000 (0:00:00.063) 0:02:37.786 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 16:49:08 +0000 (0:00:00.033) 0:02:37.820 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 16:49:08 +0000 (0:00:00.052) 0:02:37.873 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 16:49:08 +0000 (0:00:00.020) 0:02:37.893 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 16:49:08 +0000 (0:00:00.057) 0:02:37.950 ********* ok: [/cache/centos-8.qcow2] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 16:49:08 +0000 (0:00:00.036) 0:02:37.987 ********* ok: [/cache/centos-8.qcow2] => { "storage_volumes": [ { "disks": [ "nvme1n1" ], "mount_point": "/opt/test1", "name": "test1", "type": "disk" } ] } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 16:49:08 +0000 (0:00:00.038) 0:02:38.025 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 16:49:08 +0000 (0:00:00.036) 0:02:38.061 ********* skipping: [/cache/centos-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/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 16:49:08 +0000 (0:00:00.027) 0:02:38.089 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 16:49:08 +0000 (0:00:00.025) 0:02:38.115 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 16:49:09 +0000 (0:00:00.028) 0:02:38.143 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 16:49:09 +0000 (0:00:00.055) 0:02:38.199 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 16:49:09 +0000 (0:00:00.023) 0:02:38.222 ********* changed: [/cache/centos-8.qcow2] => { "actions": [ { "action": "create format", "device": "/dev/nvme1n1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/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": "UUID=feebd811-517b-4d2b-97d1-281de2bc77c1", "state": "mounted" } ], "packages": [ "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=feebd811-517b-4d2b-97d1-281de2bc77c1", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 16:49:10 +0000 (0:00:01.119) 0:02:39.342 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 16:49:10 +0000 (0:00:00.035) 0:02:39.377 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 16:49:10 +0000 (0:00:00.020) 0:02:39.397 ********* ok: [/cache/centos-8.qcow2] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/nvme1n1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/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": "UUID=feebd811-517b-4d2b-97d1-281de2bc77c1", "state": "mounted" } ], "packages": [ "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=feebd811-517b-4d2b-97d1-281de2bc77c1", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 16:49:10 +0000 (0:00:00.039) 0:02:39.437 ********* ok: [/cache/centos-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/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 16:49:10 +0000 (0:00:00.037) 0:02:39.475 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=feebd811-517b-4d2b-97d1-281de2bc77c1", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 16:49:10 +0000 (0:00:00.039) 0:02:39.514 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 16:49:10 +0000 (0:00:00.035) 0:02:39.550 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 16:49:11 +0000 (0:00:00.909) 0:02:40.460 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-8.qcow2] => (item={'src': 'UUID=feebd811-517b-4d2b-97d1-281de2bc77c1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=feebd811-517b-4d2b-97d1-281de2bc77c1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "UUID=feebd811-517b-4d2b-97d1-281de2bc77c1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 16:49:11 +0000 (0:00:00.542) 0:02:41.002 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 16:49:12 +0000 (0:00:00.594) 0:02:41.596 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658422026.3637083, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1643141385.117, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 135, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1643141019.537, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "3147672035", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 16:49:12 +0000 (0:00:00.414) 0:02:42.011 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 16:49:12 +0000 (0:00:00.024) 0:02:42.036 ********* ok: [/cache/centos-8.qcow2] META: role_complete for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/tests_change_disk_mount.yml:35 Thursday 21 July 2022 16:49:13 +0000 (0:00:00.939) 0:02:42.976 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml for /cache/centos-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 16:49:13 +0000 (0:00:00.077) 0:02:43.053 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 16:49:13 +0000 (0:00:00.037) 0:02:43.091 ********* ok: [/cache/centos-8.qcow2] => { "_storage_volumes_list": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=feebd811-517b-4d2b-97d1-281de2bc77c1", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 16:49:14 +0000 (0:00:00.048) 0:02:43.139 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "xfs", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "feebd811-517b-4d2b-97d1-281de2bc77c1" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-16-46-10-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "10G", "type": "partition", "uuid": "395b9844-e404-4857-afbb-c6edccaf72f3" }, "/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/tmp_0pjp8ed/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 16:49:14 +0000 (0:00:00.478) 0:02:43.618 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003687", "end": "2022-07-21 16:49:14.282772", "rc": 0, "start": "2022-07-21 16:49:14.279085" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jan 25 20:03:39 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=395b9844-e404-4857-afbb-c6edccaf72f3 / xfs defaults 0 0 UUID=feebd811-517b-4d2b-97d1-281de2bc77c1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 16:49:14 +0000 (0:00:00.392) 0:02:44.010 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003291", "end": "2022-07-21 16:49:14.665655", "failed_when_result": false, "rc": 0, "start": "2022-07-21 16:49:14.662364" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 16:49:15 +0000 (0:00:00.381) 0:02:44.392 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 16:49:15 +0000 (0:00:00.022) 0:02:44.414 ********* included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume.yml for /cache/centos-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': 10737418240, 'state': 'present', 'type': 'disk', 'disks': ['nvme1n1'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_chunk_size': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': [], '_device': '/dev/nvme1n1', '_raw_device': '/dev/nvme1n1', '_mount_id': 'UUID=feebd811-517b-4d2b-97d1-281de2bc77c1', '_kernel_device': '/dev/nvme1n1', '_raw_kernel_device': '/dev/nvme1n1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 16:49:15 +0000 (0:00:00.060) 0:02:44.475 ********* ok: [/cache/centos-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/tmp_0pjp8ed/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 16:49:15 +0000 (0:00:00.049) 0:02:44.524 ********* included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml for /cache/centos-8.qcow2 => (item=mount) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml for /cache/centos-8.qcow2 => (item=fstab) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fs.yml for /cache/centos-8.qcow2 => (item=fs) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml for /cache/centos-8.qcow2 => (item=device) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml for /cache/centos-8.qcow2 => (item=encryption) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml for /cache/centos-8.qcow2 => (item=md) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml for /cache/centos-8.qcow2 => (item=size) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml for /cache/centos-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 16:49:15 +0000 (0:00:00.083) 0:02:44.607 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/nvme1n1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 16:49:15 +0000 (0:00:00.039) 0:02:44.647 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2592358, "block_size": 4096, "block_total": 2618880, "block_used": 26522, "device": "/dev/nvme1n1", "fstype": "xfs", "inode_available": 5242877, "inode_total": 5242880, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 10618298368, "size_total": 10726932480, "uuid": "feebd811-517b-4d2b-97d1-281de2bc77c1" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2592358, "block_size": 4096, "block_total": 2618880, "block_used": 26522, "device": "/dev/nvme1n1", "fstype": "xfs", "inode_available": 5242877, "inode_total": 5242880, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 10618298368, "size_total": 10726932480, "uuid": "feebd811-517b-4d2b-97d1-281de2bc77c1" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 16:49:15 +0000 (0:00:00.055) 0:02:44.703 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 16:49:15 +0000 (0:00:00.049) 0:02:44.752 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 16:49:15 +0000 (0:00:00.050) 0:02:44.802 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 16:49:15 +0000 (0:00:00.049) 0:02:44.851 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 16:49:15 +0000 (0:00:00.022) 0:02:44.874 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 16:49:15 +0000 (0:00:00.025) 0:02:44.899 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 16:49:15 +0000 (0:00:00.024) 0:02:44.924 ********* ok: [/cache/centos-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/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 16:49:15 +0000 (0:00:00.064) 0:02:44.988 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "UUID=feebd811-517b-4d2b-97d1-281de2bc77c1 " ], "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/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 16:49:15 +0000 (0:00:00.102) 0:02:45.091 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 16:49:16 +0000 (0:00:00.072) 0:02:45.164 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 16:49:16 +0000 (0:00:00.047) 0:02:45.211 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 16:49:16 +0000 (0:00:00.032) 0:02:45.244 ********* ok: [/cache/centos-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/tmp_0pjp8ed/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 16:49:16 +0000 (0:00:00.032) 0:02:45.276 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 16:49:16 +0000 (0:00:00.033) 0:02:45.310 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 16:49:16 +0000 (0:00:00.035) 0:02:45.345 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658422149.5747085, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658422149.5747085, "dev": 6, "device_type": 66304, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 15070, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658422149.5747085, "nlink": 1, "path": "/dev/nvme1n1", "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/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 16:49:16 +0000 (0:00:00.388) 0:02:45.733 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 16:49:16 +0000 (0:00:00.038) 0:02:45.772 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 16:49:16 +0000 (0:00:00.037) 0:02:45.809 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "st_volume_type": "disk" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 16:49:16 +0000 (0:00:00.037) 0:02:45.847 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 16:49:16 +0000 (0:00:00.022) 0:02:45.870 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 16:49:16 +0000 (0:00:00.038) 0:02:45.909 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 16:49:16 +0000 (0:00:00.023) 0:02:45.932 ********* changed: [/cache/centos-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: cryptsetup-libs-2.3.7-2.el8.x86_64", "Installed: cryptsetup-2.3.7-2.el8.x86_64", "Removed: cryptsetup-libs-2.3.3-4.el8.x86_64" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 16:49:22 +0000 (0:00:05.623) 0:02:51.556 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 16:49:22 +0000 (0:00:00.027) 0:02:51.584 ********* skipping: [/cache/centos-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/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 16:49:22 +0000 (0:00:00.025) 0:02:51.609 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 16:49:22 +0000 (0:00:00.057) 0:02:51.667 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 16:49:22 +0000 (0:00:00.025) 0:02:51.692 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 16:49:22 +0000 (0:00:00.024) 0:02:51.717 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 16:49:22 +0000 (0:00:00.024) 0:02:51.741 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 16:49:22 +0000 (0:00:00.023) 0:02:51.765 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 16:49:22 +0000 (0:00:00.022) 0:02:51.787 ********* ok: [/cache/centos-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/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 16:49:22 +0000 (0:00:00.048) 0:02:51.836 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 16:49:22 +0000 (0:00:00.046) 0:02:51.883 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 16:49:22 +0000 (0:00:00.036) 0:02:51.920 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 16:49:22 +0000 (0:00:00.035) 0:02:51.955 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 16:49:22 +0000 (0:00:00.040) 0:02:51.996 ********* ok: [/cache/centos-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/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 16:49:22 +0000 (0:00:00.034) 0:02:52.030 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 16:49:22 +0000 (0:00:00.035) 0:02:52.066 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 16:49:22 +0000 (0:00:00.037) 0:02:52.103 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 16:49:23 +0000 (0:00:00.041) 0:02:52.144 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 16:49:23 +0000 (0:00:00.036) 0:02:52.180 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 16:49:23 +0000 (0:00:00.039) 0:02:52.220 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 16:49:23 +0000 (0:00:00.038) 0:02:52.258 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 16:49:23 +0000 (0:00:00.040) 0:02:52.298 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 16:49:23 +0000 (0:00:00.025) 0:02:52.324 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 16:49:23 +0000 (0:00:00.035) 0:02:52.359 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 16:49:23 +0000 (0:00:00.035) 0:02:52.394 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 16:49:23 +0000 (0:00:00.102) 0:02:52.497 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 16:49:23 +0000 (0:00:00.035) 0:02:52.533 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 16:49:23 +0000 (0:00:00.038) 0:02:52.571 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 16:49:23 +0000 (0:00:00.035) 0:02:52.606 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 16:49:23 +0000 (0:00:00.038) 0:02:52.645 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 16:49:23 +0000 (0:00:00.036) 0:02:52.681 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 16:49:23 +0000 (0:00:00.034) 0:02:52.716 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 16:49:23 +0000 (0:00:00.034) 0:02:52.750 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 16:49:23 +0000 (0:00:00.024) 0:02:52.775 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 16:49:23 +0000 (0:00:00.023) 0:02:52.798 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 16:49:23 +0000 (0:00:00.023) 0:02:52.822 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 16:49:23 +0000 (0:00:00.022) 0:02:52.844 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 16:49:23 +0000 (0:00:00.024) 0:02:52.869 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 16:49:23 +0000 (0:00:00.022) 0:02:52.892 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 16:49:23 +0000 (0:00:00.022) 0:02:52.914 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 16:49:23 +0000 (0:00:00.024) 0:02:52.939 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 16:49:23 +0000 (0:00:00.034) 0:02:52.973 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Change the disk device mount location to "/opt/test2"] ******************* task path: /tmp/tmp_0pjp8ed/tests/storage/tests_change_disk_mount.yml:37 Thursday 21 July 2022 16:49:23 +0000 (0:00:00.035) 0:02:53.009 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 16:49:23 +0000 (0:00:00.052) 0:02:53.061 ********* included: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 16:49:23 +0000 (0:00:00.035) 0:02:53.096 ********* ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 16:49:24 +0000 (0:00:00.558) 0:02:53.655 ********* skipping: [/cache/centos-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-8.qcow2] => (item=CentOS_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/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [/cache/centos-8.qcow2] => (item=CentOS_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/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 16:49:24 +0000 (0:00:00.078) 0:02:53.733 ********* ok: [/cache/centos-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/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 16:49:24 +0000 (0:00:00.037) 0:02:53.771 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 16:49:24 +0000 (0:00:00.034) 0:02:53.805 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 16:49:24 +0000 (0:00:00.064) 0:02:53.870 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 16:49:24 +0000 (0:00:00.022) 0:02:53.892 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 16:49:24 +0000 (0:00:00.035) 0:02:53.928 ********* ok: [/cache/centos-8.qcow2] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 16:49:24 +0000 (0:00:00.048) 0:02:53.976 ********* ok: [/cache/centos-8.qcow2] => { "storage_volumes": [ { "disks": [ "nvme1n1" ], "mount_point": "/opt/test2", "name": "test1", "type": "disk" } ] } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 16:49:24 +0000 (0:00:00.042) 0:02:54.018 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 16:49:24 +0000 (0:00:00.028) 0:02:54.047 ********* skipping: [/cache/centos-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/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 16:49:24 +0000 (0:00:00.031) 0:02:54.079 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 16:49:24 +0000 (0:00:00.027) 0:02:54.106 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 16:49:25 +0000 (0:00:00.077) 0:02:54.183 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 16:49:25 +0000 (0:00:00.059) 0:02:54.243 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 16:49:25 +0000 (0:00:00.022) 0:02:54.265 ********* ok: [/cache/centos-8.qcow2] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "path": "/opt/test1", "state": "absent" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "UUID=feebd811-517b-4d2b-97d1-281de2bc77c1", "state": "mounted" } ], "packages": [ "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=feebd811-517b-4d2b-97d1-281de2bc77c1", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "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/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 16:49:26 +0000 (0:00:01.031) 0:02:55.297 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 16:49:26 +0000 (0:00:00.038) 0:02:55.335 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 16:49:26 +0000 (0:00:00.023) 0:02:55.358 ********* ok: [/cache/centos-8.qcow2] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "path": "/opt/test1", "state": "absent" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "UUID=feebd811-517b-4d2b-97d1-281de2bc77c1", "state": "mounted" } ], "packages": [ "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=feebd811-517b-4d2b-97d1-281de2bc77c1", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "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/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 16:49:26 +0000 (0:00:00.041) 0:02:55.400 ********* ok: [/cache/centos-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/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 16:49:26 +0000 (0:00:00.041) 0:02:55.441 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=feebd811-517b-4d2b-97d1-281de2bc77c1", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "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/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 16:49:26 +0000 (0:00:00.039) 0:02:55.480 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-8.qcow2] => (item={'path': '/opt/test1', 'state': 'absent'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "mount_info": { "path": "/opt/test1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 16:49:26 +0000 (0:00:00.434) 0:02:55.914 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 16:49:27 +0000 (0:00:00.615) 0:02:56.529 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-8.qcow2] => (item={'src': 'UUID=feebd811-517b-4d2b-97d1-281de2bc77c1', 'path': '/opt/test2', '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/test2", "src": "UUID=feebd811-517b-4d2b-97d1-281de2bc77c1", "state": "mounted" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "UUID=feebd811-517b-4d2b-97d1-281de2bc77c1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 16:49:27 +0000 (0:00:00.403) 0:02:56.933 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 16:49:28 +0000 (0:00:00.615) 0:02:57.548 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658422026.3637083, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1643141385.117, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 135, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1643141019.537, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "3147672035", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 16:49:28 +0000 (0:00:00.376) 0:02:57.925 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 16:49:28 +0000 (0:00:00.023) 0:02:57.949 ********* ok: [/cache/centos-8.qcow2] META: role_complete for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/tests_change_disk_mount.yml:47 Thursday 21 July 2022 16:49:29 +0000 (0:00:00.971) 0:02:58.921 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml for /cache/centos-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 16:49:29 +0000 (0:00:00.043) 0:02:58.964 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 16:49:29 +0000 (0:00:00.038) 0:02:59.002 ********* ok: [/cache/centos-8.qcow2] => { "_storage_volumes_list": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=feebd811-517b-4d2b-97d1-281de2bc77c1", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "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/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 16:49:29 +0000 (0:00:00.049) 0:02:59.052 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "xfs", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "feebd811-517b-4d2b-97d1-281de2bc77c1" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-16-46-10-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "10G", "type": "partition", "uuid": "395b9844-e404-4857-afbb-c6edccaf72f3" }, "/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/tmp_0pjp8ed/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 16:49:30 +0000 (0:00:00.423) 0:02:59.475 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003494", "end": "2022-07-21 16:49:30.167671", "rc": 0, "start": "2022-07-21 16:49:30.164177" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jan 25 20:03:39 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=395b9844-e404-4857-afbb-c6edccaf72f3 / xfs defaults 0 0 UUID=feebd811-517b-4d2b-97d1-281de2bc77c1 /opt/test2 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 16:49:30 +0000 (0:00:00.419) 0:02:59.894 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002421", "end": "2022-07-21 16:49:30.542796", "failed_when_result": false, "rc": 0, "start": "2022-07-21 16:49:30.540375" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 16:49:31 +0000 (0:00:00.372) 0:03:00.267 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 16:49:31 +0000 (0:00:00.021) 0:03:00.288 ********* included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume.yml for /cache/centos-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/test2', 'name': 'test1', 'raid_level': None, 'size': 10737418240, 'state': 'present', 'type': 'disk', 'disks': ['nvme1n1'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_chunk_size': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': [], '_device': '/dev/nvme1n1', '_raw_device': '/dev/nvme1n1', '_mount_id': 'UUID=feebd811-517b-4d2b-97d1-281de2bc77c1', '_kernel_device': '/dev/nvme1n1', '_raw_kernel_device': '/dev/nvme1n1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 16:49:31 +0000 (0:00:00.058) 0:03:00.346 ********* ok: [/cache/centos-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/tmp_0pjp8ed/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 16:49:31 +0000 (0:00:00.046) 0:03:00.393 ********* included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml for /cache/centos-8.qcow2 => (item=mount) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml for /cache/centos-8.qcow2 => (item=fstab) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fs.yml for /cache/centos-8.qcow2 => (item=fs) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml for /cache/centos-8.qcow2 => (item=device) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml for /cache/centos-8.qcow2 => (item=encryption) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml for /cache/centos-8.qcow2 => (item=md) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml for /cache/centos-8.qcow2 => (item=size) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml for /cache/centos-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 16:49:31 +0000 (0:00:00.076) 0:03:00.470 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/nvme1n1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 16:49:31 +0000 (0:00:00.039) 0:03:00.510 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2592358, "block_size": 4096, "block_total": 2618880, "block_used": 26522, "device": "/dev/nvme1n1", "fstype": "xfs", "inode_available": 5242877, "inode_total": 5242880, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 10618298368, "size_total": 10726932480, "uuid": "feebd811-517b-4d2b-97d1-281de2bc77c1" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2592358, "block_size": 4096, "block_total": 2618880, "block_used": 26522, "device": "/dev/nvme1n1", "fstype": "xfs", "inode_available": 5242877, "inode_total": 5242880, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 10618298368, "size_total": 10726932480, "uuid": "feebd811-517b-4d2b-97d1-281de2bc77c1" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 16:49:31 +0000 (0:00:00.052) 0:03:00.562 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 16:49:31 +0000 (0:00:00.047) 0:03:00.610 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 16:49:31 +0000 (0:00:00.051) 0:03:00.662 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 16:49:31 +0000 (0:00:00.054) 0:03:00.716 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 16:49:31 +0000 (0:00:00.025) 0:03:00.742 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 16:49:31 +0000 (0:00:00.027) 0:03:00.769 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 16:49:31 +0000 (0:00:00.026) 0:03:00.796 ********* ok: [/cache/centos-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/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 16:49:31 +0000 (0:00:00.034) 0:03:00.830 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "UUID=feebd811-517b-4d2b-97d1-281de2bc77c1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test2 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test2 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 16:49:31 +0000 (0:00:00.063) 0:03:00.894 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 16:49:31 +0000 (0:00:00.048) 0:03:00.943 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 16:49:31 +0000 (0:00:00.048) 0:03:00.992 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 16:49:31 +0000 (0:00:00.037) 0:03:01.029 ********* ok: [/cache/centos-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/tmp_0pjp8ed/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 16:49:31 +0000 (0:00:00.033) 0:03:01.063 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 16:49:31 +0000 (0:00:00.041) 0:03:01.104 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 16:49:32 +0000 (0:00:00.037) 0:03:01.141 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658422149.5747085, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658422149.5747085, "dev": 6, "device_type": 66304, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 15070, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658422149.5747085, "nlink": 1, "path": "/dev/nvme1n1", "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/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 16:49:32 +0000 (0:00:00.398) 0:03:01.540 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 16:49:32 +0000 (0:00:00.083) 0:03:01.623 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 16:49:32 +0000 (0:00:00.076) 0:03:01.700 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "st_volume_type": "disk" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 16:49:32 +0000 (0:00:00.033) 0:03:01.733 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 16:49:32 +0000 (0:00:00.021) 0:03:01.755 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 16:49:32 +0000 (0:00:00.038) 0:03:01.794 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 16:49:32 +0000 (0:00:00.024) 0:03:01.818 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 16:49:34 +0000 (0:00:01.913) 0:03:03.731 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 16:49:34 +0000 (0:00:00.025) 0:03:03.757 ********* skipping: [/cache/centos-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/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 16:49:34 +0000 (0:00:00.022) 0:03:03.780 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 16:49:34 +0000 (0:00:00.051) 0:03:03.831 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 16:49:34 +0000 (0:00:00.024) 0:03:03.856 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 16:49:34 +0000 (0:00:00.024) 0:03:03.881 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 16:49:34 +0000 (0:00:00.025) 0:03:03.907 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 16:49:34 +0000 (0:00:00.023) 0:03:03.930 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 16:49:34 +0000 (0:00:00.022) 0:03:03.953 ********* ok: [/cache/centos-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/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 16:49:34 +0000 (0:00:00.053) 0:03:04.006 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 16:49:34 +0000 (0:00:00.051) 0:03:04.058 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 16:49:34 +0000 (0:00:00.037) 0:03:04.095 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 16:49:35 +0000 (0:00:00.034) 0:03:04.130 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 16:49:35 +0000 (0:00:00.034) 0:03:04.164 ********* ok: [/cache/centos-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/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 16:49:35 +0000 (0:00:00.033) 0:03:04.198 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 16:49:35 +0000 (0:00:00.040) 0:03:04.239 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 16:49:35 +0000 (0:00:00.035) 0:03:04.274 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 16:49:35 +0000 (0:00:00.034) 0:03:04.308 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 16:49:35 +0000 (0:00:00.036) 0:03:04.345 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 16:49:35 +0000 (0:00:00.033) 0:03:04.379 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 16:49:35 +0000 (0:00:00.033) 0:03:04.413 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 16:49:35 +0000 (0:00:00.038) 0:03:04.451 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 16:49:35 +0000 (0:00:00.027) 0:03:04.478 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 16:49:35 +0000 (0:00:00.034) 0:03:04.513 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 16:49:35 +0000 (0:00:00.034) 0:03:04.548 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 16:49:35 +0000 (0:00:00.035) 0:03:04.583 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 16:49:35 +0000 (0:00:00.037) 0:03:04.620 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 16:49:35 +0000 (0:00:00.036) 0:03:04.657 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 16:49:35 +0000 (0:00:00.036) 0:03:04.694 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 16:49:35 +0000 (0:00:00.036) 0:03:04.731 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 16:49:35 +0000 (0:00:00.039) 0:03:04.771 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 16:49:35 +0000 (0:00:00.034) 0:03:04.806 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 16:49:35 +0000 (0:00:00.074) 0:03:04.880 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 16:49:35 +0000 (0:00:00.030) 0:03:04.911 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 16:49:35 +0000 (0:00:00.027) 0:03:04.938 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 16:49:35 +0000 (0:00:00.025) 0:03:04.964 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 16:49:35 +0000 (0:00:00.025) 0:03:04.990 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 16:49:35 +0000 (0:00:00.028) 0:03:05.018 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 16:49:35 +0000 (0:00:00.062) 0:03:05.081 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 16:49:35 +0000 (0:00:00.024) 0:03:05.105 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 16:49:36 +0000 (0:00:00.024) 0:03:05.129 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 16:49:36 +0000 (0:00:00.035) 0:03:05.165 ********* ok: [/cache/centos-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/tmp_0pjp8ed/tests/storage/tests_change_disk_mount.yml:49 Thursday 21 July 2022 16:49:36 +0000 (0:00:00.034) 0:03:05.199 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 16:49:36 +0000 (0:00:00.049) 0:03:05.248 ********* included: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 16:49:36 +0000 (0:00:00.036) 0:03:05.285 ********* ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 16:49:36 +0000 (0:00:00.525) 0:03:05.810 ********* skipping: [/cache/centos-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-8.qcow2] => (item=CentOS_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/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [/cache/centos-8.qcow2] => (item=CentOS_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/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 16:49:36 +0000 (0:00:00.071) 0:03:05.882 ********* ok: [/cache/centos-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/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 16:49:36 +0000 (0:00:00.038) 0:03:05.920 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 16:49:36 +0000 (0:00:00.035) 0:03:05.956 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 16:49:36 +0000 (0:00:00.054) 0:03:06.010 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 16:49:36 +0000 (0:00:00.020) 0:03:06.031 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 16:49:36 +0000 (0:00:00.026) 0:03:06.058 ********* ok: [/cache/centos-8.qcow2] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 16:49:36 +0000 (0:00:00.035) 0:03:06.093 ********* ok: [/cache/centos-8.qcow2] => { "storage_volumes": [ { "disks": [ "nvme1n1" ], "mount_point": "/opt/test2", "name": "test1", "type": "disk" } ] } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 16:49:37 +0000 (0:00:00.036) 0:03:06.130 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 16:49:37 +0000 (0:00:00.030) 0:03:06.161 ********* skipping: [/cache/centos-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/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 16:49:37 +0000 (0:00:00.030) 0:03:06.191 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 16:49:37 +0000 (0:00:00.029) 0:03:06.220 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 16:49:37 +0000 (0:00:00.027) 0:03:06.248 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 16:49:37 +0000 (0:00:00.057) 0:03:06.305 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 16:49:37 +0000 (0:00:00.023) 0:03:06.329 ********* ok: [/cache/centos-8.qcow2] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/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/test2", "src": "UUID=feebd811-517b-4d2b-97d1-281de2bc77c1", "state": "mounted" } ], "packages": [ "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=feebd811-517b-4d2b-97d1-281de2bc77c1", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "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/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 16:49:38 +0000 (0:00:01.003) 0:03:07.332 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 16:49:38 +0000 (0:00:00.038) 0:03:07.371 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 16:49:38 +0000 (0:00:00.023) 0:03:07.394 ********* ok: [/cache/centos-8.qcow2] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/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/test2", "src": "UUID=feebd811-517b-4d2b-97d1-281de2bc77c1", "state": "mounted" } ], "packages": [ "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=feebd811-517b-4d2b-97d1-281de2bc77c1", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "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/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 16:49:38 +0000 (0:00:00.080) 0:03:07.475 ********* ok: [/cache/centos-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/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 16:49:38 +0000 (0:00:00.076) 0:03:07.551 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=feebd811-517b-4d2b-97d1-281de2bc77c1", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "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/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 16:49:38 +0000 (0:00:00.038) 0:03:07.590 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 16:49:38 +0000 (0:00:00.038) 0:03:07.629 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 16:49:39 +0000 (0:00:00.700) 0:03:08.330 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/centos-8.qcow2] => (item={'src': 'UUID=feebd811-517b-4d2b-97d1-281de2bc77c1', 'path': '/opt/test2', '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/test2", "src": "UUID=feebd811-517b-4d2b-97d1-281de2bc77c1", "state": "mounted" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "UUID=feebd811-517b-4d2b-97d1-281de2bc77c1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 16:49:39 +0000 (0:00:00.422) 0:03:08.752 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 16:49:40 +0000 (0:00:00.623) 0:03:09.376 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658422026.3637083, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1643141385.117, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 135, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1643141019.537, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "3147672035", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 16:49:40 +0000 (0:00:00.381) 0:03:09.758 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 16:49:40 +0000 (0:00:00.021) 0:03:09.779 ********* ok: [/cache/centos-8.qcow2] META: role_complete for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/tests_change_disk_mount.yml:59 Thursday 21 July 2022 16:49:41 +0000 (0:00:00.967) 0:03:10.747 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml for /cache/centos-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 16:49:41 +0000 (0:00:00.046) 0:03:10.793 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 16:49:41 +0000 (0:00:00.035) 0:03:10.829 ********* ok: [/cache/centos-8.qcow2] => { "_storage_volumes_list": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=feebd811-517b-4d2b-97d1-281de2bc77c1", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "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/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 16:49:41 +0000 (0:00:00.049) 0:03:10.879 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "xfs", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "feebd811-517b-4d2b-97d1-281de2bc77c1" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-16-46-10-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "10G", "type": "partition", "uuid": "395b9844-e404-4857-afbb-c6edccaf72f3" }, "/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/tmp_0pjp8ed/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 16:49:42 +0000 (0:00:00.373) 0:03:11.252 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002852", "end": "2022-07-21 16:49:41.910767", "rc": 0, "start": "2022-07-21 16:49:41.907915" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jan 25 20:03:39 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=395b9844-e404-4857-afbb-c6edccaf72f3 / xfs defaults 0 0 UUID=feebd811-517b-4d2b-97d1-281de2bc77c1 /opt/test2 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 16:49:42 +0000 (0:00:00.384) 0:03:11.637 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002906", "end": "2022-07-21 16:49:42.330467", "failed_when_result": false, "rc": 0, "start": "2022-07-21 16:49:42.327561" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 16:49:42 +0000 (0:00:00.421) 0:03:12.058 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 16:49:42 +0000 (0:00:00.024) 0:03:12.082 ********* included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume.yml for /cache/centos-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/test2', 'name': 'test1', 'raid_level': None, 'size': 10737418240, 'state': 'present', 'type': 'disk', 'disks': ['nvme1n1'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_chunk_size': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': [], '_device': '/dev/nvme1n1', '_raw_device': '/dev/nvme1n1', '_mount_id': 'UUID=feebd811-517b-4d2b-97d1-281de2bc77c1', '_kernel_device': '/dev/nvme1n1', '_raw_kernel_device': '/dev/nvme1n1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 16:49:43 +0000 (0:00:00.058) 0:03:12.141 ********* ok: [/cache/centos-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/tmp_0pjp8ed/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 16:49:43 +0000 (0:00:00.079) 0:03:12.221 ********* included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml for /cache/centos-8.qcow2 => (item=mount) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml for /cache/centos-8.qcow2 => (item=fstab) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fs.yml for /cache/centos-8.qcow2 => (item=fs) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml for /cache/centos-8.qcow2 => (item=device) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml for /cache/centos-8.qcow2 => (item=encryption) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml for /cache/centos-8.qcow2 => (item=md) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml for /cache/centos-8.qcow2 => (item=size) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml for /cache/centos-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 16:49:43 +0000 (0:00:00.077) 0:03:12.298 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/nvme1n1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 16:49:43 +0000 (0:00:00.041) 0:03:12.340 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2592358, "block_size": 4096, "block_total": 2618880, "block_used": 26522, "device": "/dev/nvme1n1", "fstype": "xfs", "inode_available": 5242877, "inode_total": 5242880, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 10618298368, "size_total": 10726932480, "uuid": "feebd811-517b-4d2b-97d1-281de2bc77c1" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2592358, "block_size": 4096, "block_total": 2618880, "block_used": 26522, "device": "/dev/nvme1n1", "fstype": "xfs", "inode_available": 5242877, "inode_total": 5242880, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 10618298368, "size_total": 10726932480, "uuid": "feebd811-517b-4d2b-97d1-281de2bc77c1" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 16:49:43 +0000 (0:00:00.057) 0:03:12.397 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 16:49:43 +0000 (0:00:00.049) 0:03:12.447 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 16:49:43 +0000 (0:00:00.047) 0:03:12.495 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 16:49:43 +0000 (0:00:00.048) 0:03:12.543 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 16:49:43 +0000 (0:00:00.022) 0:03:12.566 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 16:49:43 +0000 (0:00:00.021) 0:03:12.588 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 16:49:43 +0000 (0:00:00.021) 0:03:12.610 ********* ok: [/cache/centos-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/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 16:49:43 +0000 (0:00:00.031) 0:03:12.641 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "UUID=feebd811-517b-4d2b-97d1-281de2bc77c1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test2 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test2 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 16:49:43 +0000 (0:00:00.057) 0:03:12.699 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 16:49:43 +0000 (0:00:00.046) 0:03:12.745 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 16:49:43 +0000 (0:00:00.046) 0:03:12.791 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 16:49:43 +0000 (0:00:00.037) 0:03:12.829 ********* ok: [/cache/centos-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/tmp_0pjp8ed/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 16:49:43 +0000 (0:00:00.034) 0:03:12.864 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 16:49:43 +0000 (0:00:00.039) 0:03:12.904 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 16:49:43 +0000 (0:00:00.041) 0:03:12.945 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658422149.5747085, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658422149.5747085, "dev": 6, "device_type": 66304, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 15070, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658422149.5747085, "nlink": 1, "path": "/dev/nvme1n1", "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/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 16:49:44 +0000 (0:00:00.383) 0:03:13.328 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 16:49:44 +0000 (0:00:00.047) 0:03:13.376 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 16:49:44 +0000 (0:00:00.038) 0:03:13.414 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "st_volume_type": "disk" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 16:49:44 +0000 (0:00:00.037) 0:03:13.451 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 16:49:44 +0000 (0:00:00.024) 0:03:13.476 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 16:49:44 +0000 (0:00:00.039) 0:03:13.515 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 16:49:44 +0000 (0:00:00.023) 0:03:13.539 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 16:49:46 +0000 (0:00:01.858) 0:03:15.397 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 16:49:46 +0000 (0:00:00.024) 0:03:15.422 ********* skipping: [/cache/centos-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/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 16:49:46 +0000 (0:00:00.023) 0:03:15.446 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 16:49:46 +0000 (0:00:00.081) 0:03:15.528 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 16:49:46 +0000 (0:00:00.024) 0:03:15.552 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 16:49:46 +0000 (0:00:00.023) 0:03:15.576 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 16:49:46 +0000 (0:00:00.022) 0:03:15.598 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 16:49:46 +0000 (0:00:00.023) 0:03:15.621 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 16:49:46 +0000 (0:00:00.023) 0:03:15.645 ********* ok: [/cache/centos-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/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 16:49:46 +0000 (0:00:00.050) 0:03:15.695 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 16:49:46 +0000 (0:00:00.078) 0:03:15.774 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 16:49:46 +0000 (0:00:00.036) 0:03:15.810 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 16:49:46 +0000 (0:00:00.095) 0:03:15.905 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 16:49:46 +0000 (0:00:00.036) 0:03:15.942 ********* ok: [/cache/centos-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/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 16:49:46 +0000 (0:00:00.041) 0:03:15.984 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 16:49:46 +0000 (0:00:00.043) 0:03:16.027 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 16:49:46 +0000 (0:00:00.038) 0:03:16.065 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 16:49:46 +0000 (0:00:00.035) 0:03:16.101 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 16:49:47 +0000 (0:00:00.035) 0:03:16.136 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 16:49:47 +0000 (0:00:00.035) 0:03:16.172 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 16:49:47 +0000 (0:00:00.037) 0:03:16.209 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 16:49:47 +0000 (0:00:00.038) 0:03:16.248 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 16:49:47 +0000 (0:00:00.024) 0:03:16.273 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 16:49:47 +0000 (0:00:00.037) 0:03:16.311 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 16:49:47 +0000 (0:00:00.037) 0:03:16.348 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 16:49:47 +0000 (0:00:00.038) 0:03:16.386 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 16:49:47 +0000 (0:00:00.039) 0:03:16.426 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 16:49:47 +0000 (0:00:00.040) 0:03:16.466 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 16:49:47 +0000 (0:00:00.035) 0:03:16.501 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 16:49:47 +0000 (0:00:00.035) 0:03:16.536 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 16:49:47 +0000 (0:00:00.035) 0:03:16.572 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 16:49:47 +0000 (0:00:00.040) 0:03:16.613 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 16:49:47 +0000 (0:00:00.039) 0:03:16.652 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 16:49:47 +0000 (0:00:00.024) 0:03:16.677 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 16:49:47 +0000 (0:00:00.026) 0:03:16.703 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 16:49:47 +0000 (0:00:00.025) 0:03:16.729 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 16:49:47 +0000 (0:00:00.025) 0:03:16.754 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 16:49:47 +0000 (0:00:00.025) 0:03:16.779 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 16:49:47 +0000 (0:00:00.024) 0:03:16.804 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 16:49:47 +0000 (0:00:00.026) 0:03:16.830 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 16:49:47 +0000 (0:00:00.024) 0:03:16.855 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 16:49:47 +0000 (0:00:00.033) 0:03:16.889 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Clean up] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/tests_change_disk_mount.yml:61 Thursday 21 July 2022 16:49:47 +0000 (0:00:00.036) 0:03:16.925 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 16:49:47 +0000 (0:00:00.062) 0:03:16.988 ********* included: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 16:49:47 +0000 (0:00:00.038) 0:03:17.026 ********* ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 16:49:48 +0000 (0:00:00.585) 0:03:17.611 ********* skipping: [/cache/centos-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-8.qcow2] => (item=CentOS_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/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [/cache/centos-8.qcow2] => (item=CentOS_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/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 16:49:48 +0000 (0:00:00.075) 0:03:17.687 ********* ok: [/cache/centos-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/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 16:49:48 +0000 (0:00:00.037) 0:03:17.724 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 16:49:48 +0000 (0:00:00.037) 0:03:17.762 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 16:49:48 +0000 (0:00:00.056) 0:03:17.818 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 16:49:48 +0000 (0:00:00.021) 0:03:17.840 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 16:49:48 +0000 (0:00:00.030) 0:03:17.871 ********* ok: [/cache/centos-8.qcow2] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 16:49:48 +0000 (0:00:00.034) 0:03:17.905 ********* ok: [/cache/centos-8.qcow2] => { "storage_volumes": [ { "disks": [ "nvme1n1" ], "mount_point": "/opt/test2", "name": "test1", "state": "absent", "type": "disk" } ] } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 16:49:48 +0000 (0:00:00.036) 0:03:17.942 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 16:49:48 +0000 (0:00:00.026) 0:03:17.969 ********* skipping: [/cache/centos-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/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 16:49:48 +0000 (0:00:00.030) 0:03:17.999 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 16:49:48 +0000 (0:00:00.028) 0:03:18.028 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 16:49:48 +0000 (0:00:00.028) 0:03:18.057 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 16:49:48 +0000 (0:00:00.056) 0:03:18.113 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 16:49:49 +0000 (0:00:00.022) 0:03:18.136 ********* changed: [/cache/centos-8.qcow2] => { "actions": [ { "action": "destroy format", "device": "/dev/nvme1n1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test2", "src": "UUID=feebd811-517b-4d2b-97d1-281de2bc77c1", "state": "absent" } ], "packages": [ "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/nvme1n1", "_mount_id": "UUID=feebd811-517b-4d2b-97d1-281de2bc77c1", "_raw_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "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/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 16:49:50 +0000 (0:00:01.210) 0:03:19.347 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 16:49:50 +0000 (0:00:00.043) 0:03:19.390 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 16:49:50 +0000 (0:00:00.026) 0:03:19.416 ********* ok: [/cache/centos-8.qcow2] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/nvme1n1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test2", "src": "UUID=feebd811-517b-4d2b-97d1-281de2bc77c1", "state": "absent" } ], "packages": [ "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/nvme1n1", "_mount_id": "UUID=feebd811-517b-4d2b-97d1-281de2bc77c1", "_raw_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "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/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 16:49:50 +0000 (0:00:00.043) 0:03:19.460 ********* ok: [/cache/centos-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/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 16:49:50 +0000 (0:00:00.041) 0:03:19.502 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/nvme1n1", "_mount_id": "UUID=feebd811-517b-4d2b-97d1-281de2bc77c1", "_raw_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "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/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 16:49:50 +0000 (0:00:00.037) 0:03:19.540 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-8.qcow2] => (item={'src': 'UUID=feebd811-517b-4d2b-97d1-281de2bc77c1', 'path': '/opt/test2', '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/test2", "src": "UUID=feebd811-517b-4d2b-97d1-281de2bc77c1", "state": "absent" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "UUID=feebd811-517b-4d2b-97d1-281de2bc77c1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 16:49:50 +0000 (0:00:00.418) 0:03:19.959 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 16:49:51 +0000 (0:00:00.627) 0:03:20.586 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 16:49:51 +0000 (0:00:00.039) 0:03:20.625 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 16:49:52 +0000 (0:00:00.611) 0:03:21.236 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658422026.3637083, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1643141385.117, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 135, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1643141019.537, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "3147672035", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 16:49:52 +0000 (0:00:00.444) 0:03:21.680 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 16:49:52 +0000 (0:00:00.057) 0:03:21.738 ********* ok: [/cache/centos-8.qcow2] META: role_complete for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/tests_change_disk_mount.yml:72 Thursday 21 July 2022 16:49:53 +0000 (0:00:00.943) 0:03:22.682 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml for /cache/centos-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 16:49:53 +0000 (0:00:00.048) 0:03:22.730 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 16:49:53 +0000 (0:00:00.036) 0:03:22.767 ********* ok: [/cache/centos-8.qcow2] => { "_storage_volumes_list": [ { "_device": "/dev/nvme1n1", "_mount_id": "UUID=feebd811-517b-4d2b-97d1-281de2bc77c1", "_raw_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "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/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 16:49:53 +0000 (0:00:00.049) 0:03:22.816 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-16-46-10-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "10G", "type": "partition", "uuid": "395b9844-e404-4857-afbb-c6edccaf72f3" }, "/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/tmp_0pjp8ed/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 16:49:54 +0000 (0:00:00.387) 0:03:23.203 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:01.004569", "end": "2022-07-21 16:49:54.862839", "rc": 0, "start": "2022-07-21 16:49:53.858270" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jan 25 20:03:39 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=395b9844-e404-4857-afbb-c6edccaf72f3 / xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 16:49:55 +0000 (0:00:01.397) 0:03:24.601 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002964", "end": "2022-07-21 16:49:55.255876", "failed_when_result": false, "rc": 0, "start": "2022-07-21 16:49:55.252912" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 16:49:55 +0000 (0:00:00.379) 0:03:24.980 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 16:49:55 +0000 (0:00:00.021) 0:03:25.002 ********* included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume.yml for /cache/centos-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/test2', 'name': 'test1', 'raid_level': None, 'size': 10737418240, 'state': 'absent', 'type': 'disk', 'disks': ['nvme1n1'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_chunk_size': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': [], '_device': '/dev/nvme1n1', '_raw_device': '/dev/nvme1n1', '_mount_id': 'UUID=feebd811-517b-4d2b-97d1-281de2bc77c1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 16:49:55 +0000 (0:00:00.055) 0:03:25.057 ********* ok: [/cache/centos-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/tmp_0pjp8ed/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 16:49:56 +0000 (0:00:00.075) 0:03:25.133 ********* included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml for /cache/centos-8.qcow2 => (item=mount) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml for /cache/centos-8.qcow2 => (item=fstab) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fs.yml for /cache/centos-8.qcow2 => (item=fs) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml for /cache/centos-8.qcow2 => (item=device) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml for /cache/centos-8.qcow2 => (item=encryption) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml for /cache/centos-8.qcow2 => (item=md) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml for /cache/centos-8.qcow2 => (item=size) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml for /cache/centos-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 16:49:56 +0000 (0:00:00.076) 0:03:25.209 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/nvme1n1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 16:49:56 +0000 (0:00:00.074) 0:03:25.284 ********* ok: [/cache/centos-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/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 16:49:56 +0000 (0:00:00.082) 0:03:25.366 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 16:49:56 +0000 (0:00:00.024) 0:03:25.391 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 16:49:56 +0000 (0:00:00.081) 0:03:25.473 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 16:49:56 +0000 (0:00:00.035) 0:03:25.509 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 16:49:56 +0000 (0:00:00.024) 0:03:25.533 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 16:49:56 +0000 (0:00:00.023) 0:03:25.557 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 16:49:56 +0000 (0:00:00.062) 0:03:25.619 ********* ok: [/cache/centos-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/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 16:49:56 +0000 (0:00:00.033) 0:03:25.652 ********* ok: [/cache/centos-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/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 16:49:56 +0000 (0:00:00.058) 0:03:25.711 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 16:49:56 +0000 (0:00:00.022) 0:03:25.734 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 16:49:56 +0000 (0:00:00.047) 0:03:25.781 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 16:49:56 +0000 (0:00:00.035) 0:03:25.816 ********* ok: [/cache/centos-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/tmp_0pjp8ed/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 16:49:56 +0000 (0:00:00.035) 0:03:25.851 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 16:49:56 +0000 (0:00:00.023) 0:03:25.874 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 16:49:56 +0000 (0:00:00.023) 0:03:25.898 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658422189.5657084, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658422189.5657084, "dev": 6, "device_type": 66304, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 15070, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658422189.5657084, "nlink": 1, "path": "/dev/nvme1n1", "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/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 16:49:57 +0000 (0:00:00.386) 0:03:26.284 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 16:49:57 +0000 (0:00:00.039) 0:03:26.323 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 16:49:57 +0000 (0:00:00.025) 0:03:26.348 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "st_volume_type": "disk" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 16:49:57 +0000 (0:00:00.040) 0:03:26.389 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 16:49:57 +0000 (0:00:00.025) 0:03:26.415 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 16:49:57 +0000 (0:00:00.024) 0:03:26.440 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 16:49:57 +0000 (0:00:00.025) 0:03:26.465 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 16:49:59 +0000 (0:00:01.909) 0:03:28.375 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 16:49:59 +0000 (0:00:00.024) 0:03:28.399 ********* skipping: [/cache/centos-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/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 16:49:59 +0000 (0:00:00.024) 0:03:28.424 ********* skipping: [/cache/centos-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/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 16:49:59 +0000 (0:00:00.023) 0:03:28.448 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 16:49:59 +0000 (0:00:00.024) 0:03:28.472 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 16:49:59 +0000 (0:00:00.023) 0:03:28.496 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 16:49:59 +0000 (0:00:00.024) 0:03:28.521 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 16:49:59 +0000 (0:00:00.023) 0:03:28.545 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 16:49:59 +0000 (0:00:00.024) 0:03:28.569 ********* ok: [/cache/centos-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/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 16:49:59 +0000 (0:00:00.092) 0:03:28.662 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 16:49:59 +0000 (0:00:00.050) 0:03:28.712 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 16:49:59 +0000 (0:00:00.037) 0:03:28.749 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 16:49:59 +0000 (0:00:00.036) 0:03:28.786 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 16:49:59 +0000 (0:00:00.037) 0:03:28.824 ********* ok: [/cache/centos-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/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 16:49:59 +0000 (0:00:00.033) 0:03:28.858 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 16:49:59 +0000 (0:00:00.038) 0:03:28.897 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 16:49:59 +0000 (0:00:00.038) 0:03:28.935 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 16:49:59 +0000 (0:00:00.040) 0:03:28.975 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 16:49:59 +0000 (0:00:00.073) 0:03:29.049 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 16:49:59 +0000 (0:00:00.036) 0:03:29.086 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 16:50:00 +0000 (0:00:00.036) 0:03:29.123 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 16:50:00 +0000 (0:00:00.038) 0:03:29.161 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 16:50:00 +0000 (0:00:00.024) 0:03:29.186 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 16:50:00 +0000 (0:00:00.036) 0:03:29.223 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 16:50:00 +0000 (0:00:00.036) 0:03:29.260 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 16:50:00 +0000 (0:00:00.039) 0:03:29.299 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 16:50:00 +0000 (0:00:00.037) 0:03:29.337 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 16:50:00 +0000 (0:00:00.035) 0:03:29.372 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 16:50:00 +0000 (0:00:00.036) 0:03:29.409 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 16:50:00 +0000 (0:00:00.039) 0:03:29.448 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 16:50:00 +0000 (0:00:00.038) 0:03:29.486 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 16:50:00 +0000 (0:00:00.038) 0:03:29.524 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 16:50:00 +0000 (0:00:00.036) 0:03:29.560 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 16:50:00 +0000 (0:00:00.025) 0:03:29.586 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 16:50:00 +0000 (0:00:00.024) 0:03:29.611 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 16:50:00 +0000 (0:00:00.023) 0:03:29.634 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 16:50:00 +0000 (0:00:00.023) 0:03:29.658 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 16:50:00 +0000 (0:00:00.027) 0:03:29.685 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 16:50:00 +0000 (0:00:00.024) 0:03:29.710 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 16:50:00 +0000 (0:00:00.024) 0:03:29.735 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 16:50:00 +0000 (0:00:00.022) 0:03:29.758 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 16:50:00 +0000 (0:00:00.037) 0:03:29.795 ********* ok: [/cache/centos-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/centos-8.qcow2 : ok=262 changed=9 unreachable=0 failed=0 skipped=228 rescued=0 ignored=0 Thursday 21 July 2022 16:50:00 +0000 (0:00:00.043) 0:03:29.839 ********* =============================================================================== fedora.linux_system_roles.storage : make sure blivet is available ----- 144.54s /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Ensure cryptsetup is present -------------------------------------------- 5.62s /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:10 ----------- fedora.linux_system_roles.storage : make sure required packages are installed --- 1.95s /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Ensure cryptsetup is present -------------------------------------------- 1.91s /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:10 ----------- Ensure cryptsetup is present -------------------------------------------- 1.91s /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:10 ----------- Ensure cryptsetup is present -------------------------------------------- 1.86s /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:10 ----------- fedora.linux_system_roles.storage : get service facts ------------------- 1.77s /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Read the /etc/fstab file for volume existence --------------------------- 1.40s /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:19 --------------------- fedora.linux_system_roles.storage : Ensure ansible_facts used by role --- 1.35s /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 1.21s /tmp/tmpu1heti3n/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.12s /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Gathering Facts --------------------------------------------------------- 1.11s /tmp/tmp_0pjp8ed/tests/storage/tests_change_disk_mount_nvme_generated.yml:3 --- fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 1.03s /tmp/tmpu1heti3n/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.00s /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : Update facts ------------------------ 1.00s /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Enable HA repos --------------------------------------------------------- 0.98s /cache/centos-8_setup.yml:5 --------------------------------------------------- fedora.linux_system_roles.storage : Update facts ------------------------ 0.97s /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : Update facts ------------------------ 0.97s /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : Update facts ------------------------ 0.94s /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : Update facts ------------------------ 0.94s /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183