# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file statically imported: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/create-test-file.yml statically imported: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-data-preservation.yml statically imported: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/create-test-file.yml statically imported: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-data-preservation.yml statically imported: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/create-test-file.yml statically imported: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-data-preservation.yml Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_luks_pool.yml ************************************************** 1 plays in /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/tests_luks_pool.yml PLAY [Test LUKS pool] ********************************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/tests_luks_pool.yml:2 Thursday 30 May 2024 20:11:21 +0000 (0:00:00.014) 0:00:00.014 ********** ok: [sut] META: ran handlers TASK [Enable FIPS mode] ******************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/tests_luks_pool.yml:24 Thursday 30 May 2024 20:11:22 +0000 (0:00:00.754) 0:00:00.769 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Reboot] ****************************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/tests_luks_pool.yml:28 Thursday 30 May 2024 20:11:22 +0000 (0:00:00.022) 0:00:00.791 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure dracut-fips] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/tests_luks_pool.yml:38 Thursday 30 May 2024 20:11:22 +0000 (0:00:00.020) 0:00:00.811 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Configure boot for FIPS] ************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/tests_luks_pool.yml:45 Thursday 30 May 2024 20:11:22 +0000 (0:00:00.019) 0:00:00.830 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Reboot] ****************************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/tests_luks_pool.yml:54 Thursday 30 May 2024 20:11:22 +0000 (0:00:00.020) 0:00:00.851 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role] ************************************************************ task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/tests_luks_pool.yml:58 Thursday 30 May 2024 20:11:22 +0000 (0:00:00.018) 0:00:00.870 ********** TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 30 May 2024 20:11:22 +0000 (0:00:00.014) 0:00:00.884 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for sut TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 30 May 2024 20:11:22 +0000 (0:00:00.023) 0:00:00.908 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 30 May 2024 20:11:22 +0000 (0:00:00.019) 0:00:00.927 ********** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (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", "stratisd", "stratis-cli" ] }, "ansible_included_var_files": [ "/WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [sut] => (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", "stratisd", "stratis-cli" ] }, "ansible_included_var_files": [ "/WORKDIR/git-main_stratis-support-2_olzkgxl/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 : Check if system is ostree] ****************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:26 Thursday 30 May 2024 20:11:22 +0000 (0:00:00.037) 0:00:00.965 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.storage : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:31 Thursday 30 May 2024 20:11:23 +0000 (0:00:00.258) 0:00:01.223 ********** ok: [sut] => { "ansible_facts": { "__storage_is_ostree": false }, "changed": false } TASK [linux-system-roles.storage : Define an empty list of pools to be used in testing] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 30 May 2024 20:11:23 +0000 (0:00:00.021) 0:00:01.245 ********** ok: [sut] => { "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: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 30 May 2024 20:11:23 +0000 (0:00:00.009) 0:00:01.254 ********** ok: [sut] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : Include the appropriate provider tasks] ***** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 30 May 2024 20:11:23 +0000 (0:00:00.009) 0:00:01.263 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for sut TASK [linux-system-roles.storage : Make sure blivet is available] ************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 30 May 2024 20:11:23 +0000 (0:00:00.030) 0:00:01.294 ********** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: libbytesize-1.4-3.el8.x86_64", "Installed: python3-justbytes-0.14-2.el8.noarch", "Installed: userspace-rcu-0.10.1-4.el8.x86_64", "Installed: libblockdev-fs-2.28-6.el8.x86_64", "Installed: volume_key-libs-0.3.11-6.el8.x86_64", "Installed: libblockdev-kbd-2.28-6.el8.x86_64", "Installed: luksmeta-9-4.el8.x86_64", "Installed: python3-blivet-1:3.6.0-8.el8.noarch", "Installed: python3-into-dbus-python-0.06-2.el8.noarch", "Installed: daxctl-libs-71.1-7.el8.x86_64", "Installed: vdo-6.2.9.7-14.el8.x86_64", "Installed: python3-blockdev-2.28-6.el8.x86_64", "Installed: libblockdev-loop-2.28-6.el8.x86_64", "Installed: mdadm-4.2-14.el8.x86_64", "Installed: python3-bytesize-1.4-3.el8.x86_64", "Installed: libblockdev-lvm-2.28-6.el8.x86_64", "Installed: libjose-10-2.el8.x86_64", "Installed: clevis-15-15.el8.x86_64", "Installed: blivet-data-1:3.6.0-8.el8.noarch", "Installed: libaio-0.3.112-1.el8.x86_64", "Installed: tpm2-tools-4.1.1-5.el8.x86_64", "Installed: clevis-luks-15-15.el8.x86_64", "Installed: libblockdev-mdraid-2.28-6.el8.x86_64", "Installed: cryptsetup-2.3.7-7.el8.x86_64", "Installed: oniguruma-6.8.2-3.el8.x86_64", "Installed: device-mapper-event-8:1.02.181-14.el8.x86_64", "Installed: kmod-kvdo-6.2.8.7-94.el8.x86_64", "Installed: libblockdev-mpath-2.28-6.el8.x86_64", "Installed: device-mapper-event-libs-8:1.02.181-14.el8.x86_64", "Installed: python3-psutil-5.4.3-11.el8.x86_64", "Installed: libblockdev-nvdimm-2.28-6.el8.x86_64", "Installed: jose-10-2.el8.x86_64", "Installed: lsof-4.93.2-1.el8.x86_64", "Installed: libluksmeta-9-4.el8.x86_64", "Installed: stratis-cli-2.4.2-1.el8.noarch", "Installed: stratisd-2.4.2-2.el8.x86_64", "Installed: libblockdev-part-2.28-6.el8.x86_64", "Installed: jq-1.6-9.el8.x86_64", "Installed: lvm2-8:2.03.14-14.el8.x86_64", "Installed: device-mapper-multipath-0.8.4-41.el8.x86_64", "Installed: python3-dbus-client-gen-0.4-1.el8.noarch", "Installed: python3-dbus-python-client-gen-0.7-3.el8.noarch", "Installed: python3-dbus-signature-pyparsing-0.03-2.el8.noarch", "Installed: python3-pyparted-1:3.11.7-4.el8.x86_64", "Installed: libblockdev-swap-2.28-6.el8.x86_64", "Installed: device-mapper-multipath-libs-0.8.4-41.el8.x86_64", "Installed: lvm2-libs-8:2.03.14-14.el8.x86_64", "Installed: libblockdev-2.28-6.el8.x86_64", "Installed: ndctl-71.1-7.el8.x86_64", "Installed: device-mapper-persistent-data-0.9.0-7.el8.x86_64", "Installed: ndctl-libs-71.1-7.el8.x86_64", "Installed: libblockdev-utils-2.28-6.el8.x86_64", "Installed: libblockdev-crypto-2.28-6.el8.x86_64", "Installed: libblockdev-dm-2.28-6.el8.x86_64", "Installed: python3-justbases-0.14-4.el8.noarch" ] } TASK [linux-system-roles.storage : Show storage_pools] ************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:11 Thursday 30 May 2024 20:12:16 +0000 (0:00:53.618) 0:00:54.912 ********** ok: [sut] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : Show storage_volumes] *********************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:16 Thursday 30 May 2024 20:12:16 +0000 (0:00:00.019) 0:00:54.932 ********** ok: [sut] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : Get required packages] ********************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:21 Thursday 30 May 2024 20:12:16 +0000 (0:00:00.019) 0:00:54.952 ********** ok: [sut] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [linux-system-roles.storage : Enable copr repositories if needed] ********* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:34 Thursday 30 May 2024 20:12:17 +0000 (0:00:00.611) 0:00:55.563 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml for sut TASK [linux-system-roles.storage : Check if the COPR support packages should be installed] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:2 Thursday 30 May 2024 20:12:17 +0000 (0:00:00.045) 0:00:55.609 ********** TASK [linux-system-roles.storage : Make sure COPR support packages are present] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:13 Thursday 30 May 2024 20:12:17 +0000 (0:00:00.009) 0:00:55.619 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Enable COPRs] ******************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:20 Thursday 30 May 2024 20:12:17 +0000 (0:00:00.011) 0:00:55.630 ********** TASK [linux-system-roles.storage : Make sure required packages are installed] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:41 Thursday 30 May 2024 20:12:17 +0000 (0:00:00.009) 0:00:55.639 ********** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.storage : Get service facts] ************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:57 Thursday 30 May 2024 20:12:20 +0000 (0:00:02.616) 0:00:58.256 ********** ok: [sut] => { "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-hotplugd.service": { "name": "cloud-init-hotplugd.service", "source": "systemd", "state": "inactive", "status": "static" }, "cloud-init-local.service": { "name": "cloud-init-local.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init.service": { "name": "cloud-init.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "console-getty.service": { "name": "console-getty.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "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" }, "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" }, "dnf-system-upgrade-cleanup.service": { "name": "dnf-system-upgrade-cleanup.service", "source": "systemd", "state": "inactive", "status": "static" }, "dnf-system-upgrade.service": { "name": "dnf-system-upgrade.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "dracut-cmdline.service": { "name": "dracut-cmdline.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-initqueue.service": { "name": "dracut-initqueue.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-mount.service": { "name": "dracut-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-mount.service": { "name": "dracut-pre-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-pivot.service": { "name": "dracut-pre-pivot.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-trigger.service": { "name": "dracut-pre-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-udev.service": { "name": "dracut-pre-udev.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-shutdown-onfailure.service": { "name": "dracut-shutdown-onfailure.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-shutdown.service": { "name": "dracut-shutdown.service", "source": "systemd", "state": "stopped", "status": "static" }, "ebtables.service": { "name": "ebtables.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "emergency.service": { "name": "emergency.service", "source": "systemd", "state": "stopped", "status": "static" }, "firewalld.service": { "name": "firewalld.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "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": "unknown" }, "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" }, "iprdump.service": { "name": "iprdump.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "iprinit.service": { "name": "iprinit.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "iprupdate.service": { "name": "iprupdate.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "irqbalance.service": { "name": "irqbalance.service", "source": "systemd", "state": "running", "status": "enabled" }, "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-lvmpolld.service": { "name": "lvm2-lvmpolld.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-monitor.service": { "name": "lvm2-monitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "lvm2-pvscan@.service": { "name": "lvm2-pvscan@.service", "source": "systemd", "state": "unknown", "status": "static" }, "man-db-cache-update.service": { "name": "man-db-cache-update.service", "source": "systemd", "state": "inactive", "status": "static" }, "man-db-restart-cache-update.service": { "name": "man-db-restart-cache-update.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "mdadm-grow-continue@.service": { "name": "mdadm-grow-continue@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdadm-last-resort@.service": { "name": "mdadm-last-resort@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdcheck_continue.service": { "name": "mdcheck_continue.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdcheck_start.service": { "name": "mdcheck_start.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmon@.service": { "name": "mdmon@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdmonitor-oneshot.service": { "name": "mdmonitor-oneshot.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmonitor.service": { "name": "mdmonitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "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" }, "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" }, "nftables.service": { "name": "nftables.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nis-domainname.service": { "name": "nis-domainname.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "oddjobd.service": { "name": "oddjobd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "plymouth-halt.service": { "name": "plymouth-halt.service", "source": "systemd", "state": "inactive", "status": "static" }, "plymouth-kexec.service": { "name": "plymouth-kexec.service", "source": "systemd", "state": "inactive", "status": "static" }, "plymouth-poweroff.service": { "name": "plymouth-poweroff.service", "source": "systemd", "state": "inactive", "status": "static" }, "plymouth-quit-wait.service": { "name": "plymouth-quit-wait.service", "source": "systemd", "state": "stopped", "status": "static" }, "plymouth-quit.service": { "name": "plymouth-quit.service", "source": "systemd", "state": "stopped", "status": "static" }, "plymouth-read-write.service": { "name": "plymouth-read-write.service", "source": "systemd", "state": "stopped", "status": "static" }, "plymouth-reboot.service": { "name": "plymouth-reboot.service", "source": "systemd", "state": "inactive", "status": "static" }, "plymouth-start.service": { "name": "plymouth-start.service", "source": "systemd", "state": "stopped", "status": "static" }, "plymouth-switch-root-initramfs.service": { "name": "plymouth-switch-root-initramfs.service", "source": "systemd", "state": "inactive", "status": "static" }, "plymouth-switch-root.service": { "name": "plymouth-switch-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "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" }, "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" }, "restraintd.service": { "name": "restraintd.service", "source": "systemd", "state": "running", "status": "enabled" }, "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" }, "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": "disabled" }, "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": "unknown" }, "sshd-keygen@ed25519.service": { "name": "sshd-keygen@ed25519.service", "source": "systemd", "state": "stopped", "status": "unknown" }, "sshd-keygen@rsa.service": { "name": "sshd-keygen@rsa.service", "source": "systemd", "state": "stopped", "status": "unknown" }, "sshd.service": { "name": "sshd.service", "source": "systemd", "state": "running", "status": "enabled" }, "sshd@.service": { "name": "sshd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "sssd-autofs.service": { "name": "sssd-autofs.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-kcm.service": { "name": "sssd-kcm.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "sssd-nss.service": { "name": "sssd-nss.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pac.service": { "name": "sssd-pac.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pam.service": { "name": "sssd-pam.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-ssh.service": { "name": "sssd-ssh.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-sudo.service": { "name": "sssd-sudo.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd.service": { "name": "sssd.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "stratis-fstab-setup@.service": { "name": "stratis-fstab-setup@.service", "source": "systemd", "state": "unknown", "status": "static" }, "stratisd-min-postinitrd.service": { "name": "stratisd-min-postinitrd.service", "source": "systemd", "state": "inactive", "status": "static" }, "stratisd.service": { "name": "stratisd.service", "source": "systemd", "state": "stopped", "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-plymouth.service": { "name": "systemd-ask-password-plymouth.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-pstore.service": { "name": "systemd-pstore.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "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-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" }, "target.service": { "name": "target.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "targetclid.service": { "name": "targetclid.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "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": "unknown" }, "user@.service": { "name": "user@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user@0.service": { "name": "user@0.service", "source": "systemd", "state": "running", "status": "unknown" }, "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" } } }, "changed": false } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:64 Thursday 30 May 2024 20:12:21 +0000 (0:00:01.756) 0:01:00.012 ********** ok: [sut] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:78 Thursday 30 May 2024 20:12:21 +0000 (0:00:00.036) 0:01:00.048 ********** TASK [linux-system-roles.storage : Manage the pools and volumes to match the specified state] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:84 Thursday 30 May 2024 20:12:21 +0000 (0:00:00.011) 0:01:00.060 ********** ok: [sut] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:98 Thursday 30 May 2024 20:12:22 +0000 (0:00:00.368) 0:01:00.429 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:110 Thursday 30 May 2024 20:12:22 +0000 (0:00:00.012) 0:01:00.442 ********** TASK [linux-system-roles.storage : Show blivet_output] ************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:116 Thursday 30 May 2024 20:12:22 +0000 (0:00:00.011) 0:01:00.453 ********** ok: [sut] => { "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: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:125 Thursday 30 May 2024 20:12:22 +0000 (0:00:00.012) 0:01:00.465 ********** ok: [sut] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : Set the list of volumes for test verification] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:129 Thursday 30 May 2024 20:12:22 +0000 (0:00:00.013) 0:01:00.479 ********** ok: [sut] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : Remove obsolete mounts] ********************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:145 Thursday 30 May 2024 20:12:22 +0000 (0:00:00.012) 0:01:00.491 ********** TASK [linux-system-roles.storage : Tell systemd to refresh its view of /etc/fstab] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:157 Thursday 30 May 2024 20:12:22 +0000 (0:00:00.010) 0:01:00.502 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set up new/current mounts] ****************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:162 Thursday 30 May 2024 20:12:22 +0000 (0:00:00.010) 0:01:00.513 ********** TASK [linux-system-roles.storage : Manage mount ownership/permissions] ********* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:174 Thursday 30 May 2024 20:12:22 +0000 (0:00:00.010) 0:01:00.524 ********** TASK [linux-system-roles.storage : Tell systemd to refresh its view of /etc/fstab] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:189 Thursday 30 May 2024 20:12:22 +0000 (0:00:00.010) 0:01:00.535 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Retrieve facts for the /etc/crypttab file] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:197 Thursday 30 May 2024 20:12:22 +0000 (0:00:00.013) 0:01:00.548 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717099581.0940008, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1716968941.893, "dev": 51713, "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": 1716968586.525, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "1157759751", "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: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:202 Thursday 30 May 2024 20:12:22 +0000 (0:00:00.191) 0:01:00.739 ********** TASK [linux-system-roles.storage : Update facts] ******************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:224 Thursday 30 May 2024 20:12:22 +0000 (0:00:00.011) 0:01:00.750 ********** ok: [sut] TASK [Mark tasks to be skipped] ************************************************ task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/tests_luks_pool.yml:62 Thursday 30 May 2024 20:12:23 +0000 (0:00:00.611) 0:01:01.362 ********** ok: [sut] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "service_facts" ] }, "changed": false } TASK [Get unused disks] ******************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/tests_luks_pool.yml:68 Thursday 30 May 2024 20:12:23 +0000 (0:00:00.011) 0:01:01.373 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/get_unused_disk.yml for sut TASK [Ensure test packages] **************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/get_unused_disk.yml:2 Thursday 30 May 2024 20:12:23 +0000 (0:00:00.016) 0:01:01.390 ********** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Find unused disks in the system] ***************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/get_unused_disk.yml:16 Thursday 30 May 2024 20:12:25 +0000 (0:00:02.513) 0:01:03.904 ********** ok: [sut] => { "changed": false, "disks": [ "sda" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/get_unused_disk.yml:24 Thursday 30 May 2024 20:12:26 +0000 (0:00:00.270) 0:01:04.174 ********** ok: [sut] => { "ansible_facts": { "unused_disks": [ "sda" ] }, "changed": false } TASK [Exit playbook when there's not enough unused disks in the system] ******** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/get_unused_disk.yml:29 Thursday 30 May 2024 20:12:26 +0000 (0:00:00.018) 0:01:04.193 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print unused disks] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/get_unused_disk.yml:34 Thursday 30 May 2024 20:12:26 +0000 (0:00:00.012) 0:01:04.206 ********** ok: [sut] => { "unused_disks": [ "sda" ] } TASK [Test for correct handling of new encrypted pool w/ no key] *************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/tests_luks_pool.yml:78 Thursday 30 May 2024 20:12:26 +0000 (0:00:00.013) 0:01:04.219 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-role-failed.yml for sut TASK [Store global variable value copy] **************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-role-failed.yml:4 Thursday 30 May 2024 20:12:26 +0000 (0:00:00.017) 0:01:04.237 ********** ok: [sut] => { "ansible_facts": { "storage_pools_global": [], "storage_safe_mode_global": true, "storage_volumes_global": [] }, "changed": false } TASK [Verify role raises correct error] **************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-role-failed.yml:10 Thursday 30 May 2024 20:12:26 +0000 (0:00:00.014) 0:01:04.251 ********** TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 30 May 2024 20:12:26 +0000 (0:00:00.017) 0:01:04.269 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for sut TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 30 May 2024 20:12:26 +0000 (0:00:00.016) 0:01:04.286 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 30 May 2024 20:12:26 +0000 (0:00:00.013) 0:01:04.299 ********** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (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", "stratisd", "stratis-cli" ] }, "ansible_included_var_files": [ "/WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [sut] => (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", "stratisd", "stratis-cli" ] }, "ansible_included_var_files": [ "/WORKDIR/git-main_stratis-support-2_olzkgxl/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 : Check if system is ostree] ****************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:26 Thursday 30 May 2024 20:12:26 +0000 (0:00:00.030) 0:01:04.330 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:31 Thursday 30 May 2024 20:12:26 +0000 (0:00:00.010) 0:01:04.341 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Define an empty list of pools to be used in testing] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 30 May 2024 20:12:26 +0000 (0:00:00.010) 0:01:04.351 ********** ok: [sut] => { "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: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 30 May 2024 20:12:26 +0000 (0:00:00.011) 0:01:04.363 ********** ok: [sut] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : Include the appropriate provider tasks] ***** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 30 May 2024 20:12:26 +0000 (0:00:00.029) 0:01:04.393 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for sut TASK [linux-system-roles.storage : Make sure blivet is available] ************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 30 May 2024 20:12:26 +0000 (0:00:00.025) 0:01:04.418 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Show storage_pools] ************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:11 Thursday 30 May 2024 20:12:26 +0000 (0:00:00.012) 0:01:04.430 ********** ok: [sut] => { "storage_pools": [ { "disks": [ "sda" ], "encryption": true, "name": "foo", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "4g" } ] } ] } TASK [linux-system-roles.storage : Show storage_volumes] *********************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:16 Thursday 30 May 2024 20:12:26 +0000 (0:00:00.016) 0:01:04.446 ********** ok: [sut] => { "storage_volumes": [] } TASK [linux-system-roles.storage : Get required packages] ********************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:21 Thursday 30 May 2024 20:12:26 +0000 (0:00:00.014) 0:01:04.461 ********** ok: [sut] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [ "cryptsetup", "lvm2" ], "pools": [], "volumes": [] } TASK [linux-system-roles.storage : Enable copr repositories if needed] ********* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:34 Thursday 30 May 2024 20:12:30 +0000 (0:00:04.329) 0:01:08.790 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml for sut TASK [linux-system-roles.storage : Check if the COPR support packages should be installed] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:2 Thursday 30 May 2024 20:12:30 +0000 (0:00:00.023) 0:01:08.813 ********** TASK [linux-system-roles.storage : Make sure COPR support packages are present] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:13 Thursday 30 May 2024 20:12:30 +0000 (0:00:00.011) 0:01:08.825 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Enable COPRs] ******************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:20 Thursday 30 May 2024 20:12:30 +0000 (0:00:00.012) 0:01:08.837 ********** TASK [linux-system-roles.storage : Make sure required packages are installed] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:41 Thursday 30 May 2024 20:12:30 +0000 (0:00:00.011) 0:01:08.848 ********** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.storage : Get service facts] ************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:57 Thursday 30 May 2024 20:12:33 +0000 (0:00:02.519) 0:01:11.368 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:64 Thursday 30 May 2024 20:12:33 +0000 (0:00:00.012) 0:01:11.381 ********** ok: [sut] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:78 Thursday 30 May 2024 20:12:33 +0000 (0:00:00.019) 0:01:11.400 ********** TASK [linux-system-roles.storage : Manage the pools and volumes to match the specified state] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:84 Thursday 30 May 2024 20:12:33 +0000 (0:00:00.011) 0:01:11.411 ********** fatal: [sut]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: encrypted pool 'foo' missing key/password TASK [linux-system-roles.storage : Failed message] ***************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:106 Thursday 30 May 2024 20:12:37 +0000 (0:00:04.027) 0:01:15.439 ********** fatal: [sut]: FAILED! => { "changed": false } MSG: {'msg': "encrypted pool 'foo' missing key/password", 'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'invocation': {'module_args': {'pools': [{'disks': ['sda'], 'encryption': True, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'encryption_clevis_pin': None, 'encryption_tang_url': None, 'encryption_tang_thumbprint': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'raid_chunk_size': None, 'shared': False, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': None, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': None, 'fs_label': None, 'fs_type': None, 'mount_options': None, 'mount_point': '/opt/test1', 'mount_user': None, 'mount_group': None, 'mount_mode': None, 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': None, 'cached': None, 'cache_devices': [], 'cache_mode': None, 'cache_size': None, 'compression': None, 'deduplication': None, 'raid_disks': [], 'raid_stripe_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None}]}], 'volumes': [], 'use_partitions': None, 'disklabel_type': None, 'pool_defaults': {'state': 'present', 'type': 'lvm', 'disks': [], 'volumes': [], 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, 'shared': False}, 'volume_defaults': {'state': 'present', 'type': 'lvm', 'size': 0, 'disks': [], 'fs_type': 'xfs', 'fs_label': '', 'fs_create_options': '', 'fs_overwrite_existing': True, 'mount_point': '', 'mount_options': 'defaults', 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_stripe_size': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': []}, 'safe_mode': True, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': False} TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:110 Thursday 30 May 2024 20:12:37 +0000 (0:00:00.015) 0:01:15.454 ********** TASK [Check that we failed in the role] **************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-role-failed.yml:29 Thursday 30 May 2024 20:12:37 +0000 (0:00:00.011) 0:01:15.465 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the blivet output and error message are correct] ****************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-role-failed.yml:34 Thursday 30 May 2024 20:12:37 +0000 (0:00:00.014) 0:01:15.479 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify correct exception or error message] ******************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-role-failed.yml:45 Thursday 30 May 2024 20:12:37 +0000 (0:00:00.019) 0:01:15.499 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Mark tasks to be skipped] ************************************************ task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/tests_luks_pool.yml:95 Thursday 30 May 2024 20:12:37 +0000 (0:00:00.012) 0:01:15.511 ********** ok: [sut] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "packages_installed", "service_facts" ] }, "changed": false } TASK [Create a key file] ******************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/tests_luks_pool.yml:106 Thursday 30 May 2024 20:12:37 +0000 (0:00:00.014) 0:01:15.526 ********** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/storage_testjr4ihqtblukskey", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Write the key into the key file] ***************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/tests_luks_pool.yml:113 Thursday 30 May 2024 20:12:37 +0000 (0:00:00.268) 0:01:15.794 ********** ok: [sut] => { "changed": false, "checksum": "7a4dff3752e2baf5617c57eaac048e2b95e8af91", "dest": "/tmp/storage_testjr4ihqtblukskey", "gid": 0, "group": "root", "md5sum": "4ac07b967150835c00d0865161e48744", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 32, "src": "/root/.ansible/tmp/ansible-tmp-1717099957.6961496-126319-63058664628041/source", "state": "file", "uid": 0 } TASK [Create an encrypted lvm pool using a key file] *************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/tests_luks_pool.yml:120 Thursday 30 May 2024 20:12:38 +0000 (0:00:00.588) 0:01:16.382 ********** TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 30 May 2024 20:12:38 +0000 (0:00:00.018) 0:01:16.401 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for sut TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 30 May 2024 20:12:38 +0000 (0:00:00.015) 0:01:16.417 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 30 May 2024 20:12:38 +0000 (0:00:00.014) 0:01:16.432 ********** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (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", "stratisd", "stratis-cli" ] }, "ansible_included_var_files": [ "/WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [sut] => (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", "stratisd", "stratis-cli" ] }, "ansible_included_var_files": [ "/WORKDIR/git-main_stratis-support-2_olzkgxl/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 : Check if system is ostree] ****************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:26 Thursday 30 May 2024 20:12:38 +0000 (0:00:00.053) 0:01:16.485 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:31 Thursday 30 May 2024 20:12:38 +0000 (0:00:00.012) 0:01:16.498 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Define an empty list of pools to be used in testing] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 30 May 2024 20:12:38 +0000 (0:00:00.012) 0:01:16.510 ********** ok: [sut] => { "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: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 30 May 2024 20:12:38 +0000 (0:00:00.013) 0:01:16.524 ********** ok: [sut] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : Include the appropriate provider tasks] ***** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 30 May 2024 20:12:38 +0000 (0:00:00.011) 0:01:16.535 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for sut TASK [linux-system-roles.storage : Make sure blivet is available] ************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 30 May 2024 20:12:38 +0000 (0:00:00.024) 0:01:16.559 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Show storage_pools] ************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:11 Thursday 30 May 2024 20:12:38 +0000 (0:00:00.012) 0:01:16.572 ********** ok: [sut] => { "storage_pools": [ { "disks": [ "sda" ], "encryption": true, "encryption_key": "/tmp/storage_testjr4ihqtblukskey", "name": "foo", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "4g" } ] } ] } TASK [linux-system-roles.storage : Show storage_volumes] *********************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:16 Thursday 30 May 2024 20:12:38 +0000 (0:00:00.014) 0:01:16.586 ********** ok: [sut] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : Get required packages] ********************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:21 Thursday 30 May 2024 20:12:38 +0000 (0:00:00.012) 0:01:16.598 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Enable copr repositories if needed] ********* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:34 Thursday 30 May 2024 20:12:38 +0000 (0:00:00.012) 0:01:16.611 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Make sure required packages are installed] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:41 Thursday 30 May 2024 20:12:38 +0000 (0:00:00.012) 0:01:16.623 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Get service facts] ************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:57 Thursday 30 May 2024 20:12:38 +0000 (0:00:00.012) 0:01:16.635 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:64 Thursday 30 May 2024 20:12:38 +0000 (0:00:00.011) 0:01:16.647 ********** ok: [sut] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:78 Thursday 30 May 2024 20:12:38 +0000 (0:00:00.017) 0:01:16.664 ********** TASK [linux-system-roles.storage : Manage the pools and volumes to match the specified state] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:84 Thursday 30 May 2024 20:12:38 +0000 (0:00:00.010) 0:01:16.675 ********** changed: [sut] => { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "luks" }, { "action": "create device", "device": "/dev/mapper/luks-7b4f5162-abc6-4647-a6c0-edae15570563", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/luks-7b4f5162-abc6-4647-a6c0-edae15570563", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" } ], "changed": true, "crypts": [ { "backing_device": "/dev/sda", "name": "luks-7b4f5162-abc6-4647-a6c0-edae15570563", "password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "state": "present" } ], "leaves": [ "/dev/sdb", "/dev/sdc", "/dev/sdd", "/dev/sde", "/dev/sdf", "/dev/sdg", "/dev/sdh", "/dev/sdi", "/dev/xvda1", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "group": null, "mode": null, "opts": "defaults", "owner": null, "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "xfsprogs", "cryptsetup", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_clevis_pin": null, "encryption_key": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "encryption_tang_thumbprint": null, "encryption_tang_url": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "shared": false, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_group": null, "mount_mode": null, "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "mount_user": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "raid_stripe_size": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:98 Thursday 30 May 2024 20:12:51 +0000 (0:00:12.984) 0:01:29.660 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:110 Thursday 30 May 2024 20:12:51 +0000 (0:00:00.014) 0:01:29.674 ********** TASK [linux-system-roles.storage : Show blivet_output] ************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:116 Thursday 30 May 2024 20:12:51 +0000 (0:00:00.020) 0:01:29.695 ********** ok: [sut] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "luks" }, { "action": "create device", "device": "/dev/mapper/luks-7b4f5162-abc6-4647-a6c0-edae15570563", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/luks-7b4f5162-abc6-4647-a6c0-edae15570563", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" } ], "changed": true, "crypts": [ { "backing_device": "/dev/sda", "name": "luks-7b4f5162-abc6-4647-a6c0-edae15570563", "password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "state": "present" } ], "failed": false, "leaves": [ "/dev/sdb", "/dev/sdc", "/dev/sdd", "/dev/sde", "/dev/sdf", "/dev/sdg", "/dev/sdh", "/dev/sdi", "/dev/xvda1", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "group": null, "mode": null, "opts": "defaults", "owner": null, "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "xfsprogs", "cryptsetup", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_clevis_pin": null, "encryption_key": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "encryption_tang_thumbprint": null, "encryption_tang_url": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "shared": false, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_group": null, "mount_mode": null, "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "mount_user": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "raid_stripe_size": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : Set the list of pools for test verification] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:125 Thursday 30 May 2024 20:12:51 +0000 (0:00:00.015) 0:01:29.711 ********** ok: [sut] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_clevis_pin": null, "encryption_key": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "encryption_tang_thumbprint": null, "encryption_tang_url": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "shared": false, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_group": null, "mount_mode": null, "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "mount_user": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "raid_stripe_size": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : Set the list of volumes for test verification] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:129 Thursday 30 May 2024 20:12:51 +0000 (0:00:00.016) 0:01:29.728 ********** ok: [sut] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : Remove obsolete mounts] ********************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:145 Thursday 30 May 2024 20:12:51 +0000 (0:00:00.014) 0:01:29.742 ********** TASK [linux-system-roles.storage : Tell systemd to refresh its view of /etc/fstab] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:157 Thursday 30 May 2024 20:12:51 +0000 (0:00:00.015) 0:01:29.758 ********** ok: [sut] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : Set up new/current mounts] ****************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:162 Thursday 30 May 2024 20:12:52 +0000 (0:00:00.663) 0:01:30.421 ********** changed: [sut] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted', 'owner': None, 'group': None, 'mode': None}) => { "ansible_loop_var": "mount_info", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "group": null, "mode": null, "opts": "defaults", "owner": null, "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : Manage mount ownership/permissions] ********* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:174 Thursday 30 May 2024 20:12:52 +0000 (0:00:00.361) 0:01:30.782 ********** skipping: [sut] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted', 'owner': None, 'group': None, 'mode': None}) => { "ansible_loop_var": "mount_info", "changed": false, "mount_info": { "dump": 0, "fstype": "xfs", "group": null, "mode": null, "opts": "defaults", "owner": null, "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Tell systemd to refresh its view of /etc/fstab] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:189 Thursday 30 May 2024 20:12:52 +0000 (0:00:00.022) 0:01:30.805 ********** ok: [sut] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : Retrieve facts for the /etc/crypttab file] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:197 Thursday 30 May 2024 20:12:53 +0000 (0:00:00.472) 0:01:31.277 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717099581.0940008, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1716968941.893, "dev": 51713, "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": 1716968586.525, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "1157759751", "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: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:202 Thursday 30 May 2024 20:12:53 +0000 (0:00:00.300) 0:01:31.578 ********** changed: [sut] => (item={'backing_device': '/dev/sda', 'name': 'luks-7b4f5162-abc6-4647-a6c0-edae15570563', 'password': 'VALUE_SPECIFIED_IN_NO_LOG_PARAMETER', 'state': 'present'}) => { "ansible_loop_var": "entry", "backup": "", "changed": true, "entry": { "backing_device": "/dev/sda", "name": "luks-7b4f5162-abc6-4647-a6c0-edae15570563", "password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "state": "present" } } MSG: line added TASK [linux-system-roles.storage : Update facts] ******************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:224 Thursday 30 May 2024 20:12:53 +0000 (0:00:00.270) 0:01:31.849 ********** ok: [sut] TASK [Verify role results] ***************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/tests_luks_pool.yml:135 Thursday 30 May 2024 20:12:54 +0000 (0:00:00.763) 0:01:32.613 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-role-results.yml for sut TASK [Print out pool information] ********************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-role-results.yml:2 Thursday 30 May 2024 20:12:54 +0000 (0:00:00.019) 0:01:32.632 ********** ok: [sut] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_clevis_pin": null, "encryption_key": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "encryption_tang_thumbprint": null, "encryption_tang_url": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "shared": false, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_group": null, "mount_mode": null, "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "mount_user": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "raid_stripe_size": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-role-results.yml:7 Thursday 30 May 2024 20:12:54 +0000 (0:00:00.027) 0:01:32.660 ********** skipping: [sut] => {} TASK [Collect info about the volumes.] ***************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-role-results.yml:15 Thursday 30 May 2024 20:12:54 +0000 (0:00:00.016) 0:01:32.676 ********** ok: [sut] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "mountpoint": "/opt/test1", "name": "/dev/mapper/foo-test1", "size": "4G", "type": "lvm", "uuid": "9cae024e-5ba5-457d-8a6f-a356a3770e13" }, "/dev/mapper/luks-7b4f5162-abc6-4647-a6c0-edae15570563": { "fstype": "LVM2_member", "label": "", "mountpoint": "", "name": "/dev/mapper/luks-7b4f5162-abc6-4647-a6c0-edae15570563", "size": "10G", "type": "crypt", "uuid": "Wa87U3-NjFD-lVFF-DbzZ-RH3E-vgkN-alMlbs" }, "/dev/sda": { "fstype": "crypto_LUKS", "label": "", "mountpoint": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "7b4f5162-abc6-4647-a6c0-edae15570563" }, "/dev/sdb": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdd": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdd", "size": "1T", "type": "disk", "uuid": "" }, "/dev/sde": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sde", "size": "1T", "type": "disk", "uuid": "" }, "/dev/sdf": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdg": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdg", "size": "1T", "type": "disk", "uuid": "" }, "/dev/sdh": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdh", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdi": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdi", "size": "10G", "type": "disk", "uuid": "" }, "/dev/xvda": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/xvda", "size": "250G", "type": "disk", "uuid": "" }, "/dev/xvda1": { "fstype": "xfs", "label": "", "mountpoint": "/", "name": "/dev/xvda1", "size": "250G", "type": "partition", "uuid": "fe591198-9082-4b15-9b62-e83518524cd2" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-role-results.yml:20 Thursday 30 May 2024 20:12:54 +0000 (0:00:00.264) 0:01:32.941 ********** ok: [sut] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002664", "end": "2024-05-30 20:12:55.040610", "rc": 0, "start": "2024-05-30 20:12:55.037946" } STDOUT: # # /etc/fstab # Created by anaconda on Wed May 29 07:43:06 2024 # # 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=fe591198-9082-4b15-9b62-e83518524cd2 / xfs defaults 0 0 ntap-bos-c01-eng01-nfs01b.storage.bos.redhat.com:/devops_engineering_nfs/devarchive/redhat /mnt/redhat nfs ro,rsize=32768,wsize=8192,bg,noauto,noatime,nosuid,nodev,intr 0 0 nest.test.redhat.com:/mnt/qa /mnt/qa nfs defaults,rsize=8192,wsize=8192,bg,noauto,noatime,nosuid,nodev,intr 0 0 vtap-eng01.storage.rdu2.redhat.com:/vol/engarchive /mnt/engarchive nfs ro,rsize=32768,wsize=8192,bg,noauto,noatime,nosuid,nodev,intr 0 0 nest.test.redhat.com:/mnt/tpsdist /mnt/tpsdist nfs defaults,rsize=8192,wsize=8192,bg,noauto,noatime,nosuid,nodev,intr 0 0 ntap-bos-c01-eng01-nfs01b.storage.bos.redhat.com:/devops_engineering_nfs/devarchive/redhat/brewroot /mnt/brew nfs ro,rsize=32768,wsize=8192,bg,noauto,noatime,nosuid,nodev,intr 0 0 ntap-bos-c01-eng01-nfs01b.storage.bos.redhat.com:/devops_brew_scratch_nfs/scratch /mnt/brew_scratch nfs ro,rsize=32768,wsize=8192,bg,noauto,noatime,nosuid,nodev,intr 0 0 /dev/mapper/foo-test1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-role-results.yml:25 Thursday 30 May 2024 20:12:55 +0000 (0:00:00.252) 0:01:33.193 ********** ok: [sut] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002772", "end": "2024-05-30 20:12:55.236856", "failed_when_result": false, "rc": 0, "start": "2024-05-30 20:12:55.234084" } STDOUT: luks-7b4f5162-abc6-4647-a6c0-edae15570563 /dev/sda VALUE_SPECIFIED_IN_NO_LOG_PARAMETER TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-role-results.yml:34 Thursday 30 May 2024 20:12:55 +0000 (0:00:00.197) 0:01:33.390 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool.yml for sut TASK [Set _storage_pool_tests] ************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool.yml:5 Thursday 30 May 2024 20:12:55 +0000 (0:00:00.026) 0:01:33.416 ********** ok: [sut] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [Get VG shared value status] ********************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool.yml:18 Thursday 30 May 2024 20:12:55 +0000 (0:00:00.011) 0:01:33.428 ********** ok: [sut] => { "changed": false, "cmd": [ "vgs", "--noheadings", "--binary", "-o", "shared", "foo" ], "delta": "0:00:00.030028", "end": "2024-05-30 20:12:55.550384", "rc": 0, "start": "2024-05-30 20:12:55.520356" } STDOUT: 0 TASK [Verify that VG shared value checks out] ********************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool.yml:24 Thursday 30 May 2024 20:12:55 +0000 (0:00:00.275) 0:01:33.703 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify pool subset] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool.yml:34 Thursday 30 May 2024 20:12:55 +0000 (0:00:00.018) 0:01:33.722 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-members.yml for sut included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-volumes.yml for sut TASK [Set test variables] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-members.yml:2 Thursday 30 May 2024 20:12:55 +0000 (0:00:00.028) 0:01:33.750 ********** ok: [sut] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/mapper/luks-7b4f5162-abc6-4647-a6c0-edae15570563" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-members.yml:13 Thursday 30 May 2024 20:12:55 +0000 (0:00:00.017) 0:01:33.767 ********** ok: [sut] => (item=/dev/mapper/luks-7b4f5162-abc6-4647-a6c0-edae15570563) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/mapper/luks-7b4f5162-abc6-4647-a6c0-edae15570563", "pv": "/dev/mapper/luks-7b4f5162-abc6-4647-a6c0-edae15570563" } TASK [Set pvs lvm length] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-members.yml:22 Thursday 30 May 2024 20:12:55 +0000 (0:00:00.328) 0:01:34.096 ********** ok: [sut] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [Set pool pvs] ************************************************************ task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-members.yml:27 Thursday 30 May 2024 20:12:55 +0000 (0:00:00.014) 0:01:34.111 ********** ok: [sut] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/mapper/luks-7b4f5162-abc6-4647-a6c0-edae15570563" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-members.yml:33 Thursday 30 May 2024 20:12:55 +0000 (0:00:00.014) 0:01:34.126 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set expected pv type] **************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-members.yml:42 Thursday 30 May 2024 20:12:56 +0000 (0:00:00.015) 0:01:34.142 ********** ok: [sut] => { "ansible_facts": { "_storage_test_expected_pv_type": "crypt" }, "changed": false } TASK [Set expected pv type] **************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-members.yml:48 Thursday 30 May 2024 20:12:56 +0000 (0:00:00.015) 0:01:34.157 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set expected pv type] **************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-members.yml:54 Thursday 30 May 2024 20:12:56 +0000 (0:00:00.012) 0:01:34.170 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-members.yml:59 Thursday 30 May 2024 20:12:56 +0000 (0:00:00.012) 0:01:34.183 ********** ok: [sut] => (item=/dev/mapper/luks-7b4f5162-abc6-4647-a6c0-edae15570563) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/mapper/luks-7b4f5162-abc6-4647-a6c0-edae15570563" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-members.yml:73 Thursday 30 May 2024 20:12:56 +0000 (0:00:00.021) 0:01:34.204 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-md.yml for sut TASK [Get information about RAID] ********************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-md.yml:8 Thursday 30 May 2024 20:12:56 +0000 (0:00:00.026) 0:01:34.230 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set active devices regex] ************************************************ task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-md.yml:14 Thursday 30 May 2024 20:12:56 +0000 (0:00:00.014) 0:01:34.244 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set spare devices regex] ************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-md.yml:21 Thursday 30 May 2024 20:12:56 +0000 (0:00:00.017) 0:01:34.262 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set md version regex] **************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-md.yml:28 Thursday 30 May 2024 20:12:56 +0000 (0:00:00.013) 0:01:34.275 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set md chunk size regex] ************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-md.yml:35 Thursday 30 May 2024 20:12:56 +0000 (0:00:00.012) 0:01:34.287 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Parse the chunk size] **************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-md.yml:45 Thursday 30 May 2024 20:12:56 +0000 (0:00:00.011) 0:01:34.299 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID active devices count] ***************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-md.yml:54 Thursday 30 May 2024 20:12:56 +0000 (0:00:00.012) 0:01:34.312 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID spare devices count] ****************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-md.yml:64 Thursday 30 May 2024 20:12:56 +0000 (0:00:00.011) 0:01:34.323 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID metadata version] ********************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-md.yml:74 Thursday 30 May 2024 20:12:56 +0000 (0:00:00.010) 0:01:34.334 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID chunk size] *************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-md.yml:85 Thursday 30 May 2024 20:12:56 +0000 (0:00:00.012) 0:01:34.346 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Reset variables used by tests] ******************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-md.yml:95 Thursday 30 May 2024 20:12:56 +0000 (0:00:00.011) 0:01:34.357 ********** ok: [sut] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_chunk_size_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-members.yml:76 Thursday 30 May 2024 20:12:56 +0000 (0:00:00.011) 0:01:34.368 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-members-lvmraid.yml for sut TASK [Validate pool member LVM RAID settings] ********************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-members-lvmraid.yml:2 Thursday 30 May 2024 20:12:56 +0000 (0:00:00.023) 0:01:34.392 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-lvmraid.yml for sut TASK [Get information about the LV] ******************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-lvmraid.yml:8 Thursday 30 May 2024 20:12:56 +0000 (0:00:00.046) 0:01:34.438 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set LV segment type] ***************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-lvmraid.yml:16 Thursday 30 May 2024 20:12:56 +0000 (0:00:00.013) 0:01:34.451 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check segment type] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-lvmraid.yml:21 Thursday 30 May 2024 20:12:56 +0000 (0:00:00.012) 0:01:34.463 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set LV stripe size] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-lvmraid.yml:29 Thursday 30 May 2024 20:12:56 +0000 (0:00:00.011) 0:01:34.475 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Parse the requested stripe size] ***************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-lvmraid.yml:34 Thursday 30 May 2024 20:12:56 +0000 (0:00:00.012) 0:01:34.487 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set expected stripe size] ************************************************ task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-lvmraid.yml:40 Thursday 30 May 2024 20:12:56 +0000 (0:00:00.012) 0:01:34.500 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check stripe size] ******************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-lvmraid.yml:46 Thursday 30 May 2024 20:12:56 +0000 (0:00:00.013) 0:01:34.514 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-members.yml:79 Thursday 30 May 2024 20:12:56 +0000 (0:00:00.012) 0:01:34.526 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-members-thin.yml for sut TASK [Validate pool member thinpool settings] ********************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-members-thin.yml:2 Thursday 30 May 2024 20:12:56 +0000 (0:00:00.024) 0:01:34.551 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-thin.yml for sut TASK [Get information about thinpool] ****************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-thin.yml:8 Thursday 30 May 2024 20:12:56 +0000 (0:00:00.026) 0:01:34.578 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-thin.yml:16 Thursday 30 May 2024 20:12:56 +0000 (0:00:00.012) 0:01:34.591 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-thin.yml:23 Thursday 30 May 2024 20:12:56 +0000 (0:00:00.011) 0:01:34.603 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Reset variable used by test] ********************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-thin.yml:27 Thursday 30 May 2024 20:12:56 +0000 (0:00:00.012) 0:01:34.615 ********** ok: [sut] => { "ansible_facts": { "storage_test_thin_status": null }, "changed": false } TASK [Check member encryption] ************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-members.yml:82 Thursday 30 May 2024 20:12:56 +0000 (0:00:00.011) 0:01:34.626 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-members-encryption.yml for sut TASK [Set test variables] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-members-encryption.yml:5 Thursday 30 May 2024 20:12:56 +0000 (0:00:00.027) 0:01:34.654 ********** ok: [sut] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "1", "_storage_test_expected_crypttab_key_file": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-members-encryption.yml:13 Thursday 30 May 2024 20:12:56 +0000 (0:00:00.014) 0:01:34.668 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-encryption.yml for sut TASK [Get the backing device path] ********************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-encryption.yml:2 Thursday 30 May 2024 20:12:56 +0000 (0:00:00.023) 0:01:34.692 ********** ok: [sut] => { "changed": false, "cmd": [ "realpath", "/dev/disk/by-uuid/7b4f5162-abc6-4647-a6c0-edae15570563" ], "delta": "0:00:00.003725", "end": "2024-05-30 20:12:56.821165", "rc": 0, "start": "2024-05-30 20:12:56.817440" } STDOUT: /dev/sda TASK [Ensure cryptsetup is present] ******************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-encryption.yml:12 Thursday 30 May 2024 20:12:56 +0000 (0:00:00.286) 0:01:34.979 ********** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this member] *************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-encryption.yml:19 Thursday 30 May 2024 20:12:59 +0000 (0:00:03.072) 0:01:38.051 ********** ok: [sut] => { "changed": false, "cmd": [ "cryptsetup", "luksDump", "/dev/sda" ], "delta": "0:00:00.015184", "end": "2024-05-30 20:13:00.104736", "rc": 0, "start": "2024-05-30 20:13:00.089552" } STDOUT: LUKS header information Version: 2 Epoch: 3 Metadata area: 16384 [bytes] Keyslots area: 16744448 [bytes] UUID: 7b4f5162-abc6-4647-a6c0-edae15570563 Label: (no label) Subsystem: (no subsystem) Flags: (no flags) Data segments: 0: crypt offset: 16777216 [bytes] length: (whole device) cipher: aes-xts-plain64 sector: 512 [bytes] Keyslots: 0: luks2 Key: 512 bits Priority: normal Cipher: aes-xts-plain64 Cipher key: 512 bits PBKDF: argon2i Time cost: 4 Memory: 819688 Threads: 2 Salt: 57 c8 8f a1 e4 7b ff 0c 16 c1 37 7c 4d 6d 8e 0a 7f 85 a0 88 c0 01 cb a1 0a 99 1e e9 24 ec 6c f9 AF stripes: 4000 AF hash: sha256 Area offset:32768 [bytes] Area length:258048 [bytes] Digest ID: 0 Tokens: Digests: 0: pbkdf2 Hash: sha256 Iterations: 107084 Salt: 5a b5 77 02 39 f6 50 3e e7 38 7c 2b 81 85 dc 80 2a 2e f7 5c 27 a9 e0 6e 97 96 62 3a 03 bd 92 0e Digest: 21 35 09 71 73 9f d7 1b 73 ba 59 00 b4 45 e1 37 57 99 c8 fc 22 f9 98 c6 af 9d d7 7d c6 df a8 b9 TASK [Check LUKS version] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-encryption.yml:27 Thursday 30 May 2024 20:13:00 +0000 (0:00:00.207) 0:01:38.259 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-encryption.yml:40 Thursday 30 May 2024 20:13:00 +0000 (0:00:00.015) 0:01:38.274 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-encryption.yml:52 Thursday 30 May 2024 20:13:00 +0000 (0:00:00.013) 0:01:38.288 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-members-encryption.yml:20 Thursday 30 May 2024 20:13:00 +0000 (0:00:00.013) 0:01:38.301 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-crypttab.yml for sut TASK [Set variables used by tests] ********************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-crypttab.yml:2 Thursday 30 May 2024 20:13:00 +0000 (0:00:00.026) 0:01:38.328 ********** ok: [sut] => { "ansible_facts": { "_storage_test_crypttab_entries": [ "luks-7b4f5162-abc6-4647-a6c0-edae15570563 /dev/sda VALUE_SPECIFIED_IN_NO_LOG_PARAMETER" ] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-crypttab.yml:9 Thursday 30 May 2024 20:13:00 +0000 (0:00:00.016) 0:01:38.344 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-crypttab.yml:18 Thursday 30 May 2024 20:13:00 +0000 (0:00:00.015) 0:01:38.360 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Check backing device of crypttab entry] ********************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-crypttab.yml:27 Thursday 30 May 2024 20:13:00 +0000 (0:00:00.016) 0:01:38.376 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-crypttab.yml:37 Thursday 30 May 2024 20:13:00 +0000 (0:00:00.012) 0:01:38.388 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Clear test variables] **************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-crypttab.yml:47 Thursday 30 May 2024 20:13:00 +0000 (0:00:00.016) 0:01:38.405 ********** ok: [sut] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [Clear test variables] **************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-members-encryption.yml:27 Thursday 30 May 2024 20:13:00 +0000 (0:00:00.011) 0:01:38.416 ********** ok: [sut] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-members.yml:85 Thursday 30 May 2024 20:13:00 +0000 (0:00:00.012) 0:01:38.429 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-members-vdo.yml for sut TASK [Validate pool member VDO settings] *************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-members-vdo.yml:2 Thursday 30 May 2024 20:13:00 +0000 (0:00:00.043) 0:01:38.472 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-vdo.yml for sut TASK [Get information about VDO deduplication] ********************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-vdo.yml:9 Thursday 30 May 2024 20:13:00 +0000 (0:00:00.025) 0:01:38.497 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if VDO deduplication is off] *************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-vdo.yml:16 Thursday 30 May 2024 20:13:00 +0000 (0:00:00.013) 0:01:38.510 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if VDO deduplication is on] **************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-vdo.yml:22 Thursday 30 May 2024 20:13:00 +0000 (0:00:00.012) 0:01:38.523 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about VDO compression] *********************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-vdo.yml:28 Thursday 30 May 2024 20:13:00 +0000 (0:00:00.011) 0:01:38.535 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if VDO deduplication is off] *************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-vdo.yml:35 Thursday 30 May 2024 20:13:00 +0000 (0:00:00.016) 0:01:38.551 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if VDO deduplication is on] **************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-vdo.yml:41 Thursday 30 May 2024 20:13:00 +0000 (0:00:00.012) 0:01:38.564 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clear test variables] **************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-vdo.yml:47 Thursday 30 May 2024 20:13:00 +0000 (0:00:00.012) 0:01:38.576 ********** ok: [sut] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [Check Stratis] *********************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-members.yml:88 Thursday 30 May 2024 20:13:00 +0000 (0:00:00.012) 0:01:38.589 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-stratis.yml for sut TASK [Run 'stratis report'] **************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-stratis.yml:6 Thursday 30 May 2024 20:13:00 +0000 (0:00:00.028) 0:01:38.617 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about Stratis] ******************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-stratis.yml:11 Thursday 30 May 2024 20:13:00 +0000 (0:00:00.012) 0:01:38.630 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the pools was created] *************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-stratis.yml:15 Thursday 30 May 2024 20:13:00 +0000 (0:00:00.013) 0:01:38.644 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that encryption is correctly set] ********************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-stratis.yml:26 Thursday 30 May 2024 20:13:00 +0000 (0:00:00.012) 0:01:38.657 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that Clevis/Tang encryption is correctly set] ********************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-stratis.yml:36 Thursday 30 May 2024 20:13:00 +0000 (0:00:00.013) 0:01:38.670 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Reset variable used by test] ********************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-stratis.yml:49 Thursday 30 May 2024 20:13:00 +0000 (0:00:00.014) 0:01:38.684 ********** ok: [sut] => { "ansible_facts": { "storage_test_stratis_report": null }, "changed": false } TASK [Clean up test variables] ************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-members.yml:91 Thursday 30 May 2024 20:13:00 +0000 (0:00:00.011) 0:01:38.696 ********** ok: [sut] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [Verify the volumes] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-volumes.yml:3 Thursday 30 May 2024 20:13:00 +0000 (0:00:00.014) 0:01:38.710 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume.yml for sut TASK [Set storage volume test variables] *************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume.yml:2 Thursday 30 May 2024 20:13:00 +0000 (0:00:00.024) 0:01:38.735 ********** ok: [sut] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [Run test verify for {{ storage_test_volume_subset }}] ******************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume.yml:21 Thursday 30 May 2024 20:13:00 +0000 (0:00:00.017) 0:01:38.753 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-mount.yml for sut included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-fstab.yml for sut included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-fs.yml for sut included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-device.yml for sut included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml for sut included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-md.yml for sut included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml for sut included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-cache.yml for sut TASK [Get expected mount device based on device type] ************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-mount.yml:7 Thursday 30 May 2024 20:13:00 +0000 (0:00:00.063) 0:01:38.816 ********** ok: [sut] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-mount.yml:16 Thursday 30 May 2024 20:13:00 +0000 (0:00:00.018) 0:01:38.835 ********** ok: [sut] => { "ansible_facts": { "storage_test_mount_expected_mount_point": "/opt/test1", "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Get information about the mountpoint directory] ************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-mount.yml:30 Thursday 30 May 2024 20:13:00 +0000 (0:00:00.018) 0:01:38.853 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by device] ******************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-mount.yml:43 Thursday 30 May 2024 20:13:00 +0000 (0:00:00.012) 0:01:38.866 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify mount directory user] ********************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-mount.yml:52 Thursday 30 May 2024 20:13:00 +0000 (0:00:00.016) 0:01:38.883 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify mount directory group] ******************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-mount.yml:64 Thursday 30 May 2024 20:13:00 +0000 (0:00:00.012) 0:01:38.895 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify mount directory permissions] ************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-mount.yml:76 Thursday 30 May 2024 20:13:00 +0000 (0:00:00.018) 0:01:38.914 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get path of test volume device] ****************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-mount.yml:91 Thursday 30 May 2024 20:13:00 +0000 (0:00:00.012) 0:01:38.927 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-mount.yml:97 Thursday 30 May 2024 20:13:00 +0000 (0:00:00.012) 0:01:38.939 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-mount.yml:103 Thursday 30 May 2024 20:13:00 +0000 (0:00:00.012) 0:01:38.952 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-mount.yml:115 Thursday 30 May 2024 20:13:00 +0000 (0:00:00.013) 0:01:38.965 ********** ok: [sut] => { "ansible_facts": { "storage_test_found_mount_stat": null, "storage_test_mount_expected_mount_point": 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: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-fstab.yml:2 Thursday 30 May 2024 20:13:00 +0000 (0:00:00.011) 0:01:38.976 ********** ok: [sut] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-fstab.yml:40 Thursday 30 May 2024 20:13:00 +0000 (0:00:00.024) 0:01:39.001 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-fstab.yml:48 Thursday 30 May 2024 20:13:00 +0000 (0:00:00.014) 0:01:39.016 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-fstab.yml:58 Thursday 30 May 2024 20:13:00 +0000 (0:00:00.014) 0:01:39.031 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-fstab.yml:71 Thursday 30 May 2024 20:13:00 +0000 (0:00:00.012) 0:01:39.043 ********** ok: [sut] => { "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: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-fs.yml:6 Thursday 30 May 2024 20:13:00 +0000 (0:00:00.012) 0:01:39.055 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-fs.yml:17 Thursday 30 May 2024 20:13:00 +0000 (0:00:00.016) 0:01:39.072 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-device.yml:3 Thursday 30 May 2024 20:13:00 +0000 (0:00:00.019) 0:01:39.092 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717099971.445972, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1717099971.445972, "dev": 6, "device_type": 64769, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 76507, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1717099971.445972, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-device.yml:9 Thursday 30 May 2024 20:13:01 +0000 (0:00:00.194) 0:01:39.286 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the presence/absence of the device node] ************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-device.yml:16 Thursday 30 May 2024 20:13:01 +0000 (0:00:00.016) 0:01:39.302 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about this volume] ********************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-device.yml:24 Thursday 30 May 2024 20:13:01 +0000 (0:00:00.012) 0:01:39.315 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Process volume type (set initial value) (1/2)] *************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-device.yml:30 Thursday 30 May 2024 20:13:01 +0000 (0:00:00.014) 0:01:39.330 ********** ok: [sut] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [Process volume type (get RAID value) (2/2)] ****************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-device.yml:34 Thursday 30 May 2024 20:13:01 +0000 (0:00:00.013) 0:01:39.343 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-device.yml:39 Thursday 30 May 2024 20:13:01 +0000 (0:00:00.012) 0:01:39.356 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:3 Thursday 30 May 2024 20:13:01 +0000 (0:00:00.015) 0:01:39.372 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:10 Thursday 30 May 2024 20:13:01 +0000 (0:00:00.033) 0:01:39.405 ********** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:17 Thursday 30 May 2024 20:13:03 +0000 (0:00:02.519) 0:01:41.925 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:23 Thursday 30 May 2024 20:13:03 +0000 (0:00:00.012) 0:01:41.938 ********** skipping: [sut] => { "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: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:32 Thursday 30 May 2024 20:13:03 +0000 (0:00:00.012) 0:01:41.950 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:45 Thursday 30 May 2024 20:13:03 +0000 (0:00:00.016) 0:01:41.967 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:51 Thursday 30 May 2024 20:13:03 +0000 (0:00:00.012) 0:01:41.980 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:56 Thursday 30 May 2024 20:13:03 +0000 (0:00:00.011) 0:01:41.991 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:69 Thursday 30 May 2024 20:13:03 +0000 (0:00:00.012) 0:01:42.004 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:81 Thursday 30 May 2024 20:13:03 +0000 (0:00:00.021) 0:01:42.026 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set test variables] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:94 Thursday 30 May 2024 20:13:03 +0000 (0:00:00.014) 0:01:42.041 ********** ok: [sut] => { "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: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:106 Thursday 30 May 2024 20:13:03 +0000 (0:00:00.026) 0:01:42.067 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:114 Thursday 30 May 2024 20:13:03 +0000 (0:00:00.019) 0:01:42.087 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:122 Thursday 30 May 2024 20:13:03 +0000 (0:00:00.012) 0:01:42.100 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:131 Thursday 30 May 2024 20:13:03 +0000 (0:00:00.017) 0:01:42.117 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clear test variables] **************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:140 Thursday 30 May 2024 20:13:03 +0000 (0:00:00.012) 0:01:42.130 ********** ok: [sut] => { "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: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-md.yml:8 Thursday 30 May 2024 20:13:04 +0000 (0:00:00.016) 0:01:42.146 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set active devices regex] ************************************************ task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-md.yml:14 Thursday 30 May 2024 20:13:04 +0000 (0:00:00.018) 0:01:42.165 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set spare devices regex] ************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-md.yml:21 Thursday 30 May 2024 20:13:04 +0000 (0:00:00.013) 0:01:42.179 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set md version regex] **************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-md.yml:28 Thursday 30 May 2024 20:13:04 +0000 (0:00:00.022) 0:01:42.202 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set chunk size regex] **************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-md.yml:35 Thursday 30 May 2024 20:13:04 +0000 (0:00:00.018) 0:01:42.220 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Parse the chunk size] **************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-md.yml:45 Thursday 30 May 2024 20:13:04 +0000 (0:00:00.013) 0:01:42.234 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID active devices count] ***************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-md.yml:54 Thursday 30 May 2024 20:13:04 +0000 (0:00:00.013) 0:01:42.248 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID spare devices count] ****************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-md.yml:63 Thursday 30 May 2024 20:13:04 +0000 (0:00:00.014) 0:01:42.262 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID metadata version] ********************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-md.yml:72 Thursday 30 May 2024 20:13:04 +0000 (0:00:00.012) 0:01:42.275 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID chunk size] *************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-md.yml:81 Thursday 30 May 2024 20:13:04 +0000 (0:00:00.021) 0:01:42.296 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Parse the actual size of the volume] ************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:3 Thursday 30 May 2024 20:13:04 +0000 (0:00:00.015) 0:01:42.311 ********** ok: [sut] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [Parse the requested size of the volume] ********************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:11 Thursday 30 May 2024 20:13:04 +0000 (0:00:00.272) 0:01:42.584 ********** ok: [sut] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [Establish base value for expected size] ********************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:20 Thursday 30 May 2024 20:13:04 +0000 (0:00:00.189) 0:01:42.774 ********** ok: [sut] => { "ansible_facts": { "storage_test_expected_size": "4294967296" }, "changed": false } TASK [Show expected size] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:28 Thursday 30 May 2024 20:13:04 +0000 (0:00:00.017) 0:01:42.791 ********** ok: [sut] => { "storage_test_expected_size": "4294967296" } TASK [Get the size of parent/pool device] ************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:32 Thursday 30 May 2024 20:13:04 +0000 (0:00:00.012) 0:01:42.804 ********** ok: [sut] => { "bytes": 10715943403, "changed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } TASK [Show test pool] ********************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:46 Thursday 30 May 2024 20:13:04 +0000 (0:00:00.192) 0:01:42.997 ********** skipping: [sut] => {} TASK [Show test blockinfo] ***************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:50 Thursday 30 May 2024 20:13:04 +0000 (0:00:00.015) 0:01:43.012 ********** skipping: [sut] => {} TASK [Show test pool size] ***************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:54 Thursday 30 May 2024 20:13:04 +0000 (0:00:00.017) 0:01:43.029 ********** skipping: [sut] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:58 Thursday 30 May 2024 20:13:04 +0000 (0:00:00.025) 0:01:43.054 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Default thin pool reserved space values] ********************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:68 Thursday 30 May 2024 20:13:04 +0000 (0:00:00.016) 0:01:43.071 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Default minimal thin pool reserved space size] *************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:72 Thursday 30 May 2024 20:13:04 +0000 (0:00:00.013) 0:01:43.085 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Default maximal thin pool reserved space size] *************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:77 Thursday 30 May 2024 20:13:04 +0000 (0:00:00.012) 0:01:43.098 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Calculate maximum usable space in thin pool] ***************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:83 Thursday 30 May 2024 20:13:04 +0000 (0:00:00.016) 0:01:43.114 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply upper size limit to max usable thin pool space] ******************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:88 Thursday 30 May 2024 20:13:04 +0000 (0:00:00.016) 0:01:43.130 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply lower size limit to max usable thin pool space] ******************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:96 Thursday 30 May 2024 20:13:05 +0000 (0:00:00.013) 0:01:43.143 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Convert maximum usable thin pool space from int to Size] ***************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:104 Thursday 30 May 2024 20:13:05 +0000 (0:00:00.012) 0:01:43.156 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Show max thin pool size] ************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:109 Thursday 30 May 2024 20:13:05 +0000 (0:00:00.019) 0:01:43.175 ********** skipping: [sut] => {} TASK [Show volume thin pool size] ********************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:113 Thursday 30 May 2024 20:13:05 +0000 (0:00:00.013) 0:01:43.188 ********** skipping: [sut] => {} TASK [Show test volume size] *************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:117 Thursday 30 May 2024 20:13:05 +0000 (0:00:00.027) 0:01:43.216 ********** skipping: [sut] => {} TASK [Establish base value for expected thin pool size] ************************ task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:121 Thursday 30 May 2024 20:13:05 +0000 (0:00:00.014) 0:01:43.230 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:129 Thursday 30 May 2024 20:13:05 +0000 (0:00:00.015) 0:01:43.245 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected thin pool volume size] ***************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:138 Thursday 30 May 2024 20:13:05 +0000 (0:00:00.013) 0:01:43.258 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Calculate the expected thin pool volume size based on percentage value] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:142 Thursday 30 May 2024 20:13:05 +0000 (0:00:00.012) 0:01:43.271 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Replace expected volume size with calculated value] ********************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:150 Thursday 30 May 2024 20:13:05 +0000 (0:00:00.014) 0:01:43.285 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Show actual size] ******************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:156 Thursday 30 May 2024 20:13:05 +0000 (0:00:00.013) 0:01:43.299 ********** ok: [sut] => { "storage_test_actual_size": { "bytes": 4294967296, "changed": false, "failed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } } TASK [Show expected size] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:160 Thursday 30 May 2024 20:13:05 +0000 (0:00:00.015) 0:01:43.314 ********** ok: [sut] => { "storage_test_expected_size": "4294967296" } TASK [Assert expected size is actual size] ************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:164 Thursday 30 May 2024 20:13:05 +0000 (0:00:00.017) 0:01:43.332 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-cache.yml:5 Thursday 30 May 2024 20:13:05 +0000 (0:00:00.058) 0:01:43.391 ********** ok: [sut] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.031262", "end": "2024-05-30 20:13:05.460588", "rc": 0, "start": "2024-05-30 20:13:05.429326" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [Set LV segment type] ***************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-cache.yml:13 Thursday 30 May 2024 20:13:05 +0000 (0:00:00.223) 0:01:43.614 ********** ok: [sut] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [Check segment type] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-cache.yml:18 Thursday 30 May 2024 20:13:05 +0000 (0:00:00.016) 0:01:43.631 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set LV cache size] ******************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-cache.yml:27 Thursday 30 May 2024 20:13:05 +0000 (0:00:00.017) 0:01:43.648 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Parse the requested cache size] ****************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-cache.yml:35 Thursday 30 May 2024 20:13:05 +0000 (0:00:00.013) 0:01:43.662 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set expected cache size] ************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-cache.yml:41 Thursday 30 May 2024 20:13:05 +0000 (0:00:00.013) 0:01:43.676 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-cache.yml:47 Thursday 30 May 2024 20:13:05 +0000 (0:00:00.013) 0:01:43.689 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume.yml:27 Thursday 30 May 2024 20:13:05 +0000 (0:00:00.013) 0:01:43.703 ********** ok: [sut] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-role-results.yml:44 Thursday 30 May 2024 20:13:05 +0000 (0:00:00.012) 0:01:43.716 ********** TASK [Clean up variable namespace] ********************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-role-results.yml:54 Thursday 30 May 2024 20:13:05 +0000 (0:00:00.011) 0:01:43.727 ********** ok: [sut] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Remove the key file] ***************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/tests_luks_pool.yml:138 Thursday 30 May 2024 20:13:05 +0000 (0:00:00.011) 0:01:43.738 ********** ok: [sut] => { "changed": false, "path": "/tmp/storage_testjr4ihqtblukskey", "state": "absent" } TASK [Create a file] *********************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/create-test-file.yml:12 Thursday 30 May 2024 20:13:05 +0000 (0:00:00.247) 0:01:43.986 ********** changed: [sut] => { "changed": true, "dest": "/opt/test1/quux", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:unlabeled_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Test for correct handling of safe_mode] ********************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/tests_luks_pool.yml:147 Thursday 30 May 2024 20:13:06 +0000 (0:00:00.200) 0:01:44.186 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-role-failed.yml for sut TASK [Store global variable value copy] **************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-role-failed.yml:4 Thursday 30 May 2024 20:13:06 +0000 (0:00:00.019) 0:01:44.206 ********** ok: [sut] => { "ansible_facts": { "storage_pools_global": [], "storage_safe_mode_global": true, "storage_volumes_global": [] }, "changed": false } TASK [Verify role raises correct error] **************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-role-failed.yml:10 Thursday 30 May 2024 20:13:06 +0000 (0:00:00.016) 0:01:44.222 ********** TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 30 May 2024 20:13:06 +0000 (0:00:00.016) 0:01:44.239 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for sut TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 30 May 2024 20:13:06 +0000 (0:00:00.017) 0:01:44.257 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 30 May 2024 20:13:06 +0000 (0:00:00.015) 0:01:44.272 ********** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (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", "stratisd", "stratis-cli" ] }, "ansible_included_var_files": [ "/WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [sut] => (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", "stratisd", "stratis-cli" ] }, "ansible_included_var_files": [ "/WORKDIR/git-main_stratis-support-2_olzkgxl/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 : Check if system is ostree] ****************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:26 Thursday 30 May 2024 20:13:06 +0000 (0:00:00.034) 0:01:44.307 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:31 Thursday 30 May 2024 20:13:06 +0000 (0:00:00.014) 0:01:44.321 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Define an empty list of pools to be used in testing] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 30 May 2024 20:13:06 +0000 (0:00:00.015) 0:01:44.337 ********** ok: [sut] => { "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: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 30 May 2024 20:13:06 +0000 (0:00:00.012) 0:01:44.349 ********** ok: [sut] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : Include the appropriate provider tasks] ***** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 30 May 2024 20:13:06 +0000 (0:00:00.011) 0:01:44.361 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for sut TASK [linux-system-roles.storage : Make sure blivet is available] ************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 30 May 2024 20:13:06 +0000 (0:00:00.027) 0:01:44.388 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Show storage_pools] ************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:11 Thursday 30 May 2024 20:13:06 +0000 (0:00:00.013) 0:01:44.401 ********** ok: [sut] => { "storage_pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_password": "yabbadabbadoo", "name": "foo", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "4g" } ] } ] } TASK [linux-system-roles.storage : Show storage_volumes] *********************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:16 Thursday 30 May 2024 20:13:06 +0000 (0:00:00.016) 0:01:44.418 ********** ok: [sut] => { "storage_volumes": [] } TASK [linux-system-roles.storage : Get required packages] ********************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:21 Thursday 30 May 2024 20:13:06 +0000 (0:00:00.015) 0:01:44.434 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Enable copr repositories if needed] ********* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:34 Thursday 30 May 2024 20:13:06 +0000 (0:00:00.012) 0:01:44.446 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Make sure required packages are installed] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:41 Thursday 30 May 2024 20:13:06 +0000 (0:00:00.012) 0:01:44.459 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Get service facts] ************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:57 Thursday 30 May 2024 20:13:06 +0000 (0:00:00.013) 0:01:44.472 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:64 Thursday 30 May 2024 20:13:06 +0000 (0:00:00.012) 0:01:44.485 ********** ok: [sut] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:78 Thursday 30 May 2024 20:13:06 +0000 (0:00:00.019) 0:01:44.505 ********** TASK [linux-system-roles.storage : Manage the pools and volumes to match the specified state] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:84 Thursday 30 May 2024 20:13:06 +0000 (0:00:00.011) 0:01:44.516 ********** fatal: [sut]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: cannot remove and recreate existing pool 'foo' in safe mode TASK [linux-system-roles.storage : Failed message] ***************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:106 Thursday 30 May 2024 20:13:10 +0000 (0:00:04.405) 0:01:48.921 ********** fatal: [sut]: FAILED! => { "changed": false } MSG: {'msg': "cannot remove and recreate existing pool 'foo' in safe mode", 'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'invocation': {'module_args': {'pools': [{'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': 0, 'encryption_luks_version': 'luks2', 'encryption_password': 'VALUE_SPECIFIED_IN_NO_LOG_PARAMETER', 'encryption_clevis_pin': None, 'encryption_tang_url': None, 'encryption_tang_thumbprint': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'raid_chunk_size': None, 'shared': False, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': None, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': None, 'fs_label': None, 'fs_type': None, 'mount_options': None, 'mount_point': '/opt/test1', 'mount_user': None, 'mount_group': None, 'mount_mode': None, 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': None, 'cached': None, 'cache_devices': [], 'cache_mode': None, 'cache_size': None, 'compression': None, 'deduplication': None, 'raid_disks': [], 'raid_stripe_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None}]}], 'volumes': [], 'use_partitions': None, 'disklabel_type': None, 'pool_defaults': {'state': 'present', 'type': 'lvm', 'disks': [], 'volumes': [], 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, 'shared': False}, 'volume_defaults': {'state': 'present', 'type': 'lvm', 'size': 0, 'disks': [], 'fs_type': 'xfs', 'fs_label': '', 'fs_create_options': '', 'fs_overwrite_existing': True, 'mount_point': '', 'mount_options': 'defaults', 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_stripe_size': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': []}, 'safe_mode': True, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': False} TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:110 Thursday 30 May 2024 20:13:10 +0000 (0:00:00.016) 0:01:48.938 ********** TASK [Check that we failed in the role] **************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-role-failed.yml:29 Thursday 30 May 2024 20:13:10 +0000 (0:00:00.011) 0:01:48.950 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the blivet output and error message are correct] ****************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-role-failed.yml:34 Thursday 30 May 2024 20:13:10 +0000 (0:00:00.037) 0:01:48.987 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify correct exception or error message] ******************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-role-failed.yml:45 Thursday 30 May 2024 20:13:10 +0000 (0:00:00.020) 0:01:49.007 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the file] *********************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-data-preservation.yml:11 Thursday 30 May 2024 20:13:10 +0000 (0:00:00.012) 0:01:49.020 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717099986.032961, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1717099986.032961, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 131, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0644", "mtime": 1717099986.032961, "nlink": 1, "path": "/opt/test1/quux", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "version": "3296763869", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Assert file presence] **************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-data-preservation.yml:16 Thursday 30 May 2024 20:13:11 +0000 (0:00:00.204) 0:01:49.225 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove the encryption layer] ********************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/tests_luks_pool.yml:169 Thursday 30 May 2024 20:13:11 +0000 (0:00:00.029) 0:01:49.255 ********** TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 30 May 2024 20:13:11 +0000 (0:00:00.026) 0:01:49.281 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for sut TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 30 May 2024 20:13:11 +0000 (0:00:00.019) 0:01:49.300 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 30 May 2024 20:13:11 +0000 (0:00:00.018) 0:01:49.319 ********** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (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", "stratisd", "stratis-cli" ] }, "ansible_included_var_files": [ "/WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [sut] => (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", "stratisd", "stratis-cli" ] }, "ansible_included_var_files": [ "/WORKDIR/git-main_stratis-support-2_olzkgxl/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 : Check if system is ostree] ****************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:26 Thursday 30 May 2024 20:13:11 +0000 (0:00:00.032) 0:01:49.352 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:31 Thursday 30 May 2024 20:13:11 +0000 (0:00:00.012) 0:01:49.365 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Define an empty list of pools to be used in testing] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 30 May 2024 20:13:11 +0000 (0:00:00.012) 0:01:49.377 ********** ok: [sut] => { "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: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 30 May 2024 20:13:11 +0000 (0:00:00.011) 0:01:49.388 ********** ok: [sut] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : Include the appropriate provider tasks] ***** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 30 May 2024 20:13:11 +0000 (0:00:00.012) 0:01:49.400 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for sut TASK [linux-system-roles.storage : Make sure blivet is available] ************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 30 May 2024 20:13:11 +0000 (0:00:00.024) 0:01:49.425 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Show storage_pools] ************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:11 Thursday 30 May 2024 20:13:11 +0000 (0:00:00.014) 0:01:49.440 ********** ok: [sut] => { "storage_pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_password": "yabbadabbadoo", "name": "foo", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "4g" } ] } ] } TASK [linux-system-roles.storage : Show storage_volumes] *********************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:16 Thursday 30 May 2024 20:13:11 +0000 (0:00:00.019) 0:01:49.459 ********** ok: [sut] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : Get required packages] ********************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:21 Thursday 30 May 2024 20:13:11 +0000 (0:00:00.013) 0:01:49.473 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Enable copr repositories if needed] ********* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:34 Thursday 30 May 2024 20:13:11 +0000 (0:00:00.012) 0:01:49.486 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Make sure required packages are installed] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:41 Thursday 30 May 2024 20:13:11 +0000 (0:00:00.012) 0:01:49.498 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Get service facts] ************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:57 Thursday 30 May 2024 20:13:11 +0000 (0:00:00.012) 0:01:49.511 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:64 Thursday 30 May 2024 20:13:11 +0000 (0:00:00.012) 0:01:49.523 ********** ok: [sut] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:78 Thursday 30 May 2024 20:13:11 +0000 (0:00:00.021) 0:01:49.544 ********** TASK [linux-system-roles.storage : Manage the pools and volumes to match the specified state] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:84 Thursday 30 May 2024 20:13:11 +0000 (0:00:00.012) 0:01:49.557 ********** changed: [sut] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/mapper/luks-7b4f5162-abc6-4647-a6c0-edae15570563", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/mapper/luks-7b4f5162-abc6-4647-a6c0-edae15570563", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "luks" }, { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" } ], "changed": true, "crypts": [ { "backing_device": "/dev/sda", "name": "luks-7b4f5162-abc6-4647-a6c0-edae15570563", "password": "-", "state": "absent" } ], "leaves": [ "/dev/sdb", "/dev/sdc", "/dev/sdd", "/dev/sde", "/dev/sdf", "/dev/sdg", "/dev/sdh", "/dev/sdi", "/dev/xvda1", "/dev/mapper/foo-test1" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" }, { "dump": 0, "fstype": "xfs", "group": null, "mode": null, "opts": "defaults", "owner": null, "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "xfsprogs", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_clevis_pin": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks2", "encryption_password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "encryption_tang_thumbprint": null, "encryption_tang_url": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "shared": false, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_group": null, "mount_mode": null, "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "mount_user": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "raid_stripe_size": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:98 Thursday 30 May 2024 20:13:17 +0000 (0:00:05.689) 0:01:55.247 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:110 Thursday 30 May 2024 20:13:17 +0000 (0:00:00.013) 0:01:55.260 ********** TASK [linux-system-roles.storage : Show blivet_output] ************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:116 Thursday 30 May 2024 20:13:17 +0000 (0:00:00.010) 0:01:55.271 ********** ok: [sut] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/mapper/luks-7b4f5162-abc6-4647-a6c0-edae15570563", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/mapper/luks-7b4f5162-abc6-4647-a6c0-edae15570563", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "luks" }, { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" } ], "changed": true, "crypts": [ { "backing_device": "/dev/sda", "name": "luks-7b4f5162-abc6-4647-a6c0-edae15570563", "password": "-", "state": "absent" } ], "failed": false, "leaves": [ "/dev/sdb", "/dev/sdc", "/dev/sdd", "/dev/sde", "/dev/sdf", "/dev/sdg", "/dev/sdh", "/dev/sdi", "/dev/xvda1", "/dev/mapper/foo-test1" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" }, { "dump": 0, "fstype": "xfs", "group": null, "mode": null, "opts": "defaults", "owner": null, "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "xfsprogs", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_clevis_pin": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks2", "encryption_password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "encryption_tang_thumbprint": null, "encryption_tang_url": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "shared": false, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_group": null, "mount_mode": null, "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "mount_user": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "raid_stripe_size": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : Set the list of pools for test verification] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:125 Thursday 30 May 2024 20:13:17 +0000 (0:00:00.016) 0:01:55.288 ********** ok: [sut] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_clevis_pin": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks2", "encryption_password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "encryption_tang_thumbprint": null, "encryption_tang_url": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "shared": false, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_group": null, "mount_mode": null, "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "mount_user": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "raid_stripe_size": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : Set the list of volumes for test verification] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:129 Thursday 30 May 2024 20:13:17 +0000 (0:00:00.015) 0:01:55.303 ********** ok: [sut] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : Remove obsolete mounts] ********************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:145 Thursday 30 May 2024 20:13:17 +0000 (0:00:00.013) 0:01:55.317 ********** changed: [sut] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : Tell systemd to refresh its view of /etc/fstab] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:157 Thursday 30 May 2024 20:13:17 +0000 (0:00:00.202) 0:01:55.519 ********** ok: [sut] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : Set up new/current mounts] ****************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:162 Thursday 30 May 2024 20:13:17 +0000 (0:00:00.470) 0:01:55.990 ********** changed: [sut] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted', 'owner': None, 'group': None, 'mode': None}) => { "ansible_loop_var": "mount_info", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "group": null, "mode": null, "opts": "defaults", "owner": null, "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : Manage mount ownership/permissions] ********* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:174 Thursday 30 May 2024 20:13:18 +0000 (0:00:00.217) 0:01:56.208 ********** skipping: [sut] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted', 'owner': None, 'group': None, 'mode': None}) => { "ansible_loop_var": "mount_info", "changed": false, "mount_info": { "dump": 0, "fstype": "xfs", "group": null, "mode": null, "opts": "defaults", "owner": null, "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Tell systemd to refresh its view of /etc/fstab] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:189 Thursday 30 May 2024 20:13:18 +0000 (0:00:00.019) 0:01:56.227 ********** ok: [sut] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : Retrieve facts for the /etc/crypttab file] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:197 Thursday 30 May 2024 20:13:18 +0000 (0:00:00.463) 0:01:56.690 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717099975.234969, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e1301897d98b679d7b94593d697a2e44e01751c0", "ctime": 1717099973.68897, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 20980866, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1717099973.6879702, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 87, "uid": 0, "version": "1787759169", "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: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:202 Thursday 30 May 2024 20:13:18 +0000 (0:00:00.202) 0:01:56.893 ********** changed: [sut] => (item={'backing_device': '/dev/sda', 'name': 'luks-7b4f5162-abc6-4647-a6c0-edae15570563', 'password': '-', 'state': 'absent'}) => { "ansible_loop_var": "entry", "backup": "", "changed": true, "entry": { "backing_device": "/dev/sda", "name": "luks-7b4f5162-abc6-4647-a6c0-edae15570563", "password": "-", "state": "absent" }, "found": 1 } MSG: 1 line(s) removed TASK [linux-system-roles.storage : Update facts] ******************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:224 Thursday 30 May 2024 20:13:18 +0000 (0:00:00.203) 0:01:57.097 ********** ok: [sut] TASK [Verify role results] ***************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/tests_luks_pool.yml:185 Thursday 30 May 2024 20:13:19 +0000 (0:00:00.626) 0:01:57.723 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-role-results.yml for sut TASK [Print out pool information] ********************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-role-results.yml:2 Thursday 30 May 2024 20:13:19 +0000 (0:00:00.020) 0:01:57.744 ********** ok: [sut] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_clevis_pin": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks2", "encryption_password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "encryption_tang_thumbprint": null, "encryption_tang_url": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "shared": false, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_group": null, "mount_mode": null, "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "mount_user": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "raid_stripe_size": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-role-results.yml:7 Thursday 30 May 2024 20:13:19 +0000 (0:00:00.017) 0:01:57.762 ********** skipping: [sut] => {} TASK [Collect info about the volumes.] ***************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-role-results.yml:15 Thursday 30 May 2024 20:13:19 +0000 (0:00:00.012) 0:01:57.775 ********** ok: [sut] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "mountpoint": "/opt/test1", "name": "/dev/mapper/foo-test1", "size": "4G", "type": "lvm", "uuid": "254ee63e-170c-40f5-8e4e-69535be612f3" }, "/dev/sda": { "fstype": "LVM2_member", "label": "", "mountpoint": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "UsQN1y-jx0o-f5e0-vhSH-Wpr3-Y1ia-1jJ3QR" }, "/dev/sdb": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdd": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdd", "size": "1T", "type": "disk", "uuid": "" }, "/dev/sde": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sde", "size": "1T", "type": "disk", "uuid": "" }, "/dev/sdf": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdg": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdg", "size": "1T", "type": "disk", "uuid": "" }, "/dev/sdh": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdh", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdi": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdi", "size": "10G", "type": "disk", "uuid": "" }, "/dev/xvda": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/xvda", "size": "250G", "type": "disk", "uuid": "" }, "/dev/xvda1": { "fstype": "xfs", "label": "", "mountpoint": "/", "name": "/dev/xvda1", "size": "250G", "type": "partition", "uuid": "fe591198-9082-4b15-9b62-e83518524cd2" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-role-results.yml:20 Thursday 30 May 2024 20:13:19 +0000 (0:00:00.196) 0:01:57.971 ********** ok: [sut] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002753", "end": "2024-05-30 20:13:20.006980", "rc": 0, "start": "2024-05-30 20:13:20.004227" } STDOUT: # # /etc/fstab # Created by anaconda on Wed May 29 07:43:06 2024 # # 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=fe591198-9082-4b15-9b62-e83518524cd2 / xfs defaults 0 0 ntap-bos-c01-eng01-nfs01b.storage.bos.redhat.com:/devops_engineering_nfs/devarchive/redhat /mnt/redhat nfs ro,rsize=32768,wsize=8192,bg,noauto,noatime,nosuid,nodev,intr 0 0 nest.test.redhat.com:/mnt/qa /mnt/qa nfs defaults,rsize=8192,wsize=8192,bg,noauto,noatime,nosuid,nodev,intr 0 0 vtap-eng01.storage.rdu2.redhat.com:/vol/engarchive /mnt/engarchive nfs ro,rsize=32768,wsize=8192,bg,noauto,noatime,nosuid,nodev,intr 0 0 nest.test.redhat.com:/mnt/tpsdist /mnt/tpsdist nfs defaults,rsize=8192,wsize=8192,bg,noauto,noatime,nosuid,nodev,intr 0 0 ntap-bos-c01-eng01-nfs01b.storage.bos.redhat.com:/devops_engineering_nfs/devarchive/redhat/brewroot /mnt/brew nfs ro,rsize=32768,wsize=8192,bg,noauto,noatime,nosuid,nodev,intr 0 0 ntap-bos-c01-eng01-nfs01b.storage.bos.redhat.com:/devops_brew_scratch_nfs/scratch /mnt/brew_scratch nfs ro,rsize=32768,wsize=8192,bg,noauto,noatime,nosuid,nodev,intr 0 0 /dev/mapper/foo-test1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-role-results.yml:25 Thursday 30 May 2024 20:13:20 +0000 (0:00:00.189) 0:01:58.160 ********** ok: [sut] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002731", "end": "2024-05-30 20:13:20.199355", "failed_when_result": false, "rc": 0, "start": "2024-05-30 20:13:20.196624" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-role-results.yml:34 Thursday 30 May 2024 20:13:20 +0000 (0:00:00.191) 0:01:58.352 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool.yml for sut TASK [Set _storage_pool_tests] ************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool.yml:5 Thursday 30 May 2024 20:13:20 +0000 (0:00:00.025) 0:01:58.378 ********** ok: [sut] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [Get VG shared value status] ********************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool.yml:18 Thursday 30 May 2024 20:13:20 +0000 (0:00:00.011) 0:01:58.389 ********** ok: [sut] => { "changed": false, "cmd": [ "vgs", "--noheadings", "--binary", "-o", "shared", "foo" ], "delta": "0:00:00.023269", "end": "2024-05-30 20:13:20.448391", "rc": 0, "start": "2024-05-30 20:13:20.425122" } STDOUT: 0 TASK [Verify that VG shared value checks out] ********************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool.yml:24 Thursday 30 May 2024 20:13:20 +0000 (0:00:00.212) 0:01:58.601 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify pool subset] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool.yml:34 Thursday 30 May 2024 20:13:20 +0000 (0:00:00.032) 0:01:58.634 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-members.yml for sut included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-volumes.yml for sut TASK [Set test variables] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-members.yml:2 Thursday 30 May 2024 20:13:20 +0000 (0:00:00.033) 0:01:58.667 ********** ok: [sut] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-members.yml:13 Thursday 30 May 2024 20:13:20 +0000 (0:00:00.018) 0:01:58.685 ********** ok: [sut] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [Set pvs lvm length] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-members.yml:22 Thursday 30 May 2024 20:13:20 +0000 (0:00:00.192) 0:01:58.878 ********** ok: [sut] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [Set pool pvs] ************************************************************ task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-members.yml:27 Thursday 30 May 2024 20:13:20 +0000 (0:00:00.015) 0:01:58.893 ********** ok: [sut] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-members.yml:33 Thursday 30 May 2024 20:13:20 +0000 (0:00:00.015) 0:01:58.909 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set expected pv type] **************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-members.yml:42 Thursday 30 May 2024 20:13:20 +0000 (0:00:00.015) 0:01:58.925 ********** ok: [sut] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [Set expected pv type] **************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-members.yml:48 Thursday 30 May 2024 20:13:20 +0000 (0:00:00.014) 0:01:58.939 ********** ok: [sut] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [Set expected pv type] **************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-members.yml:54 Thursday 30 May 2024 20:13:20 +0000 (0:00:00.015) 0:01:58.955 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-members.yml:59 Thursday 30 May 2024 20:13:20 +0000 (0:00:00.012) 0:01:58.968 ********** ok: [sut] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-members.yml:73 Thursday 30 May 2024 20:13:20 +0000 (0:00:00.018) 0:01:58.986 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-md.yml for sut TASK [Get information about RAID] ********************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-md.yml:8 Thursday 30 May 2024 20:13:20 +0000 (0:00:00.022) 0:01:59.008 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set active devices regex] ************************************************ task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-md.yml:14 Thursday 30 May 2024 20:13:20 +0000 (0:00:00.013) 0:01:59.021 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set spare devices regex] ************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-md.yml:21 Thursday 30 May 2024 20:13:20 +0000 (0:00:00.032) 0:01:59.054 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set md version regex] **************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-md.yml:28 Thursday 30 May 2024 20:13:20 +0000 (0:00:00.014) 0:01:59.068 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set md chunk size regex] ************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-md.yml:35 Thursday 30 May 2024 20:13:20 +0000 (0:00:00.012) 0:01:59.081 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Parse the chunk size] **************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-md.yml:45 Thursday 30 May 2024 20:13:20 +0000 (0:00:00.012) 0:01:59.093 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID active devices count] ***************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-md.yml:54 Thursday 30 May 2024 20:13:20 +0000 (0:00:00.012) 0:01:59.106 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID spare devices count] ****************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-md.yml:64 Thursday 30 May 2024 20:13:20 +0000 (0:00:00.012) 0:01:59.118 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID metadata version] ********************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-md.yml:74 Thursday 30 May 2024 20:13:21 +0000 (0:00:00.013) 0:01:59.132 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID chunk size] *************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-md.yml:85 Thursday 30 May 2024 20:13:21 +0000 (0:00:00.012) 0:01:59.145 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Reset variables used by tests] ******************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-md.yml:95 Thursday 30 May 2024 20:13:21 +0000 (0:00:00.012) 0:01:59.157 ********** ok: [sut] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_chunk_size_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-members.yml:76 Thursday 30 May 2024 20:13:21 +0000 (0:00:00.011) 0:01:59.168 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-members-lvmraid.yml for sut TASK [Validate pool member LVM RAID settings] ********************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-members-lvmraid.yml:2 Thursday 30 May 2024 20:13:21 +0000 (0:00:00.024) 0:01:59.193 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-lvmraid.yml for sut TASK [Get information about the LV] ******************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-lvmraid.yml:8 Thursday 30 May 2024 20:13:21 +0000 (0:00:00.023) 0:01:59.216 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set LV segment type] ***************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-lvmraid.yml:16 Thursday 30 May 2024 20:13:21 +0000 (0:00:00.013) 0:01:59.230 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check segment type] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-lvmraid.yml:21 Thursday 30 May 2024 20:13:21 +0000 (0:00:00.012) 0:01:59.242 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set LV stripe size] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-lvmraid.yml:29 Thursday 30 May 2024 20:13:21 +0000 (0:00:00.012) 0:01:59.255 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Parse the requested stripe size] ***************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-lvmraid.yml:34 Thursday 30 May 2024 20:13:21 +0000 (0:00:00.015) 0:01:59.270 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set expected stripe size] ************************************************ task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-lvmraid.yml:40 Thursday 30 May 2024 20:13:21 +0000 (0:00:00.012) 0:01:59.283 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check stripe size] ******************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-lvmraid.yml:46 Thursday 30 May 2024 20:13:21 +0000 (0:00:00.012) 0:01:59.295 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-members.yml:79 Thursday 30 May 2024 20:13:21 +0000 (0:00:00.012) 0:01:59.308 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-members-thin.yml for sut TASK [Validate pool member thinpool settings] ********************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-members-thin.yml:2 Thursday 30 May 2024 20:13:21 +0000 (0:00:00.024) 0:01:59.332 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-thin.yml for sut TASK [Get information about thinpool] ****************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-thin.yml:8 Thursday 30 May 2024 20:13:21 +0000 (0:00:00.023) 0:01:59.356 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-thin.yml:16 Thursday 30 May 2024 20:13:21 +0000 (0:00:00.012) 0:01:59.369 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-thin.yml:23 Thursday 30 May 2024 20:13:21 +0000 (0:00:00.011) 0:01:59.380 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Reset variable used by test] ********************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-thin.yml:27 Thursday 30 May 2024 20:13:21 +0000 (0:00:00.011) 0:01:59.391 ********** ok: [sut] => { "ansible_facts": { "storage_test_thin_status": null }, "changed": false } TASK [Check member encryption] ************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-members.yml:82 Thursday 30 May 2024 20:13:21 +0000 (0:00:00.012) 0:01:59.404 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-members-encryption.yml for sut TASK [Set test variables] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-members-encryption.yml:5 Thursday 30 May 2024 20:13:21 +0000 (0:00:00.024) 0:01:59.429 ********** ok: [sut] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-members-encryption.yml:13 Thursday 30 May 2024 20:13:21 +0000 (0:00:00.014) 0:01:59.444 ********** skipping: [sut] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-members-encryption.yml:20 Thursday 30 May 2024 20:13:21 +0000 (0:00:00.015) 0:01:59.459 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-crypttab.yml for sut TASK [Set variables used by tests] ********************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-crypttab.yml:2 Thursday 30 May 2024 20:13:21 +0000 (0:00:00.024) 0:01:59.484 ********** ok: [sut] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-crypttab.yml:9 Thursday 30 May 2024 20:13:21 +0000 (0:00:00.015) 0:01:59.499 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-crypttab.yml:18 Thursday 30 May 2024 20:13:21 +0000 (0:00:00.016) 0:01:59.515 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-crypttab.yml:27 Thursday 30 May 2024 20:13:21 +0000 (0:00:00.019) 0:01:59.535 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-crypttab.yml:37 Thursday 30 May 2024 20:13:21 +0000 (0:00:00.014) 0:01:59.550 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clear test variables] **************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-crypttab.yml:47 Thursday 30 May 2024 20:13:21 +0000 (0:00:00.012) 0:01:59.562 ********** ok: [sut] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [Clear test variables] **************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-members-encryption.yml:27 Thursday 30 May 2024 20:13:21 +0000 (0:00:00.012) 0:01:59.575 ********** ok: [sut] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-members.yml:85 Thursday 30 May 2024 20:13:21 +0000 (0:00:00.015) 0:01:59.591 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-members-vdo.yml for sut TASK [Validate pool member VDO settings] *************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-members-vdo.yml:2 Thursday 30 May 2024 20:13:21 +0000 (0:00:00.028) 0:01:59.619 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-vdo.yml for sut TASK [Get information about VDO deduplication] ********************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-vdo.yml:9 Thursday 30 May 2024 20:13:21 +0000 (0:00:00.029) 0:01:59.649 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if VDO deduplication is off] *************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-vdo.yml:16 Thursday 30 May 2024 20:13:21 +0000 (0:00:00.014) 0:01:59.663 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if VDO deduplication is on] **************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-vdo.yml:22 Thursday 30 May 2024 20:13:21 +0000 (0:00:00.012) 0:01:59.676 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about VDO compression] *********************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-vdo.yml:28 Thursday 30 May 2024 20:13:21 +0000 (0:00:00.012) 0:01:59.688 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if VDO deduplication is off] *************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-vdo.yml:35 Thursday 30 May 2024 20:13:21 +0000 (0:00:00.013) 0:01:59.702 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if VDO deduplication is on] **************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-vdo.yml:41 Thursday 30 May 2024 20:13:21 +0000 (0:00:00.012) 0:01:59.714 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clear test variables] **************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-vdo.yml:47 Thursday 30 May 2024 20:13:21 +0000 (0:00:00.012) 0:01:59.726 ********** ok: [sut] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [Check Stratis] *********************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-members.yml:88 Thursday 30 May 2024 20:13:21 +0000 (0:00:00.011) 0:01:59.737 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-stratis.yml for sut TASK [Run 'stratis report'] **************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-stratis.yml:6 Thursday 30 May 2024 20:13:21 +0000 (0:00:00.028) 0:01:59.766 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about Stratis] ******************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-stratis.yml:11 Thursday 30 May 2024 20:13:21 +0000 (0:00:00.012) 0:01:59.778 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the pools was created] *************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-stratis.yml:15 Thursday 30 May 2024 20:13:21 +0000 (0:00:00.012) 0:01:59.791 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that encryption is correctly set] ********************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-stratis.yml:26 Thursday 30 May 2024 20:13:21 +0000 (0:00:00.011) 0:01:59.802 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that Clevis/Tang encryption is correctly set] ********************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-stratis.yml:36 Thursday 30 May 2024 20:13:21 +0000 (0:00:00.012) 0:01:59.815 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Reset variable used by test] ********************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-stratis.yml:49 Thursday 30 May 2024 20:13:21 +0000 (0:00:00.013) 0:01:59.828 ********** ok: [sut] => { "ansible_facts": { "storage_test_stratis_report": null }, "changed": false } TASK [Clean up test variables] ************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-members.yml:91 Thursday 30 May 2024 20:13:21 +0000 (0:00:00.039) 0:01:59.868 ********** ok: [sut] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [Verify the volumes] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-volumes.yml:3 Thursday 30 May 2024 20:13:21 +0000 (0:00:00.011) 0:01:59.880 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume.yml for sut TASK [Set storage volume test variables] *************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume.yml:2 Thursday 30 May 2024 20:13:21 +0000 (0:00:00.022) 0:01:59.902 ********** ok: [sut] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [Run test verify for {{ storage_test_volume_subset }}] ******************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume.yml:21 Thursday 30 May 2024 20:13:21 +0000 (0:00:00.015) 0:01:59.918 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-mount.yml for sut included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-fstab.yml for sut included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-fs.yml for sut included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-device.yml for sut included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml for sut included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-md.yml for sut included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml for sut included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-cache.yml for sut TASK [Get expected mount device based on device type] ************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-mount.yml:7 Thursday 30 May 2024 20:13:21 +0000 (0:00:00.058) 0:01:59.976 ********** ok: [sut] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-mount.yml:16 Thursday 30 May 2024 20:13:21 +0000 (0:00:00.015) 0:01:59.991 ********** ok: [sut] => { "ansible_facts": { "storage_test_mount_expected_mount_point": "/opt/test1", "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Get information about the mountpoint directory] ************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-mount.yml:30 Thursday 30 May 2024 20:13:21 +0000 (0:00:00.016) 0:02:00.007 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by device] ******************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-mount.yml:43 Thursday 30 May 2024 20:13:21 +0000 (0:00:00.012) 0:02:00.020 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify mount directory user] ********************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-mount.yml:52 Thursday 30 May 2024 20:13:21 +0000 (0:00:00.014) 0:02:00.035 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify mount directory group] ******************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-mount.yml:64 Thursday 30 May 2024 20:13:21 +0000 (0:00:00.014) 0:02:00.049 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify mount directory permissions] ************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-mount.yml:76 Thursday 30 May 2024 20:13:21 +0000 (0:00:00.013) 0:02:00.063 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get path of test volume device] ****************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-mount.yml:91 Thursday 30 May 2024 20:13:21 +0000 (0:00:00.013) 0:02:00.076 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-mount.yml:97 Thursday 30 May 2024 20:13:21 +0000 (0:00:00.013) 0:02:00.089 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-mount.yml:103 Thursday 30 May 2024 20:13:21 +0000 (0:00:00.014) 0:02:00.104 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-mount.yml:115 Thursday 30 May 2024 20:13:21 +0000 (0:00:00.014) 0:02:00.119 ********** ok: [sut] => { "ansible_facts": { "storage_test_found_mount_stat": null, "storage_test_mount_expected_mount_point": 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: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-fstab.yml:2 Thursday 30 May 2024 20:13:22 +0000 (0:00:00.016) 0:02:00.135 ********** ok: [sut] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-fstab.yml:40 Thursday 30 May 2024 20:13:22 +0000 (0:00:00.027) 0:02:00.162 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-fstab.yml:48 Thursday 30 May 2024 20:13:22 +0000 (0:00:00.017) 0:02:00.179 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-fstab.yml:58 Thursday 30 May 2024 20:13:22 +0000 (0:00:00.016) 0:02:00.196 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-fstab.yml:71 Thursday 30 May 2024 20:13:22 +0000 (0:00:00.012) 0:02:00.209 ********** ok: [sut] => { "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: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-fs.yml:6 Thursday 30 May 2024 20:13:22 +0000 (0:00:00.011) 0:02:00.220 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-fs.yml:17 Thursday 30 May 2024 20:13:22 +0000 (0:00:00.031) 0:02:00.252 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-device.yml:3 Thursday 30 May 2024 20:13:22 +0000 (0:00:00.020) 0:02:00.272 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717099997.0359528, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1717099997.0359528, "dev": 6, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 80863, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1717099997.0359528, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-device.yml:9 Thursday 30 May 2024 20:13:22 +0000 (0:00:00.198) 0:02:00.471 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the presence/absence of the device node] ************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-device.yml:16 Thursday 30 May 2024 20:13:22 +0000 (0:00:00.016) 0:02:00.488 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about this volume] ********************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-device.yml:24 Thursday 30 May 2024 20:13:22 +0000 (0:00:00.012) 0:02:00.501 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Process volume type (set initial value) (1/2)] *************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-device.yml:30 Thursday 30 May 2024 20:13:22 +0000 (0:00:00.014) 0:02:00.515 ********** ok: [sut] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [Process volume type (get RAID value) (2/2)] ****************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-device.yml:34 Thursday 30 May 2024 20:13:22 +0000 (0:00:00.012) 0:02:00.528 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-device.yml:39 Thursday 30 May 2024 20:13:22 +0000 (0:00:00.017) 0:02:00.546 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:3 Thursday 30 May 2024 20:13:22 +0000 (0:00:00.018) 0:02:00.564 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:10 Thursday 30 May 2024 20:13:22 +0000 (0:00:00.012) 0:02:00.576 ********** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:17 Thursday 30 May 2024 20:13:24 +0000 (0:00:02.542) 0:02:03.119 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:23 Thursday 30 May 2024 20:13:25 +0000 (0:00:00.012) 0:02:03.132 ********** skipping: [sut] => { "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: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:32 Thursday 30 May 2024 20:13:25 +0000 (0:00:00.012) 0:02:03.145 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:45 Thursday 30 May 2024 20:13:25 +0000 (0:00:00.016) 0:02:03.162 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:51 Thursday 30 May 2024 20:13:25 +0000 (0:00:00.011) 0:02:03.173 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:56 Thursday 30 May 2024 20:13:25 +0000 (0:00:00.011) 0:02:03.184 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:69 Thursday 30 May 2024 20:13:25 +0000 (0:00:00.013) 0:02:03.198 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:81 Thursday 30 May 2024 20:13:25 +0000 (0:00:00.011) 0:02:03.209 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set test variables] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:94 Thursday 30 May 2024 20:13:25 +0000 (0:00:00.011) 0:02:03.221 ********** ok: [sut] => { "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: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:106 Thursday 30 May 2024 20:13:25 +0000 (0:00:00.015) 0:02:03.237 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:114 Thursday 30 May 2024 20:13:25 +0000 (0:00:00.014) 0:02:03.251 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:122 Thursday 30 May 2024 20:13:25 +0000 (0:00:00.012) 0:02:03.264 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:131 Thursday 30 May 2024 20:13:25 +0000 (0:00:00.035) 0:02:03.299 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clear test variables] **************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:140 Thursday 30 May 2024 20:13:25 +0000 (0:00:00.013) 0:02:03.312 ********** ok: [sut] => { "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: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-md.yml:8 Thursday 30 May 2024 20:13:25 +0000 (0:00:00.011) 0:02:03.324 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set active devices regex] ************************************************ task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-md.yml:14 Thursday 30 May 2024 20:13:25 +0000 (0:00:00.012) 0:02:03.336 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set spare devices regex] ************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-md.yml:21 Thursday 30 May 2024 20:13:25 +0000 (0:00:00.012) 0:02:03.349 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set md version regex] **************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-md.yml:28 Thursday 30 May 2024 20:13:25 +0000 (0:00:00.012) 0:02:03.362 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set chunk size regex] **************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-md.yml:35 Thursday 30 May 2024 20:13:25 +0000 (0:00:00.012) 0:02:03.374 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Parse the chunk size] **************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-md.yml:45 Thursday 30 May 2024 20:13:25 +0000 (0:00:00.012) 0:02:03.387 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID active devices count] ***************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-md.yml:54 Thursday 30 May 2024 20:13:25 +0000 (0:00:00.012) 0:02:03.400 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID spare devices count] ****************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-md.yml:63 Thursday 30 May 2024 20:13:25 +0000 (0:00:00.011) 0:02:03.411 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID metadata version] ********************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-md.yml:72 Thursday 30 May 2024 20:13:25 +0000 (0:00:00.011) 0:02:03.423 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID chunk size] *************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-md.yml:81 Thursday 30 May 2024 20:13:25 +0000 (0:00:00.011) 0:02:03.434 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Parse the actual size of the volume] ************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:3 Thursday 30 May 2024 20:13:25 +0000 (0:00:00.013) 0:02:03.448 ********** ok: [sut] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [Parse the requested size of the volume] ********************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:11 Thursday 30 May 2024 20:13:25 +0000 (0:00:00.192) 0:02:03.640 ********** ok: [sut] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [Establish base value for expected size] ********************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:20 Thursday 30 May 2024 20:13:25 +0000 (0:00:00.194) 0:02:03.834 ********** ok: [sut] => { "ansible_facts": { "storage_test_expected_size": "4294967296" }, "changed": false } TASK [Show expected size] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:28 Thursday 30 May 2024 20:13:25 +0000 (0:00:00.017) 0:02:03.852 ********** ok: [sut] => { "storage_test_expected_size": "4294967296" } TASK [Get the size of parent/pool device] ************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:32 Thursday 30 May 2024 20:13:25 +0000 (0:00:00.015) 0:02:03.867 ********** ok: [sut] => { "bytes": 10726680821, "changed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } TASK [Show test pool] ********************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:46 Thursday 30 May 2024 20:13:25 +0000 (0:00:00.188) 0:02:04.056 ********** skipping: [sut] => {} TASK [Show test blockinfo] ***************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:50 Thursday 30 May 2024 20:13:25 +0000 (0:00:00.015) 0:02:04.072 ********** skipping: [sut] => {} TASK [Show test pool size] ***************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:54 Thursday 30 May 2024 20:13:25 +0000 (0:00:00.015) 0:02:04.088 ********** skipping: [sut] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:58 Thursday 30 May 2024 20:13:25 +0000 (0:00:00.014) 0:02:04.102 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Default thin pool reserved space values] ********************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:68 Thursday 30 May 2024 20:13:25 +0000 (0:00:00.016) 0:02:04.119 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Default minimal thin pool reserved space size] *************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:72 Thursday 30 May 2024 20:13:26 +0000 (0:00:00.012) 0:02:04.132 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Default maximal thin pool reserved space size] *************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:77 Thursday 30 May 2024 20:13:26 +0000 (0:00:00.012) 0:02:04.144 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Calculate maximum usable space in thin pool] ***************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:83 Thursday 30 May 2024 20:13:26 +0000 (0:00:00.013) 0:02:04.157 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply upper size limit to max usable thin pool space] ******************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:88 Thursday 30 May 2024 20:13:26 +0000 (0:00:00.013) 0:02:04.171 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply lower size limit to max usable thin pool space] ******************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:96 Thursday 30 May 2024 20:13:26 +0000 (0:00:00.012) 0:02:04.183 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Convert maximum usable thin pool space from int to Size] ***************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:104 Thursday 30 May 2024 20:13:26 +0000 (0:00:00.012) 0:02:04.196 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Show max thin pool size] ************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:109 Thursday 30 May 2024 20:13:26 +0000 (0:00:00.011) 0:02:04.208 ********** skipping: [sut] => {} TASK [Show volume thin pool size] ********************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:113 Thursday 30 May 2024 20:13:26 +0000 (0:00:00.011) 0:02:04.219 ********** skipping: [sut] => {} TASK [Show test volume size] *************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:117 Thursday 30 May 2024 20:13:26 +0000 (0:00:00.011) 0:02:04.230 ********** skipping: [sut] => {} TASK [Establish base value for expected thin pool size] ************************ task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:121 Thursday 30 May 2024 20:13:26 +0000 (0:00:00.011) 0:02:04.242 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:129 Thursday 30 May 2024 20:13:26 +0000 (0:00:00.011) 0:02:04.253 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected thin pool volume size] ***************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:138 Thursday 30 May 2024 20:13:26 +0000 (0:00:00.012) 0:02:04.266 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Calculate the expected thin pool volume size based on percentage value] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:142 Thursday 30 May 2024 20:13:26 +0000 (0:00:00.012) 0:02:04.278 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Replace expected volume size with calculated value] ********************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:150 Thursday 30 May 2024 20:13:26 +0000 (0:00:00.011) 0:02:04.290 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Show actual size] ******************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:156 Thursday 30 May 2024 20:13:26 +0000 (0:00:00.012) 0:02:04.302 ********** ok: [sut] => { "storage_test_actual_size": { "bytes": 4294967296, "changed": false, "failed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } } TASK [Show expected size] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:160 Thursday 30 May 2024 20:13:26 +0000 (0:00:00.013) 0:02:04.315 ********** ok: [sut] => { "storage_test_expected_size": "4294967296" } TASK [Assert expected size is actual size] ************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:164 Thursday 30 May 2024 20:13:26 +0000 (0:00:00.013) 0:02:04.329 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-cache.yml:5 Thursday 30 May 2024 20:13:26 +0000 (0:00:00.019) 0:02:04.348 ********** ok: [sut] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.023596", "end": "2024-05-30 20:13:26.411330", "rc": 0, "start": "2024-05-30 20:13:26.387734" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [Set LV segment type] ***************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-cache.yml:13 Thursday 30 May 2024 20:13:26 +0000 (0:00:00.216) 0:02:04.565 ********** ok: [sut] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [Check segment type] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-cache.yml:18 Thursday 30 May 2024 20:13:26 +0000 (0:00:00.016) 0:02:04.581 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set LV cache size] ******************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-cache.yml:27 Thursday 30 May 2024 20:13:26 +0000 (0:00:00.018) 0:02:04.600 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Parse the requested cache size] ****************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-cache.yml:35 Thursday 30 May 2024 20:13:26 +0000 (0:00:00.013) 0:02:04.614 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set expected cache size] ************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-cache.yml:41 Thursday 30 May 2024 20:13:26 +0000 (0:00:00.013) 0:02:04.627 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-cache.yml:47 Thursday 30 May 2024 20:13:26 +0000 (0:00:00.013) 0:02:04.641 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume.yml:27 Thursday 30 May 2024 20:13:26 +0000 (0:00:00.013) 0:02:04.654 ********** ok: [sut] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-role-results.yml:44 Thursday 30 May 2024 20:13:26 +0000 (0:00:00.011) 0:02:04.666 ********** TASK [Clean up variable namespace] ********************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-role-results.yml:54 Thursday 30 May 2024 20:13:26 +0000 (0:00:00.012) 0:02:04.679 ********** ok: [sut] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Create a file] *********************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/create-test-file.yml:12 Thursday 30 May 2024 20:13:26 +0000 (0:00:00.011) 0:02:04.690 ********** changed: [sut] => { "changed": true, "dest": "/opt/test1/quux", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:unlabeled_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Test for correct handling of safe_mode] ********************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/tests_luks_pool.yml:191 Thursday 30 May 2024 20:13:26 +0000 (0:00:00.200) 0:02:04.891 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-role-failed.yml for sut TASK [Store global variable value copy] **************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-role-failed.yml:4 Thursday 30 May 2024 20:13:26 +0000 (0:00:00.022) 0:02:04.914 ********** ok: [sut] => { "ansible_facts": { "storage_pools_global": [], "storage_safe_mode_global": true, "storage_volumes_global": [] }, "changed": false } TASK [Verify role raises correct error] **************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-role-failed.yml:10 Thursday 30 May 2024 20:13:26 +0000 (0:00:00.016) 0:02:04.930 ********** TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 30 May 2024 20:13:26 +0000 (0:00:00.018) 0:02:04.949 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for sut TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 30 May 2024 20:13:26 +0000 (0:00:00.042) 0:02:04.991 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 30 May 2024 20:13:26 +0000 (0:00:00.016) 0:02:05.008 ********** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (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", "stratisd", "stratis-cli" ] }, "ansible_included_var_files": [ "/WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [sut] => (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", "stratisd", "stratis-cli" ] }, "ansible_included_var_files": [ "/WORKDIR/git-main_stratis-support-2_olzkgxl/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 : Check if system is ostree] ****************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:26 Thursday 30 May 2024 20:13:26 +0000 (0:00:00.032) 0:02:05.041 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:31 Thursday 30 May 2024 20:13:26 +0000 (0:00:00.012) 0:02:05.054 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Define an empty list of pools to be used in testing] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 30 May 2024 20:13:26 +0000 (0:00:00.013) 0:02:05.068 ********** ok: [sut] => { "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: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 30 May 2024 20:13:26 +0000 (0:00:00.011) 0:02:05.079 ********** ok: [sut] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : Include the appropriate provider tasks] ***** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 30 May 2024 20:13:26 +0000 (0:00:00.011) 0:02:05.091 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for sut TASK [linux-system-roles.storage : Make sure blivet is available] ************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 30 May 2024 20:13:26 +0000 (0:00:00.026) 0:02:05.117 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Show storage_pools] ************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:11 Thursday 30 May 2024 20:13:26 +0000 (0:00:00.012) 0:02:05.130 ********** ok: [sut] => { "storage_pools": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": "aes-xts-plain64", "encryption_key_size": 512, "encryption_luks_version": "luks1", "encryption_password": "yabbadabbadoo", "name": "foo", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "4g" } ] } ] } TASK [linux-system-roles.storage : Show storage_volumes] *********************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:16 Thursday 30 May 2024 20:13:27 +0000 (0:00:00.019) 0:02:05.149 ********** ok: [sut] => { "storage_volumes": [] } TASK [linux-system-roles.storage : Get required packages] ********************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:21 Thursday 30 May 2024 20:13:27 +0000 (0:00:00.018) 0:02:05.168 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Enable copr repositories if needed] ********* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:34 Thursday 30 May 2024 20:13:27 +0000 (0:00:00.012) 0:02:05.180 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Make sure required packages are installed] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:41 Thursday 30 May 2024 20:13:27 +0000 (0:00:00.012) 0:02:05.193 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Get service facts] ************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:57 Thursday 30 May 2024 20:13:27 +0000 (0:00:00.014) 0:02:05.208 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:64 Thursday 30 May 2024 20:13:27 +0000 (0:00:00.013) 0:02:05.221 ********** ok: [sut] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:78 Thursday 30 May 2024 20:13:27 +0000 (0:00:00.019) 0:02:05.241 ********** TASK [linux-system-roles.storage : Manage the pools and volumes to match the specified state] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:84 Thursday 30 May 2024 20:13:27 +0000 (0:00:00.011) 0:02:05.252 ********** fatal: [sut]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: cannot remove and recreate existing pool 'foo' in safe mode TASK [linux-system-roles.storage : Failed message] ***************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:106 Thursday 30 May 2024 20:13:31 +0000 (0:00:04.481) 0:02:09.734 ********** fatal: [sut]: FAILED! => { "changed": false } MSG: {'msg': "cannot remove and recreate existing pool 'foo' in safe mode", 'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'invocation': {'module_args': {'pools': [{'disks': ['sda'], 'encryption': True, 'encryption_cipher': 'aes-xts-plain64', 'encryption_key': None, 'encryption_key_size': 512, 'encryption_luks_version': 'luks1', 'encryption_password': 'VALUE_SPECIFIED_IN_NO_LOG_PARAMETER', 'encryption_clevis_pin': None, 'encryption_tang_url': None, 'encryption_tang_thumbprint': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'raid_chunk_size': None, 'shared': False, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': None, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': None, 'fs_label': None, 'fs_type': None, 'mount_options': None, 'mount_point': '/opt/test1', 'mount_user': None, 'mount_group': None, 'mount_mode': None, 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': None, 'cached': None, 'cache_devices': [], 'cache_mode': None, 'cache_size': None, 'compression': None, 'deduplication': None, 'raid_disks': [], 'raid_stripe_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None}]}], 'volumes': [], 'use_partitions': None, 'disklabel_type': None, 'pool_defaults': {'state': 'present', 'type': 'lvm', 'disks': [], 'volumes': [], 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, 'shared': False}, 'volume_defaults': {'state': 'present', 'type': 'lvm', 'size': 0, 'disks': [], 'fs_type': 'xfs', 'fs_label': '', 'fs_create_options': '', 'fs_overwrite_existing': True, 'mount_point': '', 'mount_options': 'defaults', 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_stripe_size': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': []}, 'safe_mode': True, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': False} TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:110 Thursday 30 May 2024 20:13:31 +0000 (0:00:00.017) 0:02:09.752 ********** TASK [Check that we failed in the role] **************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-role-failed.yml:29 Thursday 30 May 2024 20:13:31 +0000 (0:00:00.011) 0:02:09.763 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the blivet output and error message are correct] ****************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-role-failed.yml:34 Thursday 30 May 2024 20:13:31 +0000 (0:00:00.013) 0:02:09.777 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify correct exception or error message] ******************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-role-failed.yml:45 Thursday 30 May 2024 20:13:31 +0000 (0:00:00.017) 0:02:09.795 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the file] *********************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-data-preservation.yml:11 Thursday 30 May 2024 20:13:31 +0000 (0:00:00.012) 0:02:09.807 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717100006.7369456, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1717100006.7369456, "dev": 64768, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 131, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0644", "mtime": 1717100006.7369456, "nlink": 1, "path": "/opt/test1/quux", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "version": "950148580", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Assert file presence] **************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-data-preservation.yml:16 Thursday 30 May 2024 20:13:31 +0000 (0:00:00.200) 0:02:10.008 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Add encryption to the pool] ********************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/tests_luks_pool.yml:216 Thursday 30 May 2024 20:13:31 +0000 (0:00:00.016) 0:02:10.025 ********** TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 30 May 2024 20:13:31 +0000 (0:00:00.030) 0:02:10.056 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for sut TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 30 May 2024 20:13:31 +0000 (0:00:00.018) 0:02:10.075 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 30 May 2024 20:13:31 +0000 (0:00:00.015) 0:02:10.090 ********** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (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", "stratisd", "stratis-cli" ] }, "ansible_included_var_files": [ "/WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [sut] => (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", "stratisd", "stratis-cli" ] }, "ansible_included_var_files": [ "/WORKDIR/git-main_stratis-support-2_olzkgxl/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 : Check if system is ostree] ****************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:26 Thursday 30 May 2024 20:13:31 +0000 (0:00:00.032) 0:02:10.123 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:31 Thursday 30 May 2024 20:13:32 +0000 (0:00:00.013) 0:02:10.136 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Define an empty list of pools to be used in testing] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 30 May 2024 20:13:32 +0000 (0:00:00.012) 0:02:10.149 ********** ok: [sut] => { "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: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 30 May 2024 20:13:32 +0000 (0:00:00.011) 0:02:10.160 ********** ok: [sut] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : Include the appropriate provider tasks] ***** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 30 May 2024 20:13:32 +0000 (0:00:00.012) 0:02:10.173 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for sut TASK [linux-system-roles.storage : Make sure blivet is available] ************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 30 May 2024 20:13:32 +0000 (0:00:00.046) 0:02:10.219 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Show storage_pools] ************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:11 Thursday 30 May 2024 20:13:32 +0000 (0:00:00.013) 0:02:10.232 ********** ok: [sut] => { "storage_pools": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": "aes-xts-plain64", "encryption_key_size": 512, "encryption_luks_version": "luks1", "encryption_password": "yabbadabbadoo", "name": "foo", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "4g" } ] } ] } TASK [linux-system-roles.storage : Show storage_volumes] *********************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:16 Thursday 30 May 2024 20:13:32 +0000 (0:00:00.020) 0:02:10.253 ********** ok: [sut] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : Get required packages] ********************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:21 Thursday 30 May 2024 20:13:32 +0000 (0:00:00.021) 0:02:10.275 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Enable copr repositories if needed] ********* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:34 Thursday 30 May 2024 20:13:32 +0000 (0:00:00.012) 0:02:10.288 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Make sure required packages are installed] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:41 Thursday 30 May 2024 20:13:32 +0000 (0:00:00.012) 0:02:10.301 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Get service facts] ************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:57 Thursday 30 May 2024 20:13:32 +0000 (0:00:00.014) 0:02:10.316 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:64 Thursday 30 May 2024 20:13:32 +0000 (0:00:00.012) 0:02:10.328 ********** ok: [sut] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:78 Thursday 30 May 2024 20:13:32 +0000 (0:00:00.021) 0:02:10.349 ********** TASK [linux-system-roles.storage : Manage the pools and volumes to match the specified state] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:84 Thursday 30 May 2024 20:13:32 +0000 (0:00:00.011) 0:02:10.361 ********** changed: [sut] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create format", "device": "/dev/sda", "fs_type": "luks" }, { "action": "create device", "device": "/dev/mapper/luks-ad7e8245-5833-47d6-b220-19dae9b54f66", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/luks-ad7e8245-5833-47d6-b220-19dae9b54f66", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" } ], "changed": true, "crypts": [ { "backing_device": "/dev/sda", "name": "luks-ad7e8245-5833-47d6-b220-19dae9b54f66", "password": "-", "state": "present" } ], "leaves": [ "/dev/sdb", "/dev/sdc", "/dev/sdd", "/dev/sde", "/dev/sdf", "/dev/sdg", "/dev/sdh", "/dev/sdi", "/dev/xvda1", "/dev/mapper/foo-test1" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" }, { "dump": 0, "fstype": "xfs", "group": null, "mode": null, "opts": "defaults", "owner": null, "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "xfsprogs", "lvm2", "cryptsetup" ], "pools": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": "aes-xts-plain64", "encryption_clevis_pin": null, "encryption_key": null, "encryption_key_size": 512, "encryption_luks_version": "luks1", "encryption_password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "encryption_tang_thumbprint": null, "encryption_tang_url": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "shared": false, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_group": null, "mount_mode": null, "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "mount_user": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "raid_stripe_size": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:98 Thursday 30 May 2024 20:13:43 +0000 (0:00:11.562) 0:02:21.924 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:110 Thursday 30 May 2024 20:13:43 +0000 (0:00:00.013) 0:02:21.938 ********** TASK [linux-system-roles.storage : Show blivet_output] ************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:116 Thursday 30 May 2024 20:13:43 +0000 (0:00:00.011) 0:02:21.949 ********** ok: [sut] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create format", "device": "/dev/sda", "fs_type": "luks" }, { "action": "create device", "device": "/dev/mapper/luks-ad7e8245-5833-47d6-b220-19dae9b54f66", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/luks-ad7e8245-5833-47d6-b220-19dae9b54f66", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" } ], "changed": true, "crypts": [ { "backing_device": "/dev/sda", "name": "luks-ad7e8245-5833-47d6-b220-19dae9b54f66", "password": "-", "state": "present" } ], "failed": false, "leaves": [ "/dev/sdb", "/dev/sdc", "/dev/sdd", "/dev/sde", "/dev/sdf", "/dev/sdg", "/dev/sdh", "/dev/sdi", "/dev/xvda1", "/dev/mapper/foo-test1" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" }, { "dump": 0, "fstype": "xfs", "group": null, "mode": null, "opts": "defaults", "owner": null, "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "xfsprogs", "lvm2", "cryptsetup" ], "pools": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": "aes-xts-plain64", "encryption_clevis_pin": null, "encryption_key": null, "encryption_key_size": 512, "encryption_luks_version": "luks1", "encryption_password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "encryption_tang_thumbprint": null, "encryption_tang_url": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "shared": false, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_group": null, "mount_mode": null, "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "mount_user": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "raid_stripe_size": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : Set the list of pools for test verification] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:125 Thursday 30 May 2024 20:13:43 +0000 (0:00:00.016) 0:02:21.966 ********** ok: [sut] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": "aes-xts-plain64", "encryption_clevis_pin": null, "encryption_key": null, "encryption_key_size": 512, "encryption_luks_version": "luks1", "encryption_password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "encryption_tang_thumbprint": null, "encryption_tang_url": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "shared": false, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_group": null, "mount_mode": null, "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "mount_user": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "raid_stripe_size": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : Set the list of volumes for test verification] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:129 Thursday 30 May 2024 20:13:43 +0000 (0:00:00.015) 0:02:21.981 ********** ok: [sut] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : Remove obsolete mounts] ********************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:145 Thursday 30 May 2024 20:13:43 +0000 (0:00:00.013) 0:02:21.995 ********** changed: [sut] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : Tell systemd to refresh its view of /etc/fstab] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:157 Thursday 30 May 2024 20:13:44 +0000 (0:00:00.207) 0:02:22.203 ********** ok: [sut] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : Set up new/current mounts] ****************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:162 Thursday 30 May 2024 20:13:44 +0000 (0:00:00.471) 0:02:22.674 ********** changed: [sut] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted', 'owner': None, 'group': None, 'mode': None}) => { "ansible_loop_var": "mount_info", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "group": null, "mode": null, "opts": "defaults", "owner": null, "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : Manage mount ownership/permissions] ********* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:174 Thursday 30 May 2024 20:13:44 +0000 (0:00:00.217) 0:02:22.892 ********** skipping: [sut] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted', 'owner': None, 'group': None, 'mode': None}) => { "ansible_loop_var": "mount_info", "changed": false, "mount_info": { "dump": 0, "fstype": "xfs", "group": null, "mode": null, "opts": "defaults", "owner": null, "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Tell systemd to refresh its view of /etc/fstab] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:189 Thursday 30 May 2024 20:13:44 +0000 (0:00:00.018) 0:02:22.910 ********** ok: [sut] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : Retrieve facts for the /etc/crypttab file] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:197 Thursday 30 May 2024 20:13:45 +0000 (0:00:00.470) 0:02:23.381 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717100000.1979504, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1717099998.9369514, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 119537929, "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": 1717099998.9359515, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "1224287964", "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: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:202 Thursday 30 May 2024 20:13:45 +0000 (0:00:00.194) 0:02:23.575 ********** changed: [sut] => (item={'backing_device': '/dev/sda', 'name': 'luks-ad7e8245-5833-47d6-b220-19dae9b54f66', 'password': '-', 'state': 'present'}) => { "ansible_loop_var": "entry", "backup": "", "changed": true, "entry": { "backing_device": "/dev/sda", "name": "luks-ad7e8245-5833-47d6-b220-19dae9b54f66", "password": "-", "state": "present" } } MSG: line added TASK [linux-system-roles.storage : Update facts] ******************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:224 Thursday 30 May 2024 20:13:45 +0000 (0:00:00.205) 0:02:23.780 ********** ok: [sut] TASK [Verify role results] ***************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/tests_luks_pool.yml:235 Thursday 30 May 2024 20:13:46 +0000 (0:00:00.610) 0:02:24.391 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-role-results.yml for sut TASK [Print out pool information] ********************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-role-results.yml:2 Thursday 30 May 2024 20:13:46 +0000 (0:00:00.024) 0:02:24.415 ********** ok: [sut] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": "aes-xts-plain64", "encryption_clevis_pin": null, "encryption_key": null, "encryption_key_size": 512, "encryption_luks_version": "luks1", "encryption_password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "encryption_tang_thumbprint": null, "encryption_tang_url": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "shared": false, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_group": null, "mount_mode": null, "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "mount_user": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "raid_stripe_size": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-role-results.yml:7 Thursday 30 May 2024 20:13:46 +0000 (0:00:00.016) 0:02:24.432 ********** skipping: [sut] => {} TASK [Collect info about the volumes.] ***************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-role-results.yml:15 Thursday 30 May 2024 20:13:46 +0000 (0:00:00.013) 0:02:24.446 ********** ok: [sut] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "mountpoint": "/opt/test1", "name": "/dev/mapper/foo-test1", "size": "4G", "type": "lvm", "uuid": "e4c2bb0c-5078-45e0-9a1d-1f806af0b1e3" }, "/dev/mapper/luks-ad7e8245-5833-47d6-b220-19dae9b54f66": { "fstype": "LVM2_member", "label": "", "mountpoint": "", "name": "/dev/mapper/luks-ad7e8245-5833-47d6-b220-19dae9b54f66", "size": "10G", "type": "crypt", "uuid": "mFs2Fo-Zf3I-zpOc-eZNS-5OPx-N3PP-jOoDh2" }, "/dev/sda": { "fstype": "crypto_LUKS", "label": "", "mountpoint": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "ad7e8245-5833-47d6-b220-19dae9b54f66" }, "/dev/sdb": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdd": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdd", "size": "1T", "type": "disk", "uuid": "" }, "/dev/sde": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sde", "size": "1T", "type": "disk", "uuid": "" }, "/dev/sdf": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdg": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdg", "size": "1T", "type": "disk", "uuid": "" }, "/dev/sdh": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdh", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdi": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdi", "size": "10G", "type": "disk", "uuid": "" }, "/dev/xvda": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/xvda", "size": "250G", "type": "disk", "uuid": "" }, "/dev/xvda1": { "fstype": "xfs", "label": "", "mountpoint": "/", "name": "/dev/xvda1", "size": "250G", "type": "partition", "uuid": "fe591198-9082-4b15-9b62-e83518524cd2" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-role-results.yml:20 Thursday 30 May 2024 20:13:46 +0000 (0:00:00.192) 0:02:24.639 ********** ok: [sut] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002729", "end": "2024-05-30 20:13:46.673509", "rc": 0, "start": "2024-05-30 20:13:46.670780" } STDOUT: # # /etc/fstab # Created by anaconda on Wed May 29 07:43:06 2024 # # 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=fe591198-9082-4b15-9b62-e83518524cd2 / xfs defaults 0 0 ntap-bos-c01-eng01-nfs01b.storage.bos.redhat.com:/devops_engineering_nfs/devarchive/redhat /mnt/redhat nfs ro,rsize=32768,wsize=8192,bg,noauto,noatime,nosuid,nodev,intr 0 0 nest.test.redhat.com:/mnt/qa /mnt/qa nfs defaults,rsize=8192,wsize=8192,bg,noauto,noatime,nosuid,nodev,intr 0 0 vtap-eng01.storage.rdu2.redhat.com:/vol/engarchive /mnt/engarchive nfs ro,rsize=32768,wsize=8192,bg,noauto,noatime,nosuid,nodev,intr 0 0 nest.test.redhat.com:/mnt/tpsdist /mnt/tpsdist nfs defaults,rsize=8192,wsize=8192,bg,noauto,noatime,nosuid,nodev,intr 0 0 ntap-bos-c01-eng01-nfs01b.storage.bos.redhat.com:/devops_engineering_nfs/devarchive/redhat/brewroot /mnt/brew nfs ro,rsize=32768,wsize=8192,bg,noauto,noatime,nosuid,nodev,intr 0 0 ntap-bos-c01-eng01-nfs01b.storage.bos.redhat.com:/devops_brew_scratch_nfs/scratch /mnt/brew_scratch nfs ro,rsize=32768,wsize=8192,bg,noauto,noatime,nosuid,nodev,intr 0 0 /dev/mapper/foo-test1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-role-results.yml:25 Thursday 30 May 2024 20:13:46 +0000 (0:00:00.188) 0:02:24.827 ********** ok: [sut] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002853", "end": "2024-05-30 20:13:46.862494", "failed_when_result": false, "rc": 0, "start": "2024-05-30 20:13:46.859641" } STDOUT: luks-ad7e8245-5833-47d6-b220-19dae9b54f66 /dev/sda - TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-role-results.yml:34 Thursday 30 May 2024 20:13:46 +0000 (0:00:00.187) 0:02:25.015 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool.yml for sut TASK [Set _storage_pool_tests] ************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool.yml:5 Thursday 30 May 2024 20:13:46 +0000 (0:00:00.050) 0:02:25.065 ********** ok: [sut] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [Get VG shared value status] ********************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool.yml:18 Thursday 30 May 2024 20:13:46 +0000 (0:00:00.012) 0:02:25.078 ********** ok: [sut] => { "changed": false, "cmd": [ "vgs", "--noheadings", "--binary", "-o", "shared", "foo" ], "delta": "0:00:00.031441", "end": "2024-05-30 20:13:47.144478", "rc": 0, "start": "2024-05-30 20:13:47.113037" } STDOUT: 0 TASK [Verify that VG shared value checks out] ********************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool.yml:24 Thursday 30 May 2024 20:13:47 +0000 (0:00:00.220) 0:02:25.298 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify pool subset] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool.yml:34 Thursday 30 May 2024 20:13:47 +0000 (0:00:00.018) 0:02:25.317 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-members.yml for sut included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-volumes.yml for sut TASK [Set test variables] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-members.yml:2 Thursday 30 May 2024 20:13:47 +0000 (0:00:00.026) 0:02:25.344 ********** ok: [sut] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/mapper/luks-ad7e8245-5833-47d6-b220-19dae9b54f66" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-members.yml:13 Thursday 30 May 2024 20:13:47 +0000 (0:00:00.018) 0:02:25.362 ********** ok: [sut] => (item=/dev/mapper/luks-ad7e8245-5833-47d6-b220-19dae9b54f66) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/mapper/luks-ad7e8245-5833-47d6-b220-19dae9b54f66", "pv": "/dev/mapper/luks-ad7e8245-5833-47d6-b220-19dae9b54f66" } TASK [Set pvs lvm length] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-members.yml:22 Thursday 30 May 2024 20:13:47 +0000 (0:00:00.192) 0:02:25.555 ********** ok: [sut] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [Set pool pvs] ************************************************************ task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-members.yml:27 Thursday 30 May 2024 20:13:47 +0000 (0:00:00.015) 0:02:25.570 ********** ok: [sut] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/mapper/luks-ad7e8245-5833-47d6-b220-19dae9b54f66" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-members.yml:33 Thursday 30 May 2024 20:13:47 +0000 (0:00:00.014) 0:02:25.585 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set expected pv type] **************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-members.yml:42 Thursday 30 May 2024 20:13:47 +0000 (0:00:00.016) 0:02:25.601 ********** ok: [sut] => { "ansible_facts": { "_storage_test_expected_pv_type": "crypt" }, "changed": false } TASK [Set expected pv type] **************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-members.yml:48 Thursday 30 May 2024 20:13:47 +0000 (0:00:00.014) 0:02:25.616 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set expected pv type] **************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-members.yml:54 Thursday 30 May 2024 20:13:47 +0000 (0:00:00.012) 0:02:25.629 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-members.yml:59 Thursday 30 May 2024 20:13:47 +0000 (0:00:00.012) 0:02:25.641 ********** ok: [sut] => (item=/dev/mapper/luks-ad7e8245-5833-47d6-b220-19dae9b54f66) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/mapper/luks-ad7e8245-5833-47d6-b220-19dae9b54f66" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-members.yml:73 Thursday 30 May 2024 20:13:47 +0000 (0:00:00.019) 0:02:25.660 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-md.yml for sut TASK [Get information about RAID] ********************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-md.yml:8 Thursday 30 May 2024 20:13:47 +0000 (0:00:00.023) 0:02:25.684 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set active devices regex] ************************************************ task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-md.yml:14 Thursday 30 May 2024 20:13:47 +0000 (0:00:00.012) 0:02:25.696 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set spare devices regex] ************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-md.yml:21 Thursday 30 May 2024 20:13:47 +0000 (0:00:00.012) 0:02:25.709 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set md version regex] **************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-md.yml:28 Thursday 30 May 2024 20:13:47 +0000 (0:00:00.012) 0:02:25.721 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set md chunk size regex] ************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-md.yml:35 Thursday 30 May 2024 20:13:47 +0000 (0:00:00.012) 0:02:25.734 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Parse the chunk size] **************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-md.yml:45 Thursday 30 May 2024 20:13:47 +0000 (0:00:00.013) 0:02:25.748 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID active devices count] ***************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-md.yml:54 Thursday 30 May 2024 20:13:47 +0000 (0:00:00.012) 0:02:25.760 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID spare devices count] ****************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-md.yml:64 Thursday 30 May 2024 20:13:47 +0000 (0:00:00.012) 0:02:25.773 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID metadata version] ********************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-md.yml:74 Thursday 30 May 2024 20:13:47 +0000 (0:00:00.021) 0:02:25.795 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID chunk size] *************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-md.yml:85 Thursday 30 May 2024 20:13:47 +0000 (0:00:00.021) 0:02:25.817 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Reset variables used by tests] ******************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-md.yml:95 Thursday 30 May 2024 20:13:47 +0000 (0:00:00.012) 0:02:25.830 ********** ok: [sut] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_chunk_size_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-members.yml:76 Thursday 30 May 2024 20:13:47 +0000 (0:00:00.013) 0:02:25.843 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-members-lvmraid.yml for sut TASK [Validate pool member LVM RAID settings] ********************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-members-lvmraid.yml:2 Thursday 30 May 2024 20:13:47 +0000 (0:00:00.023) 0:02:25.867 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-lvmraid.yml for sut TASK [Get information about the LV] ******************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-lvmraid.yml:8 Thursday 30 May 2024 20:13:47 +0000 (0:00:00.023) 0:02:25.891 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set LV segment type] ***************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-lvmraid.yml:16 Thursday 30 May 2024 20:13:47 +0000 (0:00:00.013) 0:02:25.904 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check segment type] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-lvmraid.yml:21 Thursday 30 May 2024 20:13:47 +0000 (0:00:00.012) 0:02:25.916 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set LV stripe size] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-lvmraid.yml:29 Thursday 30 May 2024 20:13:47 +0000 (0:00:00.012) 0:02:25.929 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Parse the requested stripe size] ***************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-lvmraid.yml:34 Thursday 30 May 2024 20:13:47 +0000 (0:00:00.011) 0:02:25.940 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set expected stripe size] ************************************************ task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-lvmraid.yml:40 Thursday 30 May 2024 20:13:47 +0000 (0:00:00.013) 0:02:25.954 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check stripe size] ******************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-lvmraid.yml:46 Thursday 30 May 2024 20:13:47 +0000 (0:00:00.014) 0:02:25.969 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-members.yml:79 Thursday 30 May 2024 20:13:47 +0000 (0:00:00.015) 0:02:25.984 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-members-thin.yml for sut TASK [Validate pool member thinpool settings] ********************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-members-thin.yml:2 Thursday 30 May 2024 20:13:47 +0000 (0:00:00.026) 0:02:26.010 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-thin.yml for sut TASK [Get information about thinpool] ****************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-thin.yml:8 Thursday 30 May 2024 20:13:47 +0000 (0:00:00.026) 0:02:26.037 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-thin.yml:16 Thursday 30 May 2024 20:13:47 +0000 (0:00:00.014) 0:02:26.051 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-thin.yml:23 Thursday 30 May 2024 20:13:47 +0000 (0:00:00.017) 0:02:26.068 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Reset variable used by test] ********************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-thin.yml:27 Thursday 30 May 2024 20:13:47 +0000 (0:00:00.024) 0:02:26.093 ********** ok: [sut] => { "ansible_facts": { "storage_test_thin_status": null }, "changed": false } TASK [Check member encryption] ************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-members.yml:82 Thursday 30 May 2024 20:13:47 +0000 (0:00:00.015) 0:02:26.108 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-members-encryption.yml for sut TASK [Set test variables] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-members-encryption.yml:5 Thursday 30 May 2024 20:13:48 +0000 (0:00:00.033) 0:02:26.142 ********** ok: [sut] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "1", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-members-encryption.yml:13 Thursday 30 May 2024 20:13:48 +0000 (0:00:00.020) 0:02:26.163 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-encryption.yml for sut TASK [Get the backing device path] ********************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-encryption.yml:2 Thursday 30 May 2024 20:13:48 +0000 (0:00:00.024) 0:02:26.187 ********** ok: [sut] => { "changed": false, "cmd": [ "realpath", "/dev/disk/by-uuid/ad7e8245-5833-47d6-b220-19dae9b54f66" ], "delta": "0:00:00.002755", "end": "2024-05-30 20:13:48.227466", "rc": 0, "start": "2024-05-30 20:13:48.224711" } STDOUT: /dev/sda TASK [Ensure cryptsetup is present] ******************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-encryption.yml:12 Thursday 30 May 2024 20:13:48 +0000 (0:00:00.192) 0:02:26.379 ********** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this member] *************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-encryption.yml:19 Thursday 30 May 2024 20:13:50 +0000 (0:00:02.511) 0:02:28.891 ********** ok: [sut] => { "changed": false, "cmd": [ "cryptsetup", "luksDump", "/dev/sda" ], "delta": "0:00:00.010071", "end": "2024-05-30 20:13:50.939473", "rc": 0, "start": "2024-05-30 20:13:50.929402" } STDOUT: LUKS header information for /dev/sda Version: 1 Cipher name: aes Cipher mode: xts-plain64 Hash spec: sha256 Payload offset: 16384 MK bits: 512 MK digest: 98 b5 0f cb f5 a1 bf 4e 7e c5 56 18 27 71 93 61 67 0e b0 7d MK salt: 74 10 01 ff 7d c7 18 7b d8 66 05 e4 3e e3 cc 33 72 4d e1 a6 9e 21 4d 5c a6 60 21 07 34 3f 2b 1d MK iterations: 107084 UUID: ad7e8245-5833-47d6-b220-19dae9b54f66 Key Slot 0: ENABLED Iterations: 1713358 Salt: bc 61 c8 de fd 8f e0 05 9b dd d9 2b 57 74 29 d2 5b 67 20 47 a9 e9 3c 00 6b 87 64 4e 4d 8d 22 85 Key material offset: 8 AF stripes: 4000 Key Slot 1: DISABLED Key Slot 2: DISABLED Key Slot 3: DISABLED Key Slot 4: DISABLED Key Slot 5: DISABLED Key Slot 6: DISABLED Key Slot 7: DISABLED TASK [Check LUKS version] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-encryption.yml:27 Thursday 30 May 2024 20:13:50 +0000 (0:00:00.201) 0:02:29.093 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Check LUKS key size] ***************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-encryption.yml:40 Thursday 30 May 2024 20:13:50 +0000 (0:00:00.019) 0:02:29.112 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Check LUKS cipher] ******************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-encryption.yml:52 Thursday 30 May 2024 20:13:50 +0000 (0:00:00.018) 0:02:29.131 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Validate pool member crypttab entries] *********************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-members-encryption.yml:20 Thursday 30 May 2024 20:13:51 +0000 (0:00:00.019) 0:02:29.150 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-crypttab.yml for sut TASK [Set variables used by tests] ********************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-crypttab.yml:2 Thursday 30 May 2024 20:13:51 +0000 (0:00:00.025) 0:02:29.175 ********** ok: [sut] => { "ansible_facts": { "_storage_test_crypttab_entries": [ "luks-ad7e8245-5833-47d6-b220-19dae9b54f66 /dev/sda -" ] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-crypttab.yml:9 Thursday 30 May 2024 20:13:51 +0000 (0:00:00.016) 0:02:29.192 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-crypttab.yml:18 Thursday 30 May 2024 20:13:51 +0000 (0:00:00.015) 0:02:29.208 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Check backing device of crypttab entry] ********************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-crypttab.yml:27 Thursday 30 May 2024 20:13:51 +0000 (0:00:00.016) 0:02:29.224 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-crypttab.yml:37 Thursday 30 May 2024 20:13:51 +0000 (0:00:00.012) 0:02:29.236 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Clear test variables] **************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-crypttab.yml:47 Thursday 30 May 2024 20:13:51 +0000 (0:00:00.015) 0:02:29.252 ********** ok: [sut] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [Clear test variables] **************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-members-encryption.yml:27 Thursday 30 May 2024 20:13:51 +0000 (0:00:00.011) 0:02:29.264 ********** ok: [sut] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-members.yml:85 Thursday 30 May 2024 20:13:51 +0000 (0:00:00.011) 0:02:29.275 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-members-vdo.yml for sut TASK [Validate pool member VDO settings] *************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-members-vdo.yml:2 Thursday 30 May 2024 20:13:51 +0000 (0:00:00.026) 0:02:29.302 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-vdo.yml for sut TASK [Get information about VDO deduplication] ********************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-vdo.yml:9 Thursday 30 May 2024 20:13:51 +0000 (0:00:00.024) 0:02:29.326 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if VDO deduplication is off] *************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-vdo.yml:16 Thursday 30 May 2024 20:13:51 +0000 (0:00:00.013) 0:02:29.340 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if VDO deduplication is on] **************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-vdo.yml:22 Thursday 30 May 2024 20:13:51 +0000 (0:00:00.012) 0:02:29.352 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about VDO compression] *********************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-vdo.yml:28 Thursday 30 May 2024 20:13:51 +0000 (0:00:00.012) 0:02:29.365 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if VDO deduplication is off] *************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-vdo.yml:35 Thursday 30 May 2024 20:13:51 +0000 (0:00:00.012) 0:02:29.377 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if VDO deduplication is on] **************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-vdo.yml:41 Thursday 30 May 2024 20:13:51 +0000 (0:00:00.012) 0:02:29.390 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clear test variables] **************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-vdo.yml:47 Thursday 30 May 2024 20:13:51 +0000 (0:00:00.012) 0:02:29.402 ********** ok: [sut] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [Check Stratis] *********************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-members.yml:88 Thursday 30 May 2024 20:13:51 +0000 (0:00:00.012) 0:02:29.415 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-stratis.yml for sut TASK [Run 'stratis report'] **************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-stratis.yml:6 Thursday 30 May 2024 20:13:51 +0000 (0:00:00.027) 0:02:29.443 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about Stratis] ******************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-stratis.yml:11 Thursday 30 May 2024 20:13:51 +0000 (0:00:00.011) 0:02:29.455 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the pools was created] *************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-stratis.yml:15 Thursday 30 May 2024 20:13:51 +0000 (0:00:00.011) 0:02:29.466 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that encryption is correctly set] ********************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-stratis.yml:26 Thursday 30 May 2024 20:13:51 +0000 (0:00:00.013) 0:02:29.479 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that Clevis/Tang encryption is correctly set] ********************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-stratis.yml:36 Thursday 30 May 2024 20:13:51 +0000 (0:00:00.012) 0:02:29.492 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Reset variable used by test] ********************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-stratis.yml:49 Thursday 30 May 2024 20:13:51 +0000 (0:00:00.011) 0:02:29.503 ********** ok: [sut] => { "ansible_facts": { "storage_test_stratis_report": null }, "changed": false } TASK [Clean up test variables] ************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-members.yml:91 Thursday 30 May 2024 20:13:51 +0000 (0:00:00.011) 0:02:29.515 ********** ok: [sut] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [Verify the volumes] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-volumes.yml:3 Thursday 30 May 2024 20:13:51 +0000 (0:00:00.011) 0:02:29.526 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume.yml for sut TASK [Set storage volume test variables] *************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume.yml:2 Thursday 30 May 2024 20:13:51 +0000 (0:00:00.022) 0:02:29.549 ********** ok: [sut] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [Run test verify for {{ storage_test_volume_subset }}] ******************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume.yml:21 Thursday 30 May 2024 20:13:51 +0000 (0:00:00.015) 0:02:29.565 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-mount.yml for sut included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-fstab.yml for sut included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-fs.yml for sut included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-device.yml for sut included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml for sut included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-md.yml for sut included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml for sut included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-cache.yml for sut TASK [Get expected mount device based on device type] ************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-mount.yml:7 Thursday 30 May 2024 20:13:51 +0000 (0:00:00.078) 0:02:29.643 ********** ok: [sut] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-mount.yml:16 Thursday 30 May 2024 20:13:51 +0000 (0:00:00.015) 0:02:29.658 ********** ok: [sut] => { "ansible_facts": { "storage_test_mount_expected_mount_point": "/opt/test1", "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Get information about the mountpoint directory] ************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-mount.yml:30 Thursday 30 May 2024 20:13:51 +0000 (0:00:00.016) 0:02:29.675 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by device] ******************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-mount.yml:43 Thursday 30 May 2024 20:13:51 +0000 (0:00:00.012) 0:02:29.688 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify mount directory user] ********************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-mount.yml:52 Thursday 30 May 2024 20:13:51 +0000 (0:00:00.014) 0:02:29.703 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify mount directory group] ******************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-mount.yml:64 Thursday 30 May 2024 20:13:51 +0000 (0:00:00.012) 0:02:29.715 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify mount directory permissions] ************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-mount.yml:76 Thursday 30 May 2024 20:13:51 +0000 (0:00:00.012) 0:02:29.728 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get path of test volume device] ****************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-mount.yml:91 Thursday 30 May 2024 20:13:51 +0000 (0:00:00.011) 0:02:29.739 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-mount.yml:97 Thursday 30 May 2024 20:13:51 +0000 (0:00:00.012) 0:02:29.752 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-mount.yml:103 Thursday 30 May 2024 20:13:51 +0000 (0:00:00.012) 0:02:29.764 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-mount.yml:115 Thursday 30 May 2024 20:13:51 +0000 (0:00:00.012) 0:02:29.777 ********** ok: [sut] => { "ansible_facts": { "storage_test_found_mount_stat": null, "storage_test_mount_expected_mount_point": 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: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-fstab.yml:2 Thursday 30 May 2024 20:13:51 +0000 (0:00:00.011) 0:02:29.788 ********** ok: [sut] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-fstab.yml:40 Thursday 30 May 2024 20:13:51 +0000 (0:00:00.025) 0:02:29.814 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-fstab.yml:48 Thursday 30 May 2024 20:13:51 +0000 (0:00:00.014) 0:02:29.829 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-fstab.yml:58 Thursday 30 May 2024 20:13:51 +0000 (0:00:00.016) 0:02:29.845 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-fstab.yml:71 Thursday 30 May 2024 20:13:51 +0000 (0:00:00.011) 0:02:29.857 ********** ok: [sut] => { "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: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-fs.yml:6 Thursday 30 May 2024 20:13:51 +0000 (0:00:00.012) 0:02:29.870 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-fs.yml:17 Thursday 30 May 2024 20:13:51 +0000 (0:00:00.016) 0:02:29.886 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-device.yml:3 Thursday 30 May 2024 20:13:51 +0000 (0:00:00.018) 0:02:29.905 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717100023.711933, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1717100023.711933, "dev": 6, "device_type": 64769, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 86225, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1717100023.711933, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-device.yml:9 Thursday 30 May 2024 20:13:51 +0000 (0:00:00.192) 0:02:30.097 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the presence/absence of the device node] ************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-device.yml:16 Thursday 30 May 2024 20:13:51 +0000 (0:00:00.016) 0:02:30.113 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about this volume] ********************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-device.yml:24 Thursday 30 May 2024 20:13:51 +0000 (0:00:00.012) 0:02:30.126 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Process volume type (set initial value) (1/2)] *************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-device.yml:30 Thursday 30 May 2024 20:13:52 +0000 (0:00:00.014) 0:02:30.141 ********** ok: [sut] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [Process volume type (get RAID value) (2/2)] ****************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-device.yml:34 Thursday 30 May 2024 20:13:52 +0000 (0:00:00.014) 0:02:30.155 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-device.yml:39 Thursday 30 May 2024 20:13:52 +0000 (0:00:00.012) 0:02:30.168 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:3 Thursday 30 May 2024 20:13:52 +0000 (0:00:00.014) 0:02:30.182 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:10 Thursday 30 May 2024 20:13:52 +0000 (0:00:00.013) 0:02:30.195 ********** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:17 Thursday 30 May 2024 20:13:54 +0000 (0:00:02.517) 0:02:32.712 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:23 Thursday 30 May 2024 20:13:54 +0000 (0:00:00.013) 0:02:32.726 ********** skipping: [sut] => { "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: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:32 Thursday 30 May 2024 20:13:54 +0000 (0:00:00.013) 0:02:32.739 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:45 Thursday 30 May 2024 20:13:54 +0000 (0:00:00.020) 0:02:32.760 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:51 Thursday 30 May 2024 20:13:54 +0000 (0:00:00.013) 0:02:32.773 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:56 Thursday 30 May 2024 20:13:54 +0000 (0:00:00.012) 0:02:32.786 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:69 Thursday 30 May 2024 20:13:54 +0000 (0:00:00.012) 0:02:32.799 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:81 Thursday 30 May 2024 20:13:54 +0000 (0:00:00.011) 0:02:32.811 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set test variables] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:94 Thursday 30 May 2024 20:13:54 +0000 (0:00:00.013) 0:02:32.824 ********** ok: [sut] => { "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: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:106 Thursday 30 May 2024 20:13:54 +0000 (0:00:00.022) 0:02:32.847 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:114 Thursday 30 May 2024 20:13:54 +0000 (0:00:00.018) 0:02:32.865 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:122 Thursday 30 May 2024 20:13:54 +0000 (0:00:00.013) 0:02:32.878 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:131 Thursday 30 May 2024 20:13:54 +0000 (0:00:00.013) 0:02:32.892 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clear test variables] **************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:140 Thursday 30 May 2024 20:13:54 +0000 (0:00:00.016) 0:02:32.908 ********** ok: [sut] => { "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: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-md.yml:8 Thursday 30 May 2024 20:13:54 +0000 (0:00:00.018) 0:02:32.926 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set active devices regex] ************************************************ task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-md.yml:14 Thursday 30 May 2024 20:13:54 +0000 (0:00:00.018) 0:02:32.945 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set spare devices regex] ************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-md.yml:21 Thursday 30 May 2024 20:13:54 +0000 (0:00:00.012) 0:02:32.958 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set md version regex] **************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-md.yml:28 Thursday 30 May 2024 20:13:54 +0000 (0:00:00.013) 0:02:32.971 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set chunk size regex] **************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-md.yml:35 Thursday 30 May 2024 20:13:54 +0000 (0:00:00.012) 0:02:32.983 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Parse the chunk size] **************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-md.yml:45 Thursday 30 May 2024 20:13:54 +0000 (0:00:00.015) 0:02:32.999 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID active devices count] ***************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-md.yml:54 Thursday 30 May 2024 20:13:54 +0000 (0:00:00.013) 0:02:33.013 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID spare devices count] ****************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-md.yml:63 Thursday 30 May 2024 20:13:54 +0000 (0:00:00.014) 0:02:33.028 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID metadata version] ********************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-md.yml:72 Thursday 30 May 2024 20:13:54 +0000 (0:00:00.013) 0:02:33.041 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID chunk size] *************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-md.yml:81 Thursday 30 May 2024 20:13:54 +0000 (0:00:00.013) 0:02:33.055 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Parse the actual size of the volume] ************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:3 Thursday 30 May 2024 20:13:54 +0000 (0:00:00.012) 0:02:33.067 ********** ok: [sut] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [Parse the requested size of the volume] ********************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:11 Thursday 30 May 2024 20:13:55 +0000 (0:00:00.193) 0:02:33.261 ********** ok: [sut] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [Establish base value for expected size] ********************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:20 Thursday 30 May 2024 20:13:55 +0000 (0:00:00.192) 0:02:33.453 ********** ok: [sut] => { "ansible_facts": { "storage_test_expected_size": "4294967296" }, "changed": false } TASK [Show expected size] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:28 Thursday 30 May 2024 20:13:55 +0000 (0:00:00.019) 0:02:33.473 ********** ok: [sut] => { "storage_test_expected_size": "4294967296" } TASK [Get the size of parent/pool device] ************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:32 Thursday 30 May 2024 20:13:55 +0000 (0:00:00.025) 0:02:33.499 ********** ok: [sut] => { "bytes": 10715943403, "changed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } TASK [Show test pool] ********************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:46 Thursday 30 May 2024 20:13:55 +0000 (0:00:00.191) 0:02:33.691 ********** skipping: [sut] => {} TASK [Show test blockinfo] ***************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:50 Thursday 30 May 2024 20:13:55 +0000 (0:00:00.015) 0:02:33.706 ********** skipping: [sut] => {} TASK [Show test pool size] ***************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:54 Thursday 30 May 2024 20:13:55 +0000 (0:00:00.014) 0:02:33.721 ********** skipping: [sut] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:58 Thursday 30 May 2024 20:13:55 +0000 (0:00:00.038) 0:02:33.759 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Default thin pool reserved space values] ********************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:68 Thursday 30 May 2024 20:13:55 +0000 (0:00:00.016) 0:02:33.776 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Default minimal thin pool reserved space size] *************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:72 Thursday 30 May 2024 20:13:55 +0000 (0:00:00.013) 0:02:33.789 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Default maximal thin pool reserved space size] *************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:77 Thursday 30 May 2024 20:13:55 +0000 (0:00:00.011) 0:02:33.801 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Calculate maximum usable space in thin pool] ***************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:83 Thursday 30 May 2024 20:13:55 +0000 (0:00:00.011) 0:02:33.813 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply upper size limit to max usable thin pool space] ******************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:88 Thursday 30 May 2024 20:13:55 +0000 (0:00:00.012) 0:02:33.826 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply lower size limit to max usable thin pool space] ******************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:96 Thursday 30 May 2024 20:13:55 +0000 (0:00:00.014) 0:02:33.840 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Convert maximum usable thin pool space from int to Size] ***************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:104 Thursday 30 May 2024 20:13:55 +0000 (0:00:00.012) 0:02:33.853 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Show max thin pool size] ************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:109 Thursday 30 May 2024 20:13:55 +0000 (0:00:00.013) 0:02:33.866 ********** skipping: [sut] => {} TASK [Show volume thin pool size] ********************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:113 Thursday 30 May 2024 20:13:55 +0000 (0:00:00.013) 0:02:33.880 ********** skipping: [sut] => {} TASK [Show test volume size] *************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:117 Thursday 30 May 2024 20:13:55 +0000 (0:00:00.013) 0:02:33.893 ********** skipping: [sut] => {} TASK [Establish base value for expected thin pool size] ************************ task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:121 Thursday 30 May 2024 20:13:55 +0000 (0:00:00.013) 0:02:33.907 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:129 Thursday 30 May 2024 20:13:55 +0000 (0:00:00.014) 0:02:33.921 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected thin pool volume size] ***************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:138 Thursday 30 May 2024 20:13:55 +0000 (0:00:00.023) 0:02:33.945 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Calculate the expected thin pool volume size based on percentage value] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:142 Thursday 30 May 2024 20:13:55 +0000 (0:00:00.014) 0:02:33.959 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Replace expected volume size with calculated value] ********************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:150 Thursday 30 May 2024 20:13:55 +0000 (0:00:00.015) 0:02:33.975 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Show actual size] ******************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:156 Thursday 30 May 2024 20:13:55 +0000 (0:00:00.034) 0:02:34.009 ********** ok: [sut] => { "storage_test_actual_size": { "bytes": 4294967296, "changed": false, "failed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } } TASK [Show expected size] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:160 Thursday 30 May 2024 20:13:55 +0000 (0:00:00.032) 0:02:34.041 ********** ok: [sut] => { "storage_test_expected_size": "4294967296" } TASK [Assert expected size is actual size] ************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:164 Thursday 30 May 2024 20:13:55 +0000 (0:00:00.020) 0:02:34.062 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-cache.yml:5 Thursday 30 May 2024 20:13:55 +0000 (0:00:00.021) 0:02:34.084 ********** ok: [sut] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.033835", "end": "2024-05-30 20:13:56.159539", "rc": 0, "start": "2024-05-30 20:13:56.125704" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [Set LV segment type] ***************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-cache.yml:13 Thursday 30 May 2024 20:13:56 +0000 (0:00:00.238) 0:02:34.323 ********** ok: [sut] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [Check segment type] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-cache.yml:18 Thursday 30 May 2024 20:13:56 +0000 (0:00:00.024) 0:02:34.347 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set LV cache size] ******************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-cache.yml:27 Thursday 30 May 2024 20:13:56 +0000 (0:00:00.021) 0:02:34.368 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Parse the requested cache size] ****************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-cache.yml:35 Thursday 30 May 2024 20:13:56 +0000 (0:00:00.015) 0:02:34.384 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set expected cache size] ************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-cache.yml:41 Thursday 30 May 2024 20:13:56 +0000 (0:00:00.023) 0:02:34.407 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-cache.yml:47 Thursday 30 May 2024 20:13:56 +0000 (0:00:00.014) 0:02:34.421 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume.yml:27 Thursday 30 May 2024 20:13:56 +0000 (0:00:00.014) 0:02:34.435 ********** ok: [sut] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-role-results.yml:44 Thursday 30 May 2024 20:13:56 +0000 (0:00:00.014) 0:02:34.450 ********** TASK [Clean up variable namespace] ********************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-role-results.yml:54 Thursday 30 May 2024 20:13:56 +0000 (0:00:00.012) 0:02:34.462 ********** ok: [sut] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Create a file] *********************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/create-test-file.yml:12 Thursday 30 May 2024 20:13:56 +0000 (0:00:00.013) 0:02:34.476 ********** changed: [sut] => { "changed": true, "dest": "/opt/test1/quux", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:unlabeled_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Change the mountpoint, leaving encryption in place] ********************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/tests_luks_pool.yml:241 Thursday 30 May 2024 20:13:56 +0000 (0:00:00.202) 0:02:34.678 ********** TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 30 May 2024 20:13:56 +0000 (0:00:00.031) 0:02:34.709 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for sut TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 30 May 2024 20:13:56 +0000 (0:00:00.018) 0:02:34.728 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 30 May 2024 20:13:56 +0000 (0:00:00.013) 0:02:34.742 ********** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (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", "stratisd", "stratis-cli" ] }, "ansible_included_var_files": [ "/WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [sut] => (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", "stratisd", "stratis-cli" ] }, "ansible_included_var_files": [ "/WORKDIR/git-main_stratis-support-2_olzkgxl/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 : Check if system is ostree] ****************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:26 Thursday 30 May 2024 20:13:56 +0000 (0:00:00.031) 0:02:34.773 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:31 Thursday 30 May 2024 20:13:56 +0000 (0:00:00.011) 0:02:34.785 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Define an empty list of pools to be used in testing] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 30 May 2024 20:13:56 +0000 (0:00:00.012) 0:02:34.797 ********** ok: [sut] => { "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: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 30 May 2024 20:13:56 +0000 (0:00:00.011) 0:02:34.808 ********** ok: [sut] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : Include the appropriate provider tasks] ***** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 30 May 2024 20:13:56 +0000 (0:00:00.011) 0:02:34.819 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for sut TASK [linux-system-roles.storage : Make sure blivet is available] ************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 30 May 2024 20:13:56 +0000 (0:00:00.024) 0:02:34.844 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Show storage_pools] ************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:11 Thursday 30 May 2024 20:13:56 +0000 (0:00:00.013) 0:02:34.857 ********** ok: [sut] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "mount_point": "/opt/test2", "name": "test1" } ] } ] } TASK [linux-system-roles.storage : Show storage_volumes] *********************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:16 Thursday 30 May 2024 20:13:56 +0000 (0:00:00.022) 0:02:34.879 ********** ok: [sut] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : Get required packages] ********************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:21 Thursday 30 May 2024 20:13:56 +0000 (0:00:00.014) 0:02:34.894 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Enable copr repositories if needed] ********* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:34 Thursday 30 May 2024 20:13:56 +0000 (0:00:00.012) 0:02:34.906 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Make sure required packages are installed] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:41 Thursday 30 May 2024 20:13:56 +0000 (0:00:00.014) 0:02:34.921 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Get service facts] ************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:57 Thursday 30 May 2024 20:13:56 +0000 (0:00:00.012) 0:02:34.934 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:64 Thursday 30 May 2024 20:13:56 +0000 (0:00:00.013) 0:02:34.947 ********** ok: [sut] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:78 Thursday 30 May 2024 20:13:56 +0000 (0:00:00.019) 0:02:34.967 ********** TASK [linux-system-roles.storage : Manage the pools and volumes to match the specified state] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:84 Thursday 30 May 2024 20:13:56 +0000 (0:00:00.011) 0:02:34.978 ********** ok: [sut] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sdb", "/dev/sdc", "/dev/sdd", "/dev/sde", "/dev/sdf", "/dev/sdg", "/dev/sdh", "/dev/sdi", "/dev/xvda1", "/dev/mapper/foo-test1" ], "mounts": [ { "path": "/opt/test1", "state": "absent" }, { "dump": 0, "fstype": "xfs", "group": null, "mode": null, "opts": "defaults", "owner": null, "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "cryptsetup", "xfsprogs", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_clevis_pin": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "encryption_password": null, "encryption_tang_thumbprint": null, "encryption_tang_url": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "shared": false, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_group": null, "mount_mode": null, "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "mount_user": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "raid_stripe_size": null, "size": 4294967296, "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:98 Thursday 30 May 2024 20:14:01 +0000 (0:00:04.464) 0:02:39.442 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:110 Thursday 30 May 2024 20:14:01 +0000 (0:00:00.013) 0:02:39.455 ********** TASK [linux-system-roles.storage : Show blivet_output] ************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:116 Thursday 30 May 2024 20:14:01 +0000 (0:00:00.011) 0:02:39.467 ********** ok: [sut] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sdb", "/dev/sdc", "/dev/sdd", "/dev/sde", "/dev/sdf", "/dev/sdg", "/dev/sdh", "/dev/sdi", "/dev/xvda1", "/dev/mapper/foo-test1" ], "mounts": [ { "path": "/opt/test1", "state": "absent" }, { "dump": 0, "fstype": "xfs", "group": null, "mode": null, "opts": "defaults", "owner": null, "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "cryptsetup", "xfsprogs", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_clevis_pin": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "encryption_password": null, "encryption_tang_thumbprint": null, "encryption_tang_url": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "shared": false, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_group": null, "mount_mode": null, "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "mount_user": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "raid_stripe_size": null, "size": 4294967296, "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : Set the list of pools for test verification] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:125 Thursday 30 May 2024 20:14:01 +0000 (0:00:00.015) 0:02:39.482 ********** ok: [sut] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_clevis_pin": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "encryption_password": null, "encryption_tang_thumbprint": null, "encryption_tang_url": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "shared": false, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_group": null, "mount_mode": null, "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "mount_user": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "raid_stripe_size": null, "size": 4294967296, "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : Set the list of volumes for test verification] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:129 Thursday 30 May 2024 20:14:01 +0000 (0:00:00.015) 0:02:39.498 ********** ok: [sut] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : Remove obsolete mounts] ********************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:145 Thursday 30 May 2024 20:14:01 +0000 (0:00:00.019) 0:02:39.517 ********** changed: [sut] => (item={'path': '/opt/test1', 'state': 'absent'}) => { "ansible_loop_var": "mount_info", "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: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:157 Thursday 30 May 2024 20:14:01 +0000 (0:00:00.234) 0:02:39.752 ********** ok: [sut] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : Set up new/current mounts] ****************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:162 Thursday 30 May 2024 20:14:02 +0000 (0:00:00.480) 0:02:40.232 ********** changed: [sut] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test2', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted', 'owner': None, 'group': None, 'mode': None}) => { "ansible_loop_var": "mount_info", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "group": null, "mode": null, "opts": "defaults", "owner": null, "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : Manage mount ownership/permissions] ********* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:174 Thursday 30 May 2024 20:14:02 +0000 (0:00:00.219) 0:02:40.452 ********** skipping: [sut] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test2', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted', 'owner': None, 'group': None, 'mode': None}) => { "ansible_loop_var": "mount_info", "changed": false, "mount_info": { "dump": 0, "fstype": "xfs", "group": null, "mode": null, "opts": "defaults", "owner": null, "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Tell systemd to refresh its view of /etc/fstab] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:189 Thursday 30 May 2024 20:14:02 +0000 (0:00:00.017) 0:02:40.469 ********** ok: [sut] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : Retrieve facts for the /etc/crypttab file] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:197 Thursday 30 May 2024 20:14:02 +0000 (0:00:00.464) 0:02:40.934 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717100026.8609307, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "70cfc2b68a0016b87b3c1889a3991d4bcc0d9011", "ctime": 1717100025.6219316, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 169869508, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1717100025.6209316, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 53, "uid": 0, "version": "2423213430", "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: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:202 Thursday 30 May 2024 20:14:03 +0000 (0:00:00.199) 0:02:41.133 ********** TASK [linux-system-roles.storage : Update facts] ******************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:224 Thursday 30 May 2024 20:14:03 +0000 (0:00:00.018) 0:02:41.151 ********** ok: [sut] TASK [Assert to implicitly preserve encryption on existing pool] *************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/tests_luks_pool.yml:253 Thursday 30 May 2024 20:14:03 +0000 (0:00:00.589) 0:02:41.741 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Stat the file] *********************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-data-preservation.yml:11 Thursday 30 May 2024 20:14:03 +0000 (0:00:00.015) 0:02:41.756 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717100036.5219235, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1717100036.5219235, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 131, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0644", "mtime": 1717100036.5219235, "nlink": 1, "path": "/opt/test2/quux", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "version": "2133022694", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Assert file presence] **************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-data-preservation.yml:16 Thursday 30 May 2024 20:14:03 +0000 (0:00:00.196) 0:02:41.953 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify role results] ***************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/tests_luks_pool.yml:263 Thursday 30 May 2024 20:14:03 +0000 (0:00:00.015) 0:02:41.968 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-role-results.yml for sut TASK [Print out pool information] ********************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-role-results.yml:2 Thursday 30 May 2024 20:14:03 +0000 (0:00:00.024) 0:02:41.993 ********** ok: [sut] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_clevis_pin": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "encryption_password": null, "encryption_tang_thumbprint": null, "encryption_tang_url": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "shared": false, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_group": null, "mount_mode": null, "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "mount_user": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "raid_stripe_size": null, "size": 4294967296, "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-role-results.yml:7 Thursday 30 May 2024 20:14:03 +0000 (0:00:00.018) 0:02:42.011 ********** skipping: [sut] => {} TASK [Collect info about the volumes.] ***************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-role-results.yml:15 Thursday 30 May 2024 20:14:03 +0000 (0:00:00.014) 0:02:42.025 ********** ok: [sut] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "mountpoint": "/opt/test2", "name": "/dev/mapper/foo-test1", "size": "4G", "type": "lvm", "uuid": "e4c2bb0c-5078-45e0-9a1d-1f806af0b1e3" }, "/dev/mapper/luks-ad7e8245-5833-47d6-b220-19dae9b54f66": { "fstype": "LVM2_member", "label": "", "mountpoint": "", "name": "/dev/mapper/luks-ad7e8245-5833-47d6-b220-19dae9b54f66", "size": "10G", "type": "crypt", "uuid": "mFs2Fo-Zf3I-zpOc-eZNS-5OPx-N3PP-jOoDh2" }, "/dev/sda": { "fstype": "crypto_LUKS", "label": "", "mountpoint": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "ad7e8245-5833-47d6-b220-19dae9b54f66" }, "/dev/sdb": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdd": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdd", "size": "1T", "type": "disk", "uuid": "" }, "/dev/sde": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sde", "size": "1T", "type": "disk", "uuid": "" }, "/dev/sdf": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdg": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdg", "size": "1T", "type": "disk", "uuid": "" }, "/dev/sdh": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdh", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdi": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdi", "size": "10G", "type": "disk", "uuid": "" }, "/dev/xvda": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/xvda", "size": "250G", "type": "disk", "uuid": "" }, "/dev/xvda1": { "fstype": "xfs", "label": "", "mountpoint": "/", "name": "/dev/xvda1", "size": "250G", "type": "partition", "uuid": "fe591198-9082-4b15-9b62-e83518524cd2" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-role-results.yml:20 Thursday 30 May 2024 20:14:04 +0000 (0:00:00.203) 0:02:42.229 ********** ok: [sut] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002750", "end": "2024-05-30 20:14:04.267350", "rc": 0, "start": "2024-05-30 20:14:04.264600" } STDOUT: # # /etc/fstab # Created by anaconda on Wed May 29 07:43:06 2024 # # 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=fe591198-9082-4b15-9b62-e83518524cd2 / xfs defaults 0 0 ntap-bos-c01-eng01-nfs01b.storage.bos.redhat.com:/devops_engineering_nfs/devarchive/redhat /mnt/redhat nfs ro,rsize=32768,wsize=8192,bg,noauto,noatime,nosuid,nodev,intr 0 0 nest.test.redhat.com:/mnt/qa /mnt/qa nfs defaults,rsize=8192,wsize=8192,bg,noauto,noatime,nosuid,nodev,intr 0 0 vtap-eng01.storage.rdu2.redhat.com:/vol/engarchive /mnt/engarchive nfs ro,rsize=32768,wsize=8192,bg,noauto,noatime,nosuid,nodev,intr 0 0 nest.test.redhat.com:/mnt/tpsdist /mnt/tpsdist nfs defaults,rsize=8192,wsize=8192,bg,noauto,noatime,nosuid,nodev,intr 0 0 ntap-bos-c01-eng01-nfs01b.storage.bos.redhat.com:/devops_engineering_nfs/devarchive/redhat/brewroot /mnt/brew nfs ro,rsize=32768,wsize=8192,bg,noauto,noatime,nosuid,nodev,intr 0 0 ntap-bos-c01-eng01-nfs01b.storage.bos.redhat.com:/devops_brew_scratch_nfs/scratch /mnt/brew_scratch nfs ro,rsize=32768,wsize=8192,bg,noauto,noatime,nosuid,nodev,intr 0 0 /dev/mapper/foo-test1 /opt/test2 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-role-results.yml:25 Thursday 30 May 2024 20:14:04 +0000 (0:00:00.191) 0:02:42.420 ********** ok: [sut] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002818", "end": "2024-05-30 20:14:04.458875", "failed_when_result": false, "rc": 0, "start": "2024-05-30 20:14:04.456057" } STDOUT: luks-ad7e8245-5833-47d6-b220-19dae9b54f66 /dev/sda - TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-role-results.yml:34 Thursday 30 May 2024 20:14:04 +0000 (0:00:00.226) 0:02:42.647 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool.yml for sut TASK [Set _storage_pool_tests] ************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool.yml:5 Thursday 30 May 2024 20:14:04 +0000 (0:00:00.026) 0:02:42.674 ********** ok: [sut] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [Get VG shared value status] ********************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool.yml:18 Thursday 30 May 2024 20:14:04 +0000 (0:00:00.018) 0:02:42.692 ********** ok: [sut] => { "changed": false, "cmd": [ "vgs", "--noheadings", "--binary", "-o", "shared", "foo" ], "delta": "0:00:00.029697", "end": "2024-05-30 20:14:04.770417", "rc": 0, "start": "2024-05-30 20:14:04.740720" } STDOUT: 0 TASK [Verify that VG shared value checks out] ********************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool.yml:24 Thursday 30 May 2024 20:14:04 +0000 (0:00:00.233) 0:02:42.925 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify pool subset] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool.yml:34 Thursday 30 May 2024 20:14:04 +0000 (0:00:00.019) 0:02:42.944 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-members.yml for sut included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-volumes.yml for sut TASK [Set test variables] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-members.yml:2 Thursday 30 May 2024 20:14:04 +0000 (0:00:00.029) 0:02:42.974 ********** ok: [sut] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/mapper/luks-ad7e8245-5833-47d6-b220-19dae9b54f66" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-members.yml:13 Thursday 30 May 2024 20:14:04 +0000 (0:00:00.020) 0:02:42.995 ********** ok: [sut] => (item=/dev/mapper/luks-ad7e8245-5833-47d6-b220-19dae9b54f66) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/mapper/luks-ad7e8245-5833-47d6-b220-19dae9b54f66", "pv": "/dev/mapper/luks-ad7e8245-5833-47d6-b220-19dae9b54f66" } TASK [Set pvs lvm length] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-members.yml:22 Thursday 30 May 2024 20:14:05 +0000 (0:00:00.188) 0:02:43.184 ********** ok: [sut] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [Set pool pvs] ************************************************************ task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-members.yml:27 Thursday 30 May 2024 20:14:05 +0000 (0:00:00.016) 0:02:43.201 ********** ok: [sut] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/mapper/luks-ad7e8245-5833-47d6-b220-19dae9b54f66" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-members.yml:33 Thursday 30 May 2024 20:14:05 +0000 (0:00:00.016) 0:02:43.218 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set expected pv type] **************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-members.yml:42 Thursday 30 May 2024 20:14:05 +0000 (0:00:00.017) 0:02:43.235 ********** ok: [sut] => { "ansible_facts": { "_storage_test_expected_pv_type": "crypt" }, "changed": false } TASK [Set expected pv type] **************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-members.yml:48 Thursday 30 May 2024 20:14:05 +0000 (0:00:00.015) 0:02:43.251 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set expected pv type] **************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-members.yml:54 Thursday 30 May 2024 20:14:05 +0000 (0:00:00.012) 0:02:43.264 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-members.yml:59 Thursday 30 May 2024 20:14:05 +0000 (0:00:00.012) 0:02:43.277 ********** ok: [sut] => (item=/dev/mapper/luks-ad7e8245-5833-47d6-b220-19dae9b54f66) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/mapper/luks-ad7e8245-5833-47d6-b220-19dae9b54f66" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-members.yml:73 Thursday 30 May 2024 20:14:05 +0000 (0:00:00.021) 0:02:43.298 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-md.yml for sut TASK [Get information about RAID] ********************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-md.yml:8 Thursday 30 May 2024 20:14:05 +0000 (0:00:00.022) 0:02:43.321 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set active devices regex] ************************************************ task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-md.yml:14 Thursday 30 May 2024 20:14:05 +0000 (0:00:00.013) 0:02:43.334 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set spare devices regex] ************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-md.yml:21 Thursday 30 May 2024 20:14:05 +0000 (0:00:00.013) 0:02:43.347 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set md version regex] **************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-md.yml:28 Thursday 30 May 2024 20:14:05 +0000 (0:00:00.014) 0:02:43.362 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set md chunk size regex] ************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-md.yml:35 Thursday 30 May 2024 20:14:05 +0000 (0:00:00.012) 0:02:43.374 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Parse the chunk size] **************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-md.yml:45 Thursday 30 May 2024 20:14:05 +0000 (0:00:00.012) 0:02:43.387 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID active devices count] ***************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-md.yml:54 Thursday 30 May 2024 20:14:05 +0000 (0:00:00.012) 0:02:43.400 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID spare devices count] ****************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-md.yml:64 Thursday 30 May 2024 20:14:05 +0000 (0:00:00.011) 0:02:43.412 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID metadata version] ********************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-md.yml:74 Thursday 30 May 2024 20:14:05 +0000 (0:00:00.012) 0:02:43.425 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID chunk size] *************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-md.yml:85 Thursday 30 May 2024 20:14:05 +0000 (0:00:00.014) 0:02:43.439 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Reset variables used by tests] ******************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-md.yml:95 Thursday 30 May 2024 20:14:05 +0000 (0:00:00.013) 0:02:43.452 ********** ok: [sut] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_chunk_size_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-members.yml:76 Thursday 30 May 2024 20:14:05 +0000 (0:00:00.012) 0:02:43.465 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-members-lvmraid.yml for sut TASK [Validate pool member LVM RAID settings] ********************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-members-lvmraid.yml:2 Thursday 30 May 2024 20:14:05 +0000 (0:00:00.024) 0:02:43.489 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-lvmraid.yml for sut TASK [Get information about the LV] ******************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-lvmraid.yml:8 Thursday 30 May 2024 20:14:05 +0000 (0:00:00.025) 0:02:43.515 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set LV segment type] ***************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-lvmraid.yml:16 Thursday 30 May 2024 20:14:05 +0000 (0:00:00.013) 0:02:43.528 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check segment type] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-lvmraid.yml:21 Thursday 30 May 2024 20:14:05 +0000 (0:00:00.012) 0:02:43.541 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set LV stripe size] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-lvmraid.yml:29 Thursday 30 May 2024 20:14:05 +0000 (0:00:00.012) 0:02:43.553 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Parse the requested stripe size] ***************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-lvmraid.yml:34 Thursday 30 May 2024 20:14:05 +0000 (0:00:00.012) 0:02:43.566 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set expected stripe size] ************************************************ task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-lvmraid.yml:40 Thursday 30 May 2024 20:14:05 +0000 (0:00:00.013) 0:02:43.580 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check stripe size] ******************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-lvmraid.yml:46 Thursday 30 May 2024 20:14:05 +0000 (0:00:00.012) 0:02:43.593 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-members.yml:79 Thursday 30 May 2024 20:14:05 +0000 (0:00:00.012) 0:02:43.605 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-members-thin.yml for sut TASK [Validate pool member thinpool settings] ********************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-members-thin.yml:2 Thursday 30 May 2024 20:14:05 +0000 (0:00:00.024) 0:02:43.630 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-thin.yml for sut TASK [Get information about thinpool] ****************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-thin.yml:8 Thursday 30 May 2024 20:14:05 +0000 (0:00:00.025) 0:02:43.655 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-thin.yml:16 Thursday 30 May 2024 20:14:05 +0000 (0:00:00.012) 0:02:43.668 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-thin.yml:23 Thursday 30 May 2024 20:14:05 +0000 (0:00:00.012) 0:02:43.680 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Reset variable used by test] ********************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-thin.yml:27 Thursday 30 May 2024 20:14:05 +0000 (0:00:00.011) 0:02:43.692 ********** ok: [sut] => { "ansible_facts": { "storage_test_thin_status": null }, "changed": false } TASK [Check member encryption] ************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-members.yml:82 Thursday 30 May 2024 20:14:05 +0000 (0:00:00.011) 0:02:43.704 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-members-encryption.yml for sut TASK [Set test variables] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-members-encryption.yml:5 Thursday 30 May 2024 20:14:05 +0000 (0:00:00.027) 0:02:43.731 ********** ok: [sut] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "1", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-members-encryption.yml:13 Thursday 30 May 2024 20:14:05 +0000 (0:00:00.015) 0:02:43.746 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-encryption.yml for sut TASK [Get the backing device path] ********************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-encryption.yml:2 Thursday 30 May 2024 20:14:05 +0000 (0:00:00.024) 0:02:43.770 ********** ok: [sut] => { "changed": false, "cmd": [ "realpath", "/dev/disk/by-uuid/ad7e8245-5833-47d6-b220-19dae9b54f66" ], "delta": "0:00:00.002809", "end": "2024-05-30 20:14:05.812504", "rc": 0, "start": "2024-05-30 20:14:05.809695" } STDOUT: /dev/sda TASK [Ensure cryptsetup is present] ******************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-encryption.yml:12 Thursday 30 May 2024 20:14:05 +0000 (0:00:00.194) 0:02:43.965 ********** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this member] *************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-encryption.yml:19 Thursday 30 May 2024 20:14:08 +0000 (0:00:02.531) 0:02:46.497 ********** ok: [sut] => { "changed": false, "cmd": [ "cryptsetup", "luksDump", "/dev/sda" ], "delta": "0:00:00.010391", "end": "2024-05-30 20:14:08.545620", "rc": 0, "start": "2024-05-30 20:14:08.535229" } STDOUT: LUKS header information for /dev/sda Version: 1 Cipher name: aes Cipher mode: xts-plain64 Hash spec: sha256 Payload offset: 16384 MK bits: 512 MK digest: 98 b5 0f cb f5 a1 bf 4e 7e c5 56 18 27 71 93 61 67 0e b0 7d MK salt: 74 10 01 ff 7d c7 18 7b d8 66 05 e4 3e e3 cc 33 72 4d e1 a6 9e 21 4d 5c a6 60 21 07 34 3f 2b 1d MK iterations: 107084 UUID: ad7e8245-5833-47d6-b220-19dae9b54f66 Key Slot 0: ENABLED Iterations: 1713358 Salt: bc 61 c8 de fd 8f e0 05 9b dd d9 2b 57 74 29 d2 5b 67 20 47 a9 e9 3c 00 6b 87 64 4e 4d 8d 22 85 Key material offset: 8 AF stripes: 4000 Key Slot 1: DISABLED Key Slot 2: DISABLED Key Slot 3: DISABLED Key Slot 4: DISABLED Key Slot 5: DISABLED Key Slot 6: DISABLED Key Slot 7: DISABLED TASK [Check LUKS version] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-encryption.yml:27 Thursday 30 May 2024 20:14:08 +0000 (0:00:00.204) 0:02:46.701 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Check LUKS key size] ***************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-encryption.yml:40 Thursday 30 May 2024 20:14:08 +0000 (0:00:00.020) 0:02:46.721 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-encryption.yml:52 Thursday 30 May 2024 20:14:08 +0000 (0:00:00.014) 0:02:46.736 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-members-encryption.yml:20 Thursday 30 May 2024 20:14:08 +0000 (0:00:00.014) 0:02:46.751 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-crypttab.yml for sut TASK [Set variables used by tests] ********************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-crypttab.yml:2 Thursday 30 May 2024 20:14:08 +0000 (0:00:00.029) 0:02:46.780 ********** ok: [sut] => { "ansible_facts": { "_storage_test_crypttab_entries": [ "luks-ad7e8245-5833-47d6-b220-19dae9b54f66 /dev/sda -" ] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-crypttab.yml:9 Thursday 30 May 2024 20:14:08 +0000 (0:00:00.015) 0:02:46.796 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-crypttab.yml:18 Thursday 30 May 2024 20:14:08 +0000 (0:00:00.016) 0:02:46.812 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Check backing device of crypttab entry] ********************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-crypttab.yml:27 Thursday 30 May 2024 20:14:08 +0000 (0:00:00.017) 0:02:46.830 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-crypttab.yml:37 Thursday 30 May 2024 20:14:08 +0000 (0:00:00.014) 0:02:46.845 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Clear test variables] **************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-crypttab.yml:47 Thursday 30 May 2024 20:14:08 +0000 (0:00:00.021) 0:02:46.866 ********** ok: [sut] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [Clear test variables] **************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-members-encryption.yml:27 Thursday 30 May 2024 20:14:08 +0000 (0:00:00.012) 0:02:46.879 ********** ok: [sut] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-members.yml:85 Thursday 30 May 2024 20:14:08 +0000 (0:00:00.012) 0:02:46.891 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-members-vdo.yml for sut TASK [Validate pool member VDO settings] *************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-members-vdo.yml:2 Thursday 30 May 2024 20:14:08 +0000 (0:00:00.029) 0:02:46.921 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-vdo.yml for sut TASK [Get information about VDO deduplication] ********************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-vdo.yml:9 Thursday 30 May 2024 20:14:08 +0000 (0:00:00.028) 0:02:46.949 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if VDO deduplication is off] *************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-vdo.yml:16 Thursday 30 May 2024 20:14:08 +0000 (0:00:00.020) 0:02:46.969 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if VDO deduplication is on] **************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-vdo.yml:22 Thursday 30 May 2024 20:14:08 +0000 (0:00:00.017) 0:02:46.987 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about VDO compression] *********************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-vdo.yml:28 Thursday 30 May 2024 20:14:08 +0000 (0:00:00.025) 0:02:47.012 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if VDO deduplication is off] *************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-vdo.yml:35 Thursday 30 May 2024 20:14:08 +0000 (0:00:00.014) 0:02:47.027 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if VDO deduplication is on] **************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-vdo.yml:41 Thursday 30 May 2024 20:14:08 +0000 (0:00:00.029) 0:02:47.056 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clear test variables] **************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-vdo.yml:47 Thursday 30 May 2024 20:14:08 +0000 (0:00:00.015) 0:02:47.072 ********** ok: [sut] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [Check Stratis] *********************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-members.yml:88 Thursday 30 May 2024 20:14:08 +0000 (0:00:00.014) 0:02:47.087 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-stratis.yml for sut TASK [Run 'stratis report'] **************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-stratis.yml:6 Thursday 30 May 2024 20:14:08 +0000 (0:00:00.039) 0:02:47.126 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about Stratis] ******************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-stratis.yml:11 Thursday 30 May 2024 20:14:09 +0000 (0:00:00.017) 0:02:47.143 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the pools was created] *************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-stratis.yml:15 Thursday 30 May 2024 20:14:09 +0000 (0:00:00.013) 0:02:47.156 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that encryption is correctly set] ********************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-stratis.yml:26 Thursday 30 May 2024 20:14:09 +0000 (0:00:00.012) 0:02:47.169 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that Clevis/Tang encryption is correctly set] ********************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-stratis.yml:36 Thursday 30 May 2024 20:14:09 +0000 (0:00:00.014) 0:02:47.184 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Reset variable used by test] ********************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-stratis.yml:49 Thursday 30 May 2024 20:14:09 +0000 (0:00:00.029) 0:02:47.214 ********** ok: [sut] => { "ansible_facts": { "storage_test_stratis_report": null }, "changed": false } TASK [Clean up test variables] ************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-members.yml:91 Thursday 30 May 2024 20:14:09 +0000 (0:00:00.024) 0:02:47.238 ********** ok: [sut] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [Verify the volumes] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-pool-volumes.yml:3 Thursday 30 May 2024 20:14:09 +0000 (0:00:00.030) 0:02:47.269 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume.yml for sut TASK [Set storage volume test variables] *************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume.yml:2 Thursday 30 May 2024 20:14:09 +0000 (0:00:00.032) 0:02:47.302 ********** ok: [sut] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [Run test verify for {{ storage_test_volume_subset }}] ******************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume.yml:21 Thursday 30 May 2024 20:14:09 +0000 (0:00:00.022) 0:02:47.325 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-mount.yml for sut included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-fstab.yml for sut included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-fs.yml for sut included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-device.yml for sut included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml for sut included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-md.yml for sut included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml for sut included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-cache.yml for sut TASK [Get expected mount device based on device type] ************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-mount.yml:7 Thursday 30 May 2024 20:14:09 +0000 (0:00:00.102) 0:02:47.427 ********** ok: [sut] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-mount.yml:16 Thursday 30 May 2024 20:14:09 +0000 (0:00:00.023) 0:02:47.451 ********** ok: [sut] => { "ansible_facts": { "storage_test_mount_expected_mount_point": "/opt/test2", "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Get information about the mountpoint directory] ************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-mount.yml:30 Thursday 30 May 2024 20:14:09 +0000 (0:00:00.029) 0:02:47.481 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by device] ******************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-mount.yml:43 Thursday 30 May 2024 20:14:09 +0000 (0:00:00.028) 0:02:47.509 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify mount directory user] ********************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-mount.yml:52 Thursday 30 May 2024 20:14:09 +0000 (0:00:00.016) 0:02:47.526 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify mount directory group] ******************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-mount.yml:64 Thursday 30 May 2024 20:14:09 +0000 (0:00:00.014) 0:02:47.541 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify mount directory permissions] ************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-mount.yml:76 Thursday 30 May 2024 20:14:09 +0000 (0:00:00.020) 0:02:47.561 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get path of test volume device] ****************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-mount.yml:91 Thursday 30 May 2024 20:14:09 +0000 (0:00:00.013) 0:02:47.575 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-mount.yml:97 Thursday 30 May 2024 20:14:09 +0000 (0:00:00.014) 0:02:47.590 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-mount.yml:103 Thursday 30 May 2024 20:14:09 +0000 (0:00:00.013) 0:02:47.603 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-mount.yml:115 Thursday 30 May 2024 20:14:09 +0000 (0:00:00.013) 0:02:47.617 ********** ok: [sut] => { "ansible_facts": { "storage_test_found_mount_stat": null, "storage_test_mount_expected_mount_point": 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: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-fstab.yml:2 Thursday 30 May 2024 20:14:09 +0000 (0:00:00.026) 0:02:47.643 ********** ok: [sut] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/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: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-fstab.yml:40 Thursday 30 May 2024 20:14:09 +0000 (0:00:00.041) 0:02:47.685 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-fstab.yml:48 Thursday 30 May 2024 20:14:09 +0000 (0:00:00.028) 0:02:47.713 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-fstab.yml:58 Thursday 30 May 2024 20:14:09 +0000 (0:00:00.029) 0:02:47.743 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-fstab.yml:71 Thursday 30 May 2024 20:14:09 +0000 (0:00:00.022) 0:02:47.766 ********** ok: [sut] => { "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: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-fs.yml:6 Thursday 30 May 2024 20:14:09 +0000 (0:00:00.018) 0:02:47.785 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-fs.yml:17 Thursday 30 May 2024 20:14:09 +0000 (0:00:00.025) 0:02:47.810 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-device.yml:3 Thursday 30 May 2024 20:14:09 +0000 (0:00:00.021) 0:02:47.832 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717100023.711933, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1717100023.711933, "dev": 6, "device_type": 64769, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 86225, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1717100023.711933, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-device.yml:9 Thursday 30 May 2024 20:14:09 +0000 (0:00:00.206) 0:02:48.039 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the presence/absence of the device node] ************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-device.yml:16 Thursday 30 May 2024 20:14:09 +0000 (0:00:00.027) 0:02:48.066 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about this volume] ********************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-device.yml:24 Thursday 30 May 2024 20:14:09 +0000 (0:00:00.036) 0:02:48.102 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Process volume type (set initial value) (1/2)] *************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-device.yml:30 Thursday 30 May 2024 20:14:09 +0000 (0:00:00.020) 0:02:48.123 ********** ok: [sut] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [Process volume type (get RAID value) (2/2)] ****************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-device.yml:34 Thursday 30 May 2024 20:14:10 +0000 (0:00:00.024) 0:02:48.147 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-device.yml:39 Thursday 30 May 2024 20:14:10 +0000 (0:00:00.016) 0:02:48.164 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:3 Thursday 30 May 2024 20:14:10 +0000 (0:00:00.019) 0:02:48.184 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:10 Thursday 30 May 2024 20:14:10 +0000 (0:00:00.015) 0:02:48.200 ********** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:17 Thursday 30 May 2024 20:14:12 +0000 (0:00:02.721) 0:02:50.921 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:23 Thursday 30 May 2024 20:14:12 +0000 (0:00:00.015) 0:02:50.936 ********** skipping: [sut] => { "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: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:32 Thursday 30 May 2024 20:14:12 +0000 (0:00:00.023) 0:02:50.960 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:45 Thursday 30 May 2024 20:14:12 +0000 (0:00:00.025) 0:02:50.985 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:51 Thursday 30 May 2024 20:14:12 +0000 (0:00:00.013) 0:02:50.999 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:56 Thursday 30 May 2024 20:14:12 +0000 (0:00:00.014) 0:02:51.013 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:69 Thursday 30 May 2024 20:14:12 +0000 (0:00:00.013) 0:02:51.026 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:81 Thursday 30 May 2024 20:14:12 +0000 (0:00:00.013) 0:02:51.040 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set test variables] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:94 Thursday 30 May 2024 20:14:12 +0000 (0:00:00.013) 0:02:51.053 ********** ok: [sut] => { "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: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:106 Thursday 30 May 2024 20:14:12 +0000 (0:00:00.019) 0:02:51.073 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:114 Thursday 30 May 2024 20:14:12 +0000 (0:00:00.017) 0:02:51.090 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:122 Thursday 30 May 2024 20:14:12 +0000 (0:00:00.015) 0:02:51.105 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:131 Thursday 30 May 2024 20:14:12 +0000 (0:00:00.019) 0:02:51.124 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clear test variables] **************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:140 Thursday 30 May 2024 20:14:13 +0000 (0:00:00.013) 0:02:51.138 ********** ok: [sut] => { "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: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-md.yml:8 Thursday 30 May 2024 20:14:13 +0000 (0:00:00.013) 0:02:51.151 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set active devices regex] ************************************************ task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-md.yml:14 Thursday 30 May 2024 20:14:13 +0000 (0:00:00.013) 0:02:51.164 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set spare devices regex] ************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-md.yml:21 Thursday 30 May 2024 20:14:13 +0000 (0:00:00.018) 0:02:51.183 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set md version regex] **************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-md.yml:28 Thursday 30 May 2024 20:14:13 +0000 (0:00:00.016) 0:02:51.199 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set chunk size regex] **************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-md.yml:35 Thursday 30 May 2024 20:14:13 +0000 (0:00:00.049) 0:02:51.249 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Parse the chunk size] **************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-md.yml:45 Thursday 30 May 2024 20:14:13 +0000 (0:00:00.014) 0:02:51.263 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID active devices count] ***************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-md.yml:54 Thursday 30 May 2024 20:14:13 +0000 (0:00:00.014) 0:02:51.278 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID spare devices count] ****************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-md.yml:63 Thursday 30 May 2024 20:14:13 +0000 (0:00:00.023) 0:02:51.301 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID metadata version] ********************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-md.yml:72 Thursday 30 May 2024 20:14:13 +0000 (0:00:00.013) 0:02:51.314 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID chunk size] *************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-md.yml:81 Thursday 30 May 2024 20:14:13 +0000 (0:00:00.013) 0:02:51.328 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Parse the actual size of the volume] ************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:3 Thursday 30 May 2024 20:14:13 +0000 (0:00:00.014) 0:02:51.343 ********** ok: [sut] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [Parse the requested size of the volume] ********************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:11 Thursday 30 May 2024 20:14:13 +0000 (0:00:00.199) 0:02:51.543 ********** ok: [sut] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [Establish base value for expected size] ********************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:20 Thursday 30 May 2024 20:14:13 +0000 (0:00:00.190) 0:02:51.734 ********** ok: [sut] => { "ansible_facts": { "storage_test_expected_size": "4294967296" }, "changed": false } TASK [Show expected size] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:28 Thursday 30 May 2024 20:14:13 +0000 (0:00:00.020) 0:02:51.754 ********** ok: [sut] => { "storage_test_expected_size": "4294967296" } TASK [Get the size of parent/pool device] ************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:32 Thursday 30 May 2024 20:14:13 +0000 (0:00:00.015) 0:02:51.769 ********** ok: [sut] => { "bytes": 10715943403, "changed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } TASK [Show test pool] ********************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:46 Thursday 30 May 2024 20:14:13 +0000 (0:00:00.217) 0:02:51.986 ********** skipping: [sut] => {} TASK [Show test blockinfo] ***************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:50 Thursday 30 May 2024 20:14:13 +0000 (0:00:00.015) 0:02:52.002 ********** skipping: [sut] => {} TASK [Show test pool size] ***************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:54 Thursday 30 May 2024 20:14:13 +0000 (0:00:00.017) 0:02:52.020 ********** skipping: [sut] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:58 Thursday 30 May 2024 20:14:13 +0000 (0:00:00.020) 0:02:52.040 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Default thin pool reserved space values] ********************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:68 Thursday 30 May 2024 20:14:13 +0000 (0:00:00.016) 0:02:52.057 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Default minimal thin pool reserved space size] *************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:72 Thursday 30 May 2024 20:14:13 +0000 (0:00:00.014) 0:02:52.071 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Default maximal thin pool reserved space size] *************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:77 Thursday 30 May 2024 20:14:13 +0000 (0:00:00.013) 0:02:52.084 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Calculate maximum usable space in thin pool] ***************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:83 Thursday 30 May 2024 20:14:13 +0000 (0:00:00.013) 0:02:52.097 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply upper size limit to max usable thin pool space] ******************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:88 Thursday 30 May 2024 20:14:13 +0000 (0:00:00.012) 0:02:52.110 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply lower size limit to max usable thin pool space] ******************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:96 Thursday 30 May 2024 20:14:13 +0000 (0:00:00.013) 0:02:52.123 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Convert maximum usable thin pool space from int to Size] ***************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:104 Thursday 30 May 2024 20:14:14 +0000 (0:00:00.012) 0:02:52.136 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Show max thin pool size] ************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:109 Thursday 30 May 2024 20:14:14 +0000 (0:00:00.017) 0:02:52.154 ********** skipping: [sut] => {} TASK [Show volume thin pool size] ********************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:113 Thursday 30 May 2024 20:14:14 +0000 (0:00:00.017) 0:02:52.172 ********** skipping: [sut] => {} TASK [Show test volume size] *************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:117 Thursday 30 May 2024 20:14:14 +0000 (0:00:00.023) 0:02:52.195 ********** skipping: [sut] => {} TASK [Establish base value for expected thin pool size] ************************ task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:121 Thursday 30 May 2024 20:14:14 +0000 (0:00:00.032) 0:02:52.228 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:129 Thursday 30 May 2024 20:14:14 +0000 (0:00:00.034) 0:02:52.262 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected thin pool volume size] ***************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:138 Thursday 30 May 2024 20:14:14 +0000 (0:00:00.028) 0:02:52.290 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Calculate the expected thin pool volume size based on percentage value] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:142 Thursday 30 May 2024 20:14:14 +0000 (0:00:00.027) 0:02:52.318 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Replace expected volume size with calculated value] ********************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:150 Thursday 30 May 2024 20:14:14 +0000 (0:00:00.021) 0:02:52.340 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Show actual size] ******************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:156 Thursday 30 May 2024 20:14:14 +0000 (0:00:00.018) 0:02:52.359 ********** ok: [sut] => { "storage_test_actual_size": { "bytes": 4294967296, "changed": false, "failed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } } TASK [Show expected size] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:160 Thursday 30 May 2024 20:14:14 +0000 (0:00:00.014) 0:02:52.373 ********** ok: [sut] => { "storage_test_expected_size": "4294967296" } TASK [Assert expected size is actual size] ************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:164 Thursday 30 May 2024 20:14:14 +0000 (0:00:00.014) 0:02:52.387 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-cache.yml:5 Thursday 30 May 2024 20:14:14 +0000 (0:00:00.019) 0:02:52.407 ********** ok: [sut] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.032042", "end": "2024-05-30 20:14:14.476558", "rc": 0, "start": "2024-05-30 20:14:14.444516" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [Set LV segment type] ***************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-cache.yml:13 Thursday 30 May 2024 20:14:14 +0000 (0:00:00.226) 0:02:52.634 ********** ok: [sut] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [Check segment type] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-cache.yml:18 Thursday 30 May 2024 20:14:14 +0000 (0:00:00.018) 0:02:52.653 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set LV cache size] ******************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-cache.yml:27 Thursday 30 May 2024 20:14:14 +0000 (0:00:00.019) 0:02:52.672 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Parse the requested cache size] ****************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-cache.yml:35 Thursday 30 May 2024 20:14:14 +0000 (0:00:00.019) 0:02:52.692 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set expected cache size] ************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-cache.yml:41 Thursday 30 May 2024 20:14:14 +0000 (0:00:00.016) 0:02:52.708 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-cache.yml:47 Thursday 30 May 2024 20:14:14 +0000 (0:00:00.015) 0:02:52.724 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume.yml:27 Thursday 30 May 2024 20:14:14 +0000 (0:00:00.014) 0:02:52.738 ********** ok: [sut] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-role-results.yml:44 Thursday 30 May 2024 20:14:14 +0000 (0:00:00.013) 0:02:52.751 ********** TASK [Clean up variable namespace] ********************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-role-results.yml:54 Thursday 30 May 2024 20:14:14 +0000 (0:00:00.013) 0:02:52.765 ********** ok: [sut] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Clean up] **************************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/tests_luks_pool.yml:266 Thursday 30 May 2024 20:14:14 +0000 (0:00:00.013) 0:02:52.779 ********** TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 30 May 2024 20:14:14 +0000 (0:00:00.036) 0:02:52.816 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for sut TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 30 May 2024 20:14:14 +0000 (0:00:00.018) 0:02:52.834 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 30 May 2024 20:14:14 +0000 (0:00:00.015) 0:02:52.849 ********** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (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", "stratisd", "stratis-cli" ] }, "ansible_included_var_files": [ "/WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [sut] => (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", "stratisd", "stratis-cli" ] }, "ansible_included_var_files": [ "/WORKDIR/git-main_stratis-support-2_olzkgxl/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 : Check if system is ostree] ****************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:26 Thursday 30 May 2024 20:14:14 +0000 (0:00:00.032) 0:02:52.882 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:31 Thursday 30 May 2024 20:14:14 +0000 (0:00:00.040) 0:02:52.923 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Define an empty list of pools to be used in testing] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 30 May 2024 20:14:14 +0000 (0:00:00.013) 0:02:52.936 ********** ok: [sut] => { "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: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 30 May 2024 20:14:14 +0000 (0:00:00.011) 0:02:52.948 ********** ok: [sut] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : Include the appropriate provider tasks] ***** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 30 May 2024 20:14:14 +0000 (0:00:00.012) 0:02:52.961 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for sut TASK [linux-system-roles.storage : Make sure blivet is available] ************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 30 May 2024 20:14:14 +0000 (0:00:00.026) 0:02:52.987 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Show storage_pools] ************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:11 Thursday 30 May 2024 20:14:14 +0000 (0:00:00.013) 0:02:53.000 ********** ok: [sut] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : Show storage_volumes] *********************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:16 Thursday 30 May 2024 20:14:14 +0000 (0:00:00.014) 0:02:53.015 ********** ok: [sut] => { "storage_volumes": [ { "disks": [ "sda" ], "name": "foo", "state": "absent", "type": "disk" } ] } TASK [linux-system-roles.storage : Get required packages] ********************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:21 Thursday 30 May 2024 20:14:14 +0000 (0:00:00.015) 0:02:53.030 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Enable copr repositories if needed] ********* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:34 Thursday 30 May 2024 20:14:14 +0000 (0:00:00.012) 0:02:53.043 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Make sure required packages are installed] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:41 Thursday 30 May 2024 20:14:14 +0000 (0:00:00.013) 0:02:53.056 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Get service facts] ************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:57 Thursday 30 May 2024 20:14:14 +0000 (0:00:00.014) 0:02:53.071 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:64 Thursday 30 May 2024 20:14:14 +0000 (0:00:00.013) 0:02:53.084 ********** ok: [sut] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:78 Thursday 30 May 2024 20:14:14 +0000 (0:00:00.020) 0:02:53.105 ********** TASK [linux-system-roles.storage : Manage the pools and volumes to match the specified state] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:84 Thursday 30 May 2024 20:14:14 +0000 (0:00:00.011) 0:02:53.117 ********** changed: [sut] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/mapper/luks-ad7e8245-5833-47d6-b220-19dae9b54f66", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/mapper/luks-ad7e8245-5833-47d6-b220-19dae9b54f66", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "luks" } ], "changed": true, "crypts": [ { "backing_device": "/dev/sda", "name": "luks-ad7e8245-5833-47d6-b220-19dae9b54f66", "password": "-", "state": "absent" } ], "leaves": [ "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/sdd", "/dev/sde", "/dev/sdf", "/dev/sdg", "/dev/sdh", "/dev/sdi", "/dev/xvda1" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/mapper/luks-ad7e8245-5833-47d6-b220-19dae9b54f66", "_mount_id": "/dev/mapper/luks-ad7e8245-5833-47d6-b220-19dae9b54f66", "_raw_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "lvmpv", "mount_check": 0, "mount_device_identifier": "uuid", "mount_group": null, "mount_mode": null, "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "mount_user": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "raid_stripe_size": null, "size": 10729029632, "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: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:98 Thursday 30 May 2024 20:14:20 +0000 (0:00:05.337) 0:02:58.454 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:110 Thursday 30 May 2024 20:14:20 +0000 (0:00:00.014) 0:02:58.469 ********** TASK [linux-system-roles.storage : Show blivet_output] ************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:116 Thursday 30 May 2024 20:14:20 +0000 (0:00:00.013) 0:02:58.482 ********** ok: [sut] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/mapper/luks-ad7e8245-5833-47d6-b220-19dae9b54f66", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/mapper/luks-ad7e8245-5833-47d6-b220-19dae9b54f66", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "luks" } ], "changed": true, "crypts": [ { "backing_device": "/dev/sda", "name": "luks-ad7e8245-5833-47d6-b220-19dae9b54f66", "password": "-", "state": "absent" } ], "failed": false, "leaves": [ "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/sdd", "/dev/sde", "/dev/sdf", "/dev/sdg", "/dev/sdh", "/dev/sdi", "/dev/xvda1" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/mapper/luks-ad7e8245-5833-47d6-b220-19dae9b54f66", "_mount_id": "/dev/mapper/luks-ad7e8245-5833-47d6-b220-19dae9b54f66", "_raw_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "lvmpv", "mount_check": 0, "mount_device_identifier": "uuid", "mount_group": null, "mount_mode": null, "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "mount_user": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "raid_stripe_size": null, "size": 10729029632, "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: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:125 Thursday 30 May 2024 20:14:20 +0000 (0:00:00.017) 0:02:58.499 ********** ok: [sut] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : Set the list of volumes for test verification] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:129 Thursday 30 May 2024 20:14:20 +0000 (0:00:00.030) 0:02:58.530 ********** ok: [sut] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/mapper/luks-ad7e8245-5833-47d6-b220-19dae9b54f66", "_mount_id": "/dev/mapper/luks-ad7e8245-5833-47d6-b220-19dae9b54f66", "_raw_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "lvmpv", "mount_check": 0, "mount_device_identifier": "uuid", "mount_group": null, "mount_mode": null, "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "mount_user": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "raid_stripe_size": null, "size": 10729029632, "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: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:145 Thursday 30 May 2024 20:14:20 +0000 (0:00:00.016) 0:02:58.546 ********** changed: [sut] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test2', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "absent" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : Tell systemd to refresh its view of /etc/fstab] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:157 Thursday 30 May 2024 20:14:20 +0000 (0:00:00.204) 0:02:58.751 ********** ok: [sut] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : Set up new/current mounts] ****************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:162 Thursday 30 May 2024 20:14:21 +0000 (0:00:00.469) 0:02:59.220 ********** TASK [linux-system-roles.storage : Manage mount ownership/permissions] ********* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:174 Thursday 30 May 2024 20:14:21 +0000 (0:00:00.013) 0:02:59.233 ********** TASK [linux-system-roles.storage : Tell systemd to refresh its view of /etc/fstab] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:189 Thursday 30 May 2024 20:14:21 +0000 (0:00:00.013) 0:02:59.246 ********** ok: [sut] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : Retrieve facts for the /etc/crypttab file] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:197 Thursday 30 May 2024 20:14:21 +0000 (0:00:00.459) 0:02:59.706 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717100026.8609307, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "70cfc2b68a0016b87b3c1889a3991d4bcc0d9011", "ctime": 1717100025.6219316, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 169869508, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1717100025.6209316, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 53, "uid": 0, "version": "2423213430", "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: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:202 Thursday 30 May 2024 20:14:21 +0000 (0:00:00.201) 0:02:59.907 ********** changed: [sut] => (item={'backing_device': '/dev/sda', 'name': 'luks-ad7e8245-5833-47d6-b220-19dae9b54f66', 'password': '-', 'state': 'absent'}) => { "ansible_loop_var": "entry", "backup": "", "changed": true, "entry": { "backing_device": "/dev/sda", "name": "luks-ad7e8245-5833-47d6-b220-19dae9b54f66", "password": "-", "state": "absent" }, "found": 1 } MSG: 1 line(s) removed TASK [linux-system-roles.storage : Update facts] ******************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:224 Thursday 30 May 2024 20:14:21 +0000 (0:00:00.202) 0:03:00.110 ********** ok: [sut] TASK [Verify role results] ***************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/tests_luks_pool.yml:276 Thursday 30 May 2024 20:14:22 +0000 (0:00:00.606) 0:03:00.716 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-role-results.yml for sut TASK [Print out pool information] ********************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-role-results.yml:2 Thursday 30 May 2024 20:14:22 +0000 (0:00:00.055) 0:03:00.771 ********** skipping: [sut] => {} TASK [Print out volume information] ******************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-role-results.yml:7 Thursday 30 May 2024 20:14:22 +0000 (0:00:00.014) 0:03:00.785 ********** ok: [sut] => { "_storage_volumes_list": [ { "_device": "/dev/mapper/luks-ad7e8245-5833-47d6-b220-19dae9b54f66", "_mount_id": "/dev/mapper/luks-ad7e8245-5833-47d6-b220-19dae9b54f66", "_raw_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "lvmpv", "mount_check": 0, "mount_device_identifier": "uuid", "mount_group": null, "mount_mode": null, "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "mount_user": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "raid_stripe_size": null, "size": 10729029632, "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: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-role-results.yml:15 Thursday 30 May 2024 20:14:22 +0000 (0:00:00.016) 0:03:00.802 ********** ok: [sut] => { "changed": false, "info": { "/dev/sda": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdd": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdd", "size": "1T", "type": "disk", "uuid": "" }, "/dev/sde": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sde", "size": "1T", "type": "disk", "uuid": "" }, "/dev/sdf": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdg": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdg", "size": "1T", "type": "disk", "uuid": "" }, "/dev/sdh": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdh", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdi": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdi", "size": "10G", "type": "disk", "uuid": "" }, "/dev/xvda": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/xvda", "size": "250G", "type": "disk", "uuid": "" }, "/dev/xvda1": { "fstype": "xfs", "label": "", "mountpoint": "/", "name": "/dev/xvda1", "size": "250G", "type": "partition", "uuid": "fe591198-9082-4b15-9b62-e83518524cd2" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-role-results.yml:20 Thursday 30 May 2024 20:14:22 +0000 (0:00:00.195) 0:03:00.998 ********** ok: [sut] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002790", "end": "2024-05-30 20:14:23.036356", "rc": 0, "start": "2024-05-30 20:14:23.033566" } STDOUT: # # /etc/fstab # Created by anaconda on Wed May 29 07:43:06 2024 # # 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=fe591198-9082-4b15-9b62-e83518524cd2 / xfs defaults 0 0 ntap-bos-c01-eng01-nfs01b.storage.bos.redhat.com:/devops_engineering_nfs/devarchive/redhat /mnt/redhat nfs ro,rsize=32768,wsize=8192,bg,noauto,noatime,nosuid,nodev,intr 0 0 nest.test.redhat.com:/mnt/qa /mnt/qa nfs defaults,rsize=8192,wsize=8192,bg,noauto,noatime,nosuid,nodev,intr 0 0 vtap-eng01.storage.rdu2.redhat.com:/vol/engarchive /mnt/engarchive nfs ro,rsize=32768,wsize=8192,bg,noauto,noatime,nosuid,nodev,intr 0 0 nest.test.redhat.com:/mnt/tpsdist /mnt/tpsdist nfs defaults,rsize=8192,wsize=8192,bg,noauto,noatime,nosuid,nodev,intr 0 0 ntap-bos-c01-eng01-nfs01b.storage.bos.redhat.com:/devops_engineering_nfs/devarchive/redhat/brewroot /mnt/brew nfs ro,rsize=32768,wsize=8192,bg,noauto,noatime,nosuid,nodev,intr 0 0 ntap-bos-c01-eng01-nfs01b.storage.bos.redhat.com:/devops_brew_scratch_nfs/scratch /mnt/brew_scratch nfs ro,rsize=32768,wsize=8192,bg,noauto,noatime,nosuid,nodev,intr 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-role-results.yml:25 Thursday 30 May 2024 20:14:23 +0000 (0:00:00.195) 0:03:01.193 ********** ok: [sut] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002783", "end": "2024-05-30 20:14:23.232890", "failed_when_result": false, "rc": 0, "start": "2024-05-30 20:14:23.230107" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-role-results.yml:34 Thursday 30 May 2024 20:14:23 +0000 (0:00:00.194) 0:03:01.387 ********** TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-role-results.yml:44 Thursday 30 May 2024 20:14:23 +0000 (0:00:00.013) 0:03:01.400 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume.yml for sut TASK [Set storage volume test variables] *************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume.yml:2 Thursday 30 May 2024 20:14:23 +0000 (0:00:00.024) 0:03:01.424 ********** ok: [sut] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [Run test verify for {{ storage_test_volume_subset }}] ******************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume.yml:21 Thursday 30 May 2024 20:14:23 +0000 (0:00:00.015) 0:03:01.440 ********** included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-mount.yml for sut included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-fstab.yml for sut included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-fs.yml for sut included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-device.yml for sut included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml for sut included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-md.yml for sut included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml for sut included: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-cache.yml for sut TASK [Get expected mount device based on device type] ************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-mount.yml:7 Thursday 30 May 2024 20:14:23 +0000 (0:00:00.054) 0:03:01.495 ********** ok: [sut] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/luks-ad7e8245-5833-47d6-b220-19dae9b54f66" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-mount.yml:16 Thursday 30 May 2024 20:14:23 +0000 (0:00:00.016) 0:03:01.511 ********** ok: [sut] => { "ansible_facts": { "storage_test_mount_expected_mount_point": "", "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Get information about the mountpoint directory] ************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-mount.yml:30 Thursday 30 May 2024 20:14:23 +0000 (0:00:00.016) 0:03:01.527 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by device] ******************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-mount.yml:43 Thursday 30 May 2024 20:14:23 +0000 (0:00:00.014) 0:03:01.542 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify mount directory user] ********************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-mount.yml:52 Thursday 30 May 2024 20:14:23 +0000 (0:00:00.010) 0:03:01.552 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify mount directory group] ******************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-mount.yml:64 Thursday 30 May 2024 20:14:23 +0000 (0:00:00.014) 0:03:01.567 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify mount directory permissions] ************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-mount.yml:76 Thursday 30 May 2024 20:14:23 +0000 (0:00:00.013) 0:03:01.580 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get path of test volume device] ****************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-mount.yml:91 Thursday 30 May 2024 20:14:23 +0000 (0:00:00.012) 0:03:01.593 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-mount.yml:97 Thursday 30 May 2024 20:14:23 +0000 (0:00:00.012) 0:03:01.605 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-mount.yml:103 Thursday 30 May 2024 20:14:23 +0000 (0:00:00.011) 0:03:01.617 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-mount.yml:115 Thursday 30 May 2024 20:14:23 +0000 (0:00:00.012) 0:03:01.630 ********** ok: [sut] => { "ansible_facts": { "storage_test_found_mount_stat": null, "storage_test_mount_expected_mount_point": 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: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-fstab.yml:2 Thursday 30 May 2024 20:14:23 +0000 (0:00:00.013) 0:03:01.643 ********** ok: [sut] => { "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: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-fstab.yml:40 Thursday 30 May 2024 20:14:23 +0000 (0:00:00.026) 0:03:01.669 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-fstab.yml:48 Thursday 30 May 2024 20:14:23 +0000 (0:00:00.013) 0:03:01.683 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-fstab.yml:58 Thursday 30 May 2024 20:14:23 +0000 (0:00:00.034) 0:03:01.717 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-fstab.yml:71 Thursday 30 May 2024 20:14:23 +0000 (0:00:00.013) 0:03:01.730 ********** ok: [sut] => { "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: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-fs.yml:6 Thursday 30 May 2024 20:14:23 +0000 (0:00:00.013) 0:03:01.743 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-fs.yml:17 Thursday 30 May 2024 20:14:23 +0000 (0:00:00.017) 0:03:01.761 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-device.yml:3 Thursday 30 May 2024 20:14:23 +0000 (0:00:00.014) 0:03:01.775 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717100060.2429044, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1717100060.2429044, "dev": 6, "device_type": 2048, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 45524, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1717100060.2429044, "nlink": 1, "path": "/dev/sda", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-device.yml:9 Thursday 30 May 2024 20:14:23 +0000 (0:00:00.207) 0:03:01.982 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the presence/absence of the device node] ************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-device.yml:16 Thursday 30 May 2024 20:14:23 +0000 (0:00:00.022) 0:03:02.005 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about this volume] ********************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-device.yml:24 Thursday 30 May 2024 20:14:23 +0000 (0:00:00.019) 0:03:02.024 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Process volume type (set initial value) (1/2)] *************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-device.yml:30 Thursday 30 May 2024 20:14:23 +0000 (0:00:00.009) 0:03:02.034 ********** ok: [sut] => { "ansible_facts": { "st_volume_type": "disk" }, "changed": false } TASK [Process volume type (get RAID value) (2/2)] ****************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-device.yml:34 Thursday 30 May 2024 20:14:23 +0000 (0:00:00.019) 0:03:02.053 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-device.yml:39 Thursday 30 May 2024 20:14:23 +0000 (0:00:00.014) 0:03:02.067 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:3 Thursday 30 May 2024 20:14:23 +0000 (0:00:00.018) 0:03:02.086 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Ensure cryptsetup is present] ******************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:10 Thursday 30 May 2024 20:14:24 +0000 (0:00:00.196) 0:03:02.282 ********** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:17 Thursday 30 May 2024 20:14:26 +0000 (0:00:02.513) 0:03:04.796 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:23 Thursday 30 May 2024 20:14:26 +0000 (0:00:00.012) 0:03:04.808 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:32 Thursday 30 May 2024 20:14:26 +0000 (0:00:00.057) 0:03:04.866 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:45 Thursday 30 May 2024 20:14:26 +0000 (0:00:00.010) 0:03:04.876 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:51 Thursday 30 May 2024 20:14:26 +0000 (0:00:00.012) 0:03:04.889 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:56 Thursday 30 May 2024 20:14:26 +0000 (0:00:00.011) 0:03:04.900 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:69 Thursday 30 May 2024 20:14:26 +0000 (0:00:00.009) 0:03:04.909 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:81 Thursday 30 May 2024 20:14:26 +0000 (0:00:00.011) 0:03:04.920 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set test variables] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:94 Thursday 30 May 2024 20:14:26 +0000 (0:00:00.009) 0:03:04.930 ********** ok: [sut] => { "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: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:106 Thursday 30 May 2024 20:14:26 +0000 (0:00:00.016) 0:03:04.946 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:114 Thursday 30 May 2024 20:14:26 +0000 (0:00:00.014) 0:03:04.961 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:122 Thursday 30 May 2024 20:14:26 +0000 (0:00:00.012) 0:03:04.974 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:131 Thursday 30 May 2024 20:14:26 +0000 (0:00:00.011) 0:03:04.985 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clear test variables] **************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:140 Thursday 30 May 2024 20:14:26 +0000 (0:00:00.012) 0:03:04.997 ********** ok: [sut] => { "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: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-md.yml:8 Thursday 30 May 2024 20:14:26 +0000 (0:00:00.011) 0:03:05.009 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set active devices regex] ************************************************ task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-md.yml:14 Thursday 30 May 2024 20:14:26 +0000 (0:00:00.011) 0:03:05.020 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set spare devices regex] ************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-md.yml:21 Thursday 30 May 2024 20:14:26 +0000 (0:00:00.012) 0:03:05.032 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set md version regex] **************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-md.yml:28 Thursday 30 May 2024 20:14:26 +0000 (0:00:00.010) 0:03:05.043 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set chunk size regex] **************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-md.yml:35 Thursday 30 May 2024 20:14:26 +0000 (0:00:00.010) 0:03:05.054 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Parse the chunk size] **************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-md.yml:45 Thursday 30 May 2024 20:14:26 +0000 (0:00:00.012) 0:03:05.066 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID active devices count] ***************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-md.yml:54 Thursday 30 May 2024 20:14:26 +0000 (0:00:00.012) 0:03:05.079 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID spare devices count] ****************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-md.yml:63 Thursday 30 May 2024 20:14:26 +0000 (0:00:00.012) 0:03:05.091 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID metadata version] ********************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-md.yml:72 Thursday 30 May 2024 20:14:26 +0000 (0:00:00.016) 0:03:05.107 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID chunk size] *************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-md.yml:81 Thursday 30 May 2024 20:14:26 +0000 (0:00:00.018) 0:03:05.126 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Parse the actual size of the volume] ************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:3 Thursday 30 May 2024 20:14:27 +0000 (0:00:00.013) 0:03:05.140 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Parse the requested size of the volume] ********************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:11 Thursday 30 May 2024 20:14:27 +0000 (0:00:00.013) 0:03:05.154 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:20 Thursday 30 May 2024 20:14:27 +0000 (0:00:00.012) 0:03:05.166 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Show expected size] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:28 Thursday 30 May 2024 20:14:27 +0000 (0:00:00.012) 0:03:05.179 ********** ok: [sut] => { "storage_test_expected_size": "4294967296" } TASK [Get the size of parent/pool device] ************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:32 Thursday 30 May 2024 20:14:27 +0000 (0:00:00.015) 0:03:05.194 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Show test pool] ********************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:46 Thursday 30 May 2024 20:14:27 +0000 (0:00:00.012) 0:03:05.207 ********** skipping: [sut] => {} TASK [Show test blockinfo] ***************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:50 Thursday 30 May 2024 20:14:27 +0000 (0:00:00.014) 0:03:05.221 ********** skipping: [sut] => {} TASK [Show test pool size] ***************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:54 Thursday 30 May 2024 20:14:27 +0000 (0:00:00.015) 0:03:05.237 ********** skipping: [sut] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:58 Thursday 30 May 2024 20:14:27 +0000 (0:00:00.013) 0:03:05.251 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Default thin pool reserved space values] ********************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:68 Thursday 30 May 2024 20:14:27 +0000 (0:00:00.017) 0:03:05.269 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Default minimal thin pool reserved space size] *************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:72 Thursday 30 May 2024 20:14:27 +0000 (0:00:00.019) 0:03:05.288 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Default maximal thin pool reserved space size] *************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:77 Thursday 30 May 2024 20:14:27 +0000 (0:00:00.013) 0:03:05.302 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Calculate maximum usable space in thin pool] ***************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:83 Thursday 30 May 2024 20:14:27 +0000 (0:00:00.017) 0:03:05.319 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply upper size limit to max usable thin pool space] ******************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:88 Thursday 30 May 2024 20:14:27 +0000 (0:00:00.017) 0:03:05.336 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply lower size limit to max usable thin pool space] ******************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:96 Thursday 30 May 2024 20:14:27 +0000 (0:00:00.017) 0:03:05.353 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Convert maximum usable thin pool space from int to Size] ***************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:104 Thursday 30 May 2024 20:14:27 +0000 (0:00:00.012) 0:03:05.366 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Show max thin pool size] ************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:109 Thursday 30 May 2024 20:14:27 +0000 (0:00:00.014) 0:03:05.381 ********** skipping: [sut] => {} TASK [Show volume thin pool size] ********************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:113 Thursday 30 May 2024 20:14:27 +0000 (0:00:00.018) 0:03:05.399 ********** skipping: [sut] => {} TASK [Show test volume size] *************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:117 Thursday 30 May 2024 20:14:27 +0000 (0:00:00.012) 0:03:05.411 ********** skipping: [sut] => {} TASK [Establish base value for expected thin pool size] ************************ task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:121 Thursday 30 May 2024 20:14:27 +0000 (0:00:00.013) 0:03:05.424 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:129 Thursday 30 May 2024 20:14:27 +0000 (0:00:00.016) 0:03:05.441 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected thin pool volume size] ***************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:138 Thursday 30 May 2024 20:14:27 +0000 (0:00:00.011) 0:03:05.452 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Calculate the expected thin pool volume size based on percentage value] *** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:142 Thursday 30 May 2024 20:14:27 +0000 (0:00:00.012) 0:03:05.465 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Replace expected volume size with calculated value] ********************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:150 Thursday 30 May 2024 20:14:27 +0000 (0:00:00.011) 0:03:05.477 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Show actual size] ******************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:156 Thursday 30 May 2024 20:14:27 +0000 (0:00:00.017) 0:03:05.494 ********** ok: [sut] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [Show expected size] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:160 Thursday 30 May 2024 20:14:27 +0000 (0:00:00.023) 0:03:05.518 ********** ok: [sut] => { "storage_test_expected_size": "4294967296" } TASK [Assert expected size is actual size] ************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-size.yml:164 Thursday 30 May 2024 20:14:27 +0000 (0:00:00.014) 0:03:05.532 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-cache.yml:5 Thursday 30 May 2024 20:14:27 +0000 (0:00:00.012) 0:03:05.545 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set LV segment type] ***************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-cache.yml:13 Thursday 30 May 2024 20:14:27 +0000 (0:00:00.012) 0:03:05.558 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check segment type] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-cache.yml:18 Thursday 30 May 2024 20:14:27 +0000 (0:00:00.012) 0:03:05.570 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set LV cache size] ******************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-cache.yml:27 Thursday 30 May 2024 20:14:27 +0000 (0:00:00.012) 0:03:05.582 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Parse the requested cache size] ****************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-cache.yml:35 Thursday 30 May 2024 20:14:27 +0000 (0:00:00.013) 0:03:05.596 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set expected cache size] ************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-cache.yml:41 Thursday 30 May 2024 20:14:27 +0000 (0:00:00.012) 0:03:05.608 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-cache.yml:47 Thursday 30 May 2024 20:14:27 +0000 (0:00:00.011) 0:03:05.619 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume.yml:27 Thursday 30 May 2024 20:14:27 +0000 (0:00:00.011) 0:03:05.630 ********** ok: [sut] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-role-results.yml:54 Thursday 30 May 2024 20:14:27 +0000 (0:00:00.011) 0:03:05.641 ********** ok: [sut] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=555 changed=20 unreachable=0 failed=3 skipped=551 rescued=3 ignored=0 Thursday 30 May 2024 20:14:27 +0000 (0:00:00.006) 0:03:05.648 ********** =============================================================================== linux-system-roles.storage : Make sure blivet is available ------------- 53.62s /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 linux-system-roles.storage : Manage the pools and volumes to match the specified state -- 12.98s /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:84 linux-system-roles.storage : Manage the pools and volumes to match the specified state -- 11.56s /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:84 linux-system-roles.storage : Manage the pools and volumes to match the specified state --- 5.69s /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:84 linux-system-roles.storage : Manage the pools and volumes to match the specified state --- 5.34s /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:84 linux-system-roles.storage : Manage the pools and volumes to match the specified state --- 4.48s /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:84 linux-system-roles.storage : Manage the pools and volumes to match the specified state --- 4.46s /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:84 linux-system-roles.storage : Manage the pools and volumes to match the specified state --- 4.41s /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:84 linux-system-roles.storage : Get required packages ---------------------- 4.33s /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:21 linux-system-roles.storage : Manage the pools and volumes to match the specified state --- 4.03s /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:84 Ensure cryptsetup is present -------------------------------------------- 3.07s /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-encryption.yml:12 Ensure cryptsetup is present -------------------------------------------- 2.72s /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:10 linux-system-roles.storage : Make sure required packages are installed --- 2.62s /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:41 Ensure cryptsetup is present -------------------------------------------- 2.54s /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:10 Ensure cryptsetup is present -------------------------------------------- 2.53s /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-encryption.yml:12 linux-system-roles.storage : Make sure required packages are installed --- 2.52s /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:41 Ensure cryptsetup is present -------------------------------------------- 2.52s /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:10 Ensure cryptsetup is present -------------------------------------------- 2.52s /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:10 Ensure test packages ---------------------------------------------------- 2.51s /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/get_unused_disk.yml:2 ------- Ensure cryptsetup is present -------------------------------------------- 2.51s /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:10 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---