# 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_scsi_generated.yml *********************************** 2 plays in /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/tests_luks_pool_scsi_generated.yml PLAY [Run test tests_luks_pool.yml for scsi] *********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/tests_luks_pool_scsi_generated.yml:3 Thursday 30 May 2024 20:22:49 +0000 (0:00:00.011) 0:00:00.011 ********** ok: [sut] META: ran handlers TASK [Set disk interface for test] ********************************************* task path: /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/tests_luks_pool_scsi_generated.yml:8 Thursday 30 May 2024 20:22:49 +0000 (0:00:00.723) 0:00:00.735 ********** ok: [sut] => { "ansible_facts": { "storage_test_use_interface": "scsi" }, "changed": false } META: ran handlers META: ran handlers 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:22:49 +0000 (0:00:00.012) 0:00:00.748 ********** 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:22:50 +0000 (0:00:00.561) 0:00:01.309 ********** 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:22:50 +0000 (0:00:00.021) 0:00:01.330 ********** 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:22:50 +0000 (0:00:00.020) 0:00:01.350 ********** 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:22:50 +0000 (0:00:00.020) 0:00:01.371 ********** 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:22:50 +0000 (0:00:00.019) 0:00:01.391 ********** 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:22:50 +0000 (0:00:00.031) 0:00:01.422 ********** 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:22:50 +0000 (0:00:00.024) 0:00:01.446 ********** 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:22:50 +0000 (0:00:00.033) 0:00:01.480 ********** 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:22:50 +0000 (0:00:00.024) 0:00:01.505 ********** 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:22:50 +0000 (0:00:00.058) 0:00:01.563 ********** 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:22:51 +0000 (0:00:00.260) 0:00:01.823 ********** 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:22:51 +0000 (0:00:00.021) 0:00:01.845 ********** 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:22:51 +0000 (0:00:00.010) 0:00:01.856 ********** 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:22:51 +0000 (0:00:00.009) 0:00:01.865 ********** 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:22:51 +0000 (0:00:00.031) 0:00:01.897 ********** 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:23:44 +0000 (0:00:53.832) 0:00:55.729 ********** 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:23:44 +0000 (0:00:00.029) 0:00:55.759 ********** 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:23:44 +0000 (0:00:00.023) 0:00:55.783 ********** 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:23:45 +0000 (0:00:00.590) 0:00:56.373 ********** 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:23:45 +0000 (0:00:00.047) 0:00:56.421 ********** 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:23:45 +0000 (0:00:00.013) 0:00:56.434 ********** 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:23:45 +0000 (0:00:00.011) 0:00:56.446 ********** 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:23:45 +0000 (0:00:00.011) 0:00:56.458 ********** 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:23:48 +0000 (0:00:02.507) 0:00:58.965 ********** 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:23:49 +0000 (0:00:01.620) 0:01:00.586 ********** 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:23:49 +0000 (0:00:00.021) 0:01:00.608 ********** 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:23:49 +0000 (0:00:00.011) 0:01:00.619 ********** 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:23:50 +0000 (0:00:00.361) 0:01:00.981 ********** 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:23:50 +0000 (0:00:00.025) 0:01:01.007 ********** 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:23:50 +0000 (0:00:00.013) 0:01:01.020 ********** 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:23:50 +0000 (0:00:00.021) 0:01:01.042 ********** 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:23:50 +0000 (0:00:00.013) 0:01:01.056 ********** 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:23:50 +0000 (0:00:00.016) 0:01:01.073 ********** 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:23:50 +0000 (0:00:00.014) 0:01:01.087 ********** 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:23:50 +0000 (0:00:00.013) 0:01:01.101 ********** 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:23:50 +0000 (0:00:00.012) 0:01:01.114 ********** 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:23:50 +0000 (0:00:00.011) 0:01:01.126 ********** 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:23:50 +0000 (0:00:00.012) 0:01:01.138 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717100266.0356283, "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:23:50 +0000 (0:00:00.192) 0:01:01.330 ********** 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:23:50 +0000 (0:00:00.018) 0:01:01.349 ********** 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:23:51 +0000 (0:00:00.590) 0:01:01.939 ********** 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:23:51 +0000 (0:00:00.011) 0:01:01.950 ********** 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:23:51 +0000 (0:00:00.015) 0:01:01.966 ********** 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:23:53 +0000 (0:00:02.538) 0:01:04.505 ********** 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:23:53 +0000 (0:00:00.263) 0:01:04.768 ********** 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:23:53 +0000 (0:00:00.014) 0:01:04.783 ********** 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:23:53 +0000 (0:00:00.012) 0:01:04.796 ********** 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:23:53 +0000 (0:00:00.013) 0:01:04.809 ********** 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:23:54 +0000 (0:00:00.016) 0:01:04.826 ********** 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:23:54 +0000 (0:00:00.014) 0:01:04.841 ********** 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:23:54 +0000 (0:00:00.018) 0:01:04.859 ********** 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:23:54 +0000 (0:00:00.016) 0:01:04.876 ********** 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:23:54 +0000 (0:00:00.014) 0:01:04.890 ********** 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:23:54 +0000 (0:00:00.032) 0:01:04.923 ********** 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:23:54 +0000 (0:00:00.013) 0:01:04.937 ********** 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:23:54 +0000 (0:00:00.012) 0:01:04.949 ********** 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:23:54 +0000 (0:00:00.012) 0:01:04.961 ********** 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:23:54 +0000 (0:00:00.011) 0:01:04.972 ********** 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:23:54 +0000 (0:00:00.043) 0:01:05.016 ********** 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:23:54 +0000 (0:00:00.012) 0:01:05.028 ********** 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:23:54 +0000 (0:00:00.015) 0:01:05.044 ********** 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:23:54 +0000 (0:00:00.015) 0:01:05.060 ********** 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:23:58 +0000 (0:00:04.076) 0:01:09.136 ********** 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:23:58 +0000 (0:00:00.022) 0:01:09.158 ********** 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:23:58 +0000 (0:00:00.011) 0:01:09.170 ********** 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:23:58 +0000 (0:00:00.012) 0:01:09.182 ********** 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:23:58 +0000 (0:00:00.011) 0:01:09.193 ********** 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:24:00 +0000 (0:00:02.483) 0:01:11.677 ********** 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:24:00 +0000 (0:00:00.012) 0:01:11.689 ********** 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:24:00 +0000 (0:00:00.018) 0:01:11.708 ********** 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:24:00 +0000 (0:00:00.010) 0:01:11.719 ********** 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:24:04 +0000 (0:00:04.017) 0:01:15.737 ********** 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:24:04 +0000 (0:00:00.015) 0:01:15.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:24:04 +0000 (0:00:00.011) 0:01:15.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:24:04 +0000 (0:00:00.014) 0:01:15.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:24:04 +0000 (0:00:00.017) 0:01:15.795 ********** 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:24:04 +0000 (0:00:00.011) 0:01:15.806 ********** 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:24:05 +0000 (0:00:00.015) 0:01:15.821 ********** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/storage_testam_i6ji0lukskey", "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:24:05 +0000 (0:00:00.249) 0:01:16.071 ********** ok: [sut] => { "changed": false, "checksum": "7a4dff3752e2baf5617c57eaac048e2b95e8af91", "dest": "/tmp/storage_testam_i6ji0lukskey", "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-1717100645.2941499-130263-139500887459097/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:24:05 +0000 (0:00:00.588) 0:01:16.659 ********** 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:24:05 +0000 (0:00:00.018) 0:01:16.678 ********** 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:24:05 +0000 (0:00:00.017) 0:01:16.695 ********** 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:24:05 +0000 (0:00:00.014) 0:01:16.710 ********** 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:24:05 +0000 (0:00:00.031) 0:01:16.741 ********** 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:24:05 +0000 (0:00:00.012) 0:01:16.753 ********** 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:24:05 +0000 (0:00:00.011) 0:01:16.765 ********** 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:24:05 +0000 (0:00:00.010) 0:01:16.776 ********** 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:24:05 +0000 (0:00:00.011) 0:01:16.788 ********** 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:24:05 +0000 (0:00:00.024) 0:01:16.812 ********** 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:24:06 +0000 (0:00:00.012) 0:01:16.824 ********** ok: [sut] => { "storage_pools": [ { "disks": [ "sda" ], "encryption": true, "encryption_key": "/tmp/storage_testam_i6ji0lukskey", "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:24:06 +0000 (0:00:00.014) 0:01:16.838 ********** 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:24:06 +0000 (0:00:00.032) 0:01:16.871 ********** 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:24:06 +0000 (0:00:00.012) 0:01:16.883 ********** 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:24:06 +0000 (0:00:00.012) 0:01:16.895 ********** 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:24:06 +0000 (0:00:00.012) 0:01:16.908 ********** 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:24:06 +0000 (0:00:00.012) 0:01:16.920 ********** 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:24:06 +0000 (0:00:00.019) 0:01:16.939 ********** 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:24:06 +0000 (0:00:00.012) 0:01:16.951 ********** changed: [sut] => { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "luks" }, { "action": "create device", "device": "/dev/mapper/luks-21af15c7-4a46-4597-b8ed-199821c8162d", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/luks-21af15c7-4a46-4597-b8ed-199821c8162d", "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-21af15c7-4a46-4597-b8ed-199821c8162d", "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": [ "cryptsetup", "lvm2", "xfsprogs" ], "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:24:19 +0000 (0:00:12.962) 0:01:29.914 ********** 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:24:19 +0000 (0:00:00.012) 0:01:29.927 ********** 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:24:19 +0000 (0:00:00.011) 0:01:29.938 ********** ok: [sut] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "luks" }, { "action": "create device", "device": "/dev/mapper/luks-21af15c7-4a46-4597-b8ed-199821c8162d", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/luks-21af15c7-4a46-4597-b8ed-199821c8162d", "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-21af15c7-4a46-4597-b8ed-199821c8162d", "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": [ "cryptsetup", "lvm2", "xfsprogs" ], "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:24:19 +0000 (0:00:00.016) 0:01:29.954 ********** 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:24:19 +0000 (0:00:00.014) 0:01:29.969 ********** 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:24:19 +0000 (0:00:00.013) 0:01:29.982 ********** 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:24:19 +0000 (0:00:00.013) 0:01:29.995 ********** 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:24:19 +0000 (0:00:00.617) 0:01:30.612 ********** 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:24:20 +0000 (0:00:00.283) 0:01:30.895 ********** 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:24:20 +0000 (0:00:00.017) 0:01:30.913 ********** 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:24:20 +0000 (0:00:00.449) 0:01:31.363 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717100266.0356283, "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:24:20 +0000 (0:00:00.189) 0:01:31.552 ********** changed: [sut] => (item={'backing_device': '/dev/sda', 'name': 'luks-21af15c7-4a46-4597-b8ed-199821c8162d', 'password': 'VALUE_SPECIFIED_IN_NO_LOG_PARAMETER', 'state': 'present'}) => { "ansible_loop_var": "entry", "backup": "", "changed": true, "entry": { "backing_device": "/dev/sda", "name": "luks-21af15c7-4a46-4597-b8ed-199821c8162d", "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:24:21 +0000 (0:00:00.267) 0:01:31.819 ********** 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:24:21 +0000 (0:00:00.574) 0:01:32.394 ********** 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:24:21 +0000 (0:00:00.017) 0:01:32.411 ********** 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:24:21 +0000 (0:00:00.016) 0:01:32.428 ********** 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:24:21 +0000 (0:00:00.012) 0:01:32.440 ********** 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": "c1e05c91-f715-4c89-8799-8fb254877481" }, "/dev/mapper/luks-21af15c7-4a46-4597-b8ed-199821c8162d": { "fstype": "LVM2_member", "label": "", "mountpoint": "", "name": "/dev/mapper/luks-21af15c7-4a46-4597-b8ed-199821c8162d", "size": "10G", "type": "crypt", "uuid": "moGgu9-arV8-MQjw-rHi3-Demf-eNcR-2Ikyx3" }, "/dev/sda": { "fstype": "crypto_LUKS", "label": "", "mountpoint": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "21af15c7-4a46-4597-b8ed-199821c8162d" }, "/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:24:21 +0000 (0:00:00.266) 0:01:32.707 ********** ok: [sut] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002668", "end": "2024-05-30 20:24:22.128124", "rc": 0, "start": "2024-05-30 20:24:22.125456" } 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:24:22 +0000 (0:00:00.271) 0:01:32.978 ********** ok: [sut] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002495", "end": "2024-05-30 20:24:22.330921", "failed_when_result": false, "rc": 0, "start": "2024-05-30 20:24:22.328426" } STDOUT: luks-21af15c7-4a46-4597-b8ed-199821c8162d /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:24:22 +0000 (0:00:00.185) 0:01:33.163 ********** 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:24:22 +0000 (0:00:00.026) 0:01:33.190 ********** 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:24:22 +0000 (0:00:00.013) 0:01:33.204 ********** ok: [sut] => { "changed": false, "cmd": [ "vgs", "--noheadings", "--binary", "-o", "shared", "foo" ], "delta": "0:00:00.030966", "end": "2024-05-30 20:24:22.586469", "rc": 0, "start": "2024-05-30 20:24:22.555503" } 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:24:22 +0000 (0:00:00.215) 0:01:33.420 ********** 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:24:22 +0000 (0:00:00.018) 0:01:33.438 ********** 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:24:22 +0000 (0:00:00.027) 0:01:33.466 ********** ok: [sut] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/mapper/luks-21af15c7-4a46-4597-b8ed-199821c8162d" ] }, "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:24:22 +0000 (0:00:00.017) 0:01:33.483 ********** ok: [sut] => (item=/dev/mapper/luks-21af15c7-4a46-4597-b8ed-199821c8162d) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/mapper/luks-21af15c7-4a46-4597-b8ed-199821c8162d", "pv": "/dev/mapper/luks-21af15c7-4a46-4597-b8ed-199821c8162d" } 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:24:22 +0000 (0:00:00.234) 0:01:33.717 ********** 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:24:22 +0000 (0:00:00.015) 0:01:33.733 ********** ok: [sut] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/mapper/luks-21af15c7-4a46-4597-b8ed-199821c8162d" ] }, "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:24:22 +0000 (0:00:00.015) 0:01:33.749 ********** 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:24:22 +0000 (0:00:00.015) 0:01:33.765 ********** 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:24:22 +0000 (0:00:00.014) 0:01:33.779 ********** 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:24:22 +0000 (0:00:00.012) 0:01:33.792 ********** 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:24:22 +0000 (0:00:00.012) 0:01:33.804 ********** ok: [sut] => (item=/dev/mapper/luks-21af15c7-4a46-4597-b8ed-199821c8162d) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/mapper/luks-21af15c7-4a46-4597-b8ed-199821c8162d" } 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:24:23 +0000 (0:00:00.021) 0:01:33.826 ********** 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:24:23 +0000 (0:00:00.024) 0:01:33.851 ********** 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:24:23 +0000 (0:00:00.014) 0:01:33.866 ********** 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:24:23 +0000 (0:00:00.014) 0:01:33.880 ********** 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:24:23 +0000 (0:00:00.013) 0:01:33.894 ********** 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:24:23 +0000 (0:00:00.013) 0:01:33.907 ********** 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:24:23 +0000 (0:00:00.012) 0:01:33.920 ********** 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:24:23 +0000 (0:00:00.012) 0:01:33.933 ********** 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:24:23 +0000 (0:00:00.012) 0:01:33.945 ********** 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:24:23 +0000 (0:00:00.013) 0:01:33.959 ********** 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:24:23 +0000 (0:00:00.012) 0:01:33.971 ********** 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:24:23 +0000 (0:00:00.012) 0:01:33.984 ********** 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:24:23 +0000 (0:00:00.012) 0:01:33.996 ********** 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:24:23 +0000 (0:00:00.023) 0:01:34.020 ********** 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:24:23 +0000 (0:00:00.027) 0:01:34.048 ********** 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:24:23 +0000 (0:00:00.012) 0:01:34.060 ********** 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:24:23 +0000 (0:00:00.012) 0:01:34.073 ********** 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:24:23 +0000 (0:00:00.012) 0:01:34.085 ********** 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:24:23 +0000 (0:00:00.014) 0:01:34.100 ********** 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:24:23 +0000 (0:00:00.012) 0:01:34.112 ********** 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:24:23 +0000 (0:00:00.012) 0:01:34.125 ********** 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:24:23 +0000 (0:00:00.012) 0:01:34.138 ********** 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:24:23 +0000 (0:00:00.025) 0:01:34.164 ********** 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:24:23 +0000 (0:00:00.026) 0:01:34.190 ********** 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:24:23 +0000 (0:00:00.014) 0:01:34.205 ********** 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:24:23 +0000 (0:00:00.012) 0:01:34.217 ********** 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:24:23 +0000 (0:00:00.013) 0:01:34.230 ********** 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:24:23 +0000 (0:00:00.032) 0:01:34.263 ********** 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:24:23 +0000 (0:00:00.029) 0:01:34.293 ********** 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:24:23 +0000 (0:00:00.015) 0:01:34.308 ********** 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:24:23 +0000 (0:00:00.024) 0:01:34.333 ********** ok: [sut] => { "changed": false, "cmd": [ "realpath", "/dev/disk/by-uuid/21af15c7-4a46-4597-b8ed-199821c8162d" ], "delta": "0:00:00.002581", "end": "2024-05-30 20:24:23.688634", "rc": 0, "start": "2024-05-30 20:24:23.686053" } 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:24:23 +0000 (0:00:00.187) 0:01:34.521 ********** 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:24:26 +0000 (0:00:02.480) 0:01:37.001 ********** ok: [sut] => { "changed": false, "cmd": [ "cryptsetup", "luksDump", "/dev/sda" ], "delta": "0:00:00.012593", "end": "2024-05-30 20:24:26.367610", "rc": 0, "start": "2024-05-30 20:24:26.355017" } STDOUT: LUKS header information Version: 2 Epoch: 3 Metadata area: 16384 [bytes] Keyslots area: 16744448 [bytes] UUID: 21af15c7-4a46-4597-b8ed-199821c8162d 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: 829146 Threads: 2 Salt: e3 82 06 4a 7d 85 99 fb c8 d9 6e e6 ac 88 43 c8 5f d8 4c 79 9c 81 a3 96 e7 87 1e d5 be 71 fb 15 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: 6b 28 61 f5 d4 64 98 60 61 55 21 68 cc 89 d1 3b ec 6c fb 4b 4d 5b c2 0a 7f 3b c6 d5 2d 10 f2 6c Digest: a4 87 06 f5 3e 3c 2a 33 34 b4 40 2e b8 65 87 19 ba b8 b1 1e c3 00 7f b1 8b 1d 50 54 3c b9 3d 4a 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:24:26 +0000 (0:00:00.201) 0:01:37.203 ********** 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:24:26 +0000 (0:00:00.014) 0:01:37.217 ********** 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:24:26 +0000 (0:00:00.020) 0:01:37.238 ********** 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:24:26 +0000 (0:00:00.014) 0:01:37.252 ********** 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:24:26 +0000 (0:00:00.026) 0:01:37.279 ********** ok: [sut] => { "ansible_facts": { "_storage_test_crypttab_entries": [ "luks-21af15c7-4a46-4597-b8ed-199821c8162d /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:24:26 +0000 (0:00:00.014) 0:01:37.293 ********** 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:24:26 +0000 (0:00:00.015) 0:01:37.309 ********** 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:24:26 +0000 (0:00:00.015) 0:01:37.325 ********** 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:24:26 +0000 (0:00:00.012) 0:01:37.338 ********** 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:24:26 +0000 (0:00:00.017) 0:01:37.356 ********** 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:24:26 +0000 (0:00:00.011) 0:01:37.368 ********** 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:24:26 +0000 (0:00:00.012) 0:01:37.381 ********** 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:24:26 +0000 (0:00:00.027) 0:01:37.408 ********** 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:24:26 +0000 (0:00:00.025) 0:01:37.433 ********** 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:24:26 +0000 (0:00:00.015) 0:01:37.449 ********** 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:24:26 +0000 (0:00:00.012) 0:01:37.462 ********** 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:24:26 +0000 (0:00:00.012) 0:01:37.475 ********** 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:24:26 +0000 (0:00:00.012) 0:01:37.487 ********** 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:24:26 +0000 (0:00:00.012) 0:01:37.500 ********** 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:24:26 +0000 (0:00:00.012) 0:01:37.512 ********** 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:24:26 +0000 (0:00:00.012) 0:01:37.524 ********** 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:24:26 +0000 (0:00:00.028) 0:01:37.553 ********** 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:24:26 +0000 (0:00:00.012) 0:01:37.565 ********** 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:24:26 +0000 (0:00:00.013) 0:01:37.579 ********** 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:24:26 +0000 (0:00:00.034) 0:01:37.614 ********** 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:24:26 +0000 (0:00:00.014) 0:01:37.628 ********** 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:24:26 +0000 (0:00:00.017) 0:01:37.646 ********** 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:24:26 +0000 (0:00:00.011) 0:01:37.658 ********** 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:24:26 +0000 (0:00:00.017) 0:01:37.675 ********** 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:24:26 +0000 (0:00:00.026) 0:01:37.702 ********** 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:24:26 +0000 (0:00:00.016) 0:01:37.718 ********** 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:24:26 +0000 (0:00:00.073) 0:01:37.791 ********** 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:24:27 +0000 (0:00:00.026) 0:01:37.817 ********** 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:24:27 +0000 (0:00:00.016) 0:01:37.833 ********** 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:24:27 +0000 (0:00:00.012) 0:01:37.846 ********** 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:24:27 +0000 (0:00:00.014) 0:01:37.861 ********** 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:24:27 +0000 (0:00:00.013) 0:01:37.875 ********** 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:24:27 +0000 (0:00:00.012) 0:01:37.887 ********** 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:24:27 +0000 (0:00:00.012) 0:01:37.900 ********** 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:24:27 +0000 (0:00:00.011) 0:01:37.911 ********** 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:24:27 +0000 (0:00:00.011) 0:01:37.923 ********** 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:24:27 +0000 (0:00:00.012) 0:01:37.935 ********** 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:24:27 +0000 (0:00:00.012) 0:01:37.948 ********** 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:24:27 +0000 (0:00:00.024) 0:01:37.972 ********** 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:24:27 +0000 (0:00:00.014) 0:01:37.987 ********** 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:24:27 +0000 (0:00:00.015) 0:01:38.003 ********** 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:24:27 +0000 (0:00:00.012) 0:01:38.015 ********** 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:24:27 +0000 (0:00:00.012) 0:01:38.028 ********** 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:24:27 +0000 (0:00:00.020) 0:01:38.049 ********** 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:24:27 +0000 (0:00:00.019) 0:01:38.068 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717100659.028679, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1717100659.028679, "dev": 6, "device_type": 64769, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 76320, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1717100659.028679, "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:24:27 +0000 (0:00:00.191) 0:01:38.260 ********** 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:24:27 +0000 (0:00:00.018) 0:01:38.278 ********** 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:24:27 +0000 (0:00:00.014) 0:01:38.293 ********** 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:24:27 +0000 (0:00:00.016) 0:01:38.310 ********** 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:24:27 +0000 (0:00:00.014) 0:01:38.324 ********** 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:24:27 +0000 (0:00:00.012) 0:01:38.337 ********** 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:24:27 +0000 (0:00:00.016) 0:01:38.353 ********** 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:24:27 +0000 (0:00:00.013) 0:01:38.367 ********** 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:24:30 +0000 (0:00:02.512) 0:01:40.879 ********** 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:24:30 +0000 (0:00:00.013) 0:01:40.892 ********** 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:24:30 +0000 (0:00:00.013) 0:01:40.906 ********** 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:24:30 +0000 (0:00:00.071) 0:01:40.977 ********** 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:24:30 +0000 (0:00:00.020) 0:01:40.998 ********** 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:24:30 +0000 (0:00:00.024) 0:01:41.023 ********** 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:24:30 +0000 (0:00:00.015) 0:01:41.039 ********** 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:24:30 +0000 (0:00:00.019) 0:01:41.059 ********** 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:24:30 +0000 (0:00:00.020) 0:01:41.079 ********** 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:24:30 +0000 (0:00:00.017) 0:01:41.097 ********** 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:24:30 +0000 (0:00:00.016) 0:01:41.113 ********** 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:24:30 +0000 (0:00:00.012) 0:01:41.126 ********** 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:24:30 +0000 (0:00:00.012) 0:01:41.138 ********** 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:24:30 +0000 (0:00:00.013) 0:01:41.152 ********** 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:24:30 +0000 (0:00:00.014) 0:01:41.166 ********** 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:24:30 +0000 (0:00:00.013) 0:01:41.180 ********** 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:24:30 +0000 (0:00:00.014) 0:01:41.195 ********** 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:24:30 +0000 (0:00:00.012) 0:01:41.208 ********** 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:24:30 +0000 (0:00:00.012) 0:01:41.221 ********** 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:24:30 +0000 (0:00:00.017) 0:01:41.238 ********** 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:24:30 +0000 (0:00:00.020) 0:01:41.259 ********** 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:24:30 +0000 (0:00:00.014) 0:01:41.274 ********** 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:24:30 +0000 (0:00:00.018) 0:01:41.292 ********** 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:24:30 +0000 (0:00:00.013) 0:01:41.305 ********** 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:24:30 +0000 (0:00:00.012) 0:01:41.318 ********** 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:24:30 +0000 (0:00:00.271) 0:01:41.589 ********** 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:24:30 +0000 (0:00:00.185) 0:01:41.775 ********** 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:24:30 +0000 (0:00:00.018) 0:01:41.794 ********** 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:24:30 +0000 (0:00:00.014) 0:01:41.808 ********** 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:24:31 +0000 (0:00:00.185) 0:01:41.994 ********** 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:24:31 +0000 (0:00:00.015) 0:01:42.009 ********** 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:24:31 +0000 (0:00:00.015) 0:01:42.024 ********** 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:24:31 +0000 (0:00:00.014) 0:01:42.039 ********** 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:24:31 +0000 (0:00:00.014) 0:01:42.054 ********** 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:24:31 +0000 (0:00:00.013) 0:01:42.068 ********** 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:24:31 +0000 (0:00:00.012) 0:01:42.080 ********** 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:24:31 +0000 (0:00:00.013) 0:01:42.094 ********** 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:24:31 +0000 (0:00:00.013) 0:01:42.107 ********** 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:24:31 +0000 (0:00:00.015) 0:01:42.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:24:31 +0000 (0:00:00.033) 0:01:42.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:24:31 +0000 (0:00:00.014) 0:01:42.171 ********** 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:24:31 +0000 (0:00:00.017) 0:01:42.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:24:31 +0000 (0:00:00.018) 0:01:42.206 ********** 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:24:31 +0000 (0:00:00.013) 0:01:42.220 ********** 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:24:31 +0000 (0:00:00.015) 0:01:42.235 ********** 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:24:31 +0000 (0:00:00.028) 0:01:42.263 ********** 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:24:31 +0000 (0:00:00.015) 0:01:42.279 ********** 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:24:31 +0000 (0:00:00.015) 0:01:42.294 ********** 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:24:31 +0000 (0:00:00.022) 0:01:42.317 ********** 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:24:31 +0000 (0:00:00.030) 0:01:42.348 ********** 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:24:31 +0000 (0:00:00.029) 0:01:42.377 ********** 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:24:31 +0000 (0:00:00.019) 0:01:42.397 ********** 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.031331", "end": "2024-05-30 20:24:31.782348", "rc": 0, "start": "2024-05-30 20:24:31.751017" } 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:24:31 +0000 (0:00:00.218) 0:01:42.616 ********** 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:24:31 +0000 (0:00:00.016) 0:01:42.633 ********** 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:24:31 +0000 (0:00:00.017) 0:01:42.650 ********** 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:24:31 +0000 (0:00:00.015) 0:01:42.666 ********** 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:24:31 +0000 (0:00:00.015) 0:01:42.681 ********** 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:24:31 +0000 (0:00:00.014) 0:01:42.696 ********** 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:24:31 +0000 (0:00:00.014) 0:01:42.711 ********** 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:24:31 +0000 (0:00:00.013) 0:01:42.724 ********** 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:24:31 +0000 (0:00:00.012) 0:01:42.736 ********** 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:24:31 +0000 (0:00:00.014) 0:01:42.750 ********** ok: [sut] => { "changed": false, "path": "/tmp/storage_testam_i6ji0lukskey", "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:24:32 +0000 (0:00:00.273) 0:01:43.024 ********** 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:24:32 +0000 (0:00:00.207) 0:01:43.232 ********** 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:24:32 +0000 (0:00:00.023) 0:01:43.255 ********** 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:24:32 +0000 (0:00:00.017) 0:01:43.273 ********** 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:24:32 +0000 (0:00:00.026) 0:01:43.300 ********** 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:24:32 +0000 (0:00:00.018) 0:01:43.318 ********** 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:24:32 +0000 (0:00:00.016) 0:01:43.334 ********** 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:24:32 +0000 (0:00:00.034) 0:01:43.368 ********** 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:24:32 +0000 (0:00:00.012) 0:01:43.381 ********** 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:24:32 +0000 (0:00:00.013) 0:01:43.395 ********** 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:24:32 +0000 (0:00:00.011) 0:01:43.406 ********** 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:24:32 +0000 (0:00:00.011) 0:01:43.418 ********** 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:24:32 +0000 (0:00:00.027) 0:01:43.445 ********** 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:24:32 +0000 (0:00:00.014) 0:01:43.460 ********** 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:24:32 +0000 (0:00:00.016) 0:01:43.477 ********** 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:24:32 +0000 (0:00:00.017) 0:01:43.494 ********** 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:24:32 +0000 (0:00:00.016) 0:01:43.511 ********** 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:24:32 +0000 (0:00:00.013) 0:01:43.524 ********** 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:24:32 +0000 (0:00:00.014) 0:01:43.538 ********** 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:24:32 +0000 (0:00:00.012) 0:01:43.551 ********** 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:24:32 +0000 (0:00:00.020) 0:01:43.571 ********** 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:24:32 +0000 (0:00:00.013) 0:01:43.585 ********** 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:24:37 +0000 (0:00:04.384) 0:01:47.970 ********** 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:24:37 +0000 (0:00:00.018) 0:01:47.988 ********** 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:24:37 +0000 (0:00:00.012) 0:01:48.000 ********** 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:24:37 +0000 (0:00:00.015) 0:01:48.015 ********** 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:24:37 +0000 (0:00:00.018) 0:01:48.033 ********** 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:24:37 +0000 (0:00:00.013) 0:01:48.047 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717100672.398295, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1717100672.398295, "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": 1717100672.398295, "nlink": 1, "path": "/opt/test1/quux", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "version": "38680260", "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:24:37 +0000 (0:00:00.195) 0:01:48.242 ********** 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:24:37 +0000 (0:00:00.022) 0:01:48.265 ********** 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:24:37 +0000 (0:00:00.077) 0:01:48.343 ********** 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:24:37 +0000 (0:00:00.019) 0:01:48.363 ********** 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:24:37 +0000 (0:00:00.016) 0:01:48.379 ********** 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:24:37 +0000 (0:00:00.057) 0:01:48.436 ********** 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:24:37 +0000 (0:00:00.013) 0:01:48.449 ********** 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:24:37 +0000 (0:00:00.015) 0:01:48.465 ********** 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:24:37 +0000 (0:00:00.019) 0:01:48.485 ********** 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:24:37 +0000 (0:00:00.012) 0:01:48.497 ********** 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:24:37 +0000 (0:00:00.031) 0:01:48.529 ********** 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:24:37 +0000 (0:00:00.014) 0:01:48.543 ********** 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:24:37 +0000 (0:00:00.020) 0:01:48.564 ********** 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:24:37 +0000 (0:00:00.014) 0:01:48.578 ********** 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:24:37 +0000 (0:00:00.012) 0:01:48.591 ********** 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:24:37 +0000 (0:00:00.013) 0:01:48.605 ********** 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:24:37 +0000 (0:00:00.012) 0:01:48.618 ********** 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:24:37 +0000 (0:00:00.015) 0:01:48.633 ********** 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:24:37 +0000 (0:00:00.020) 0:01:48.654 ********** 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:24:37 +0000 (0:00:00.012) 0:01:48.666 ********** 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-21af15c7-4a46-4597-b8ed-199821c8162d", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/mapper/luks-21af15c7-4a46-4597-b8ed-199821c8162d", "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-21af15c7-4a46-4597-b8ed-199821c8162d", "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": [ "lvm2", "xfsprogs" ], "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:24:43 +0000 (0:00:05.699) 0:01:54.365 ********** 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:24:43 +0000 (0:00:00.013) 0:01:54.378 ********** 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:24:43 +0000 (0:00:00.011) 0:01:54.389 ********** 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-21af15c7-4a46-4597-b8ed-199821c8162d", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/mapper/luks-21af15c7-4a46-4597-b8ed-199821c8162d", "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-21af15c7-4a46-4597-b8ed-199821c8162d", "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": [ "lvm2", "xfsprogs" ], "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:24:43 +0000 (0:00:00.016) 0:01:54.406 ********** 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:24:43 +0000 (0:00:00.015) 0:01:54.422 ********** 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:24:43 +0000 (0:00:00.015) 0:01:54.437 ********** 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:24:43 +0000 (0:00:00.197) 0:01:54.634 ********** 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:24:44 +0000 (0:00:00.460) 0:01:55.095 ********** 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:24:44 +0000 (0:00:00.208) 0:01:55.303 ********** 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:24:44 +0000 (0:00:00.019) 0:01:55.322 ********** 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:24:44 +0000 (0:00:00.457) 0:01:55.780 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717100662.329584, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "5d53a5dc0020ea16ab975f099569376b97691474", "ctime": 1717100660.9806228, "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": 1717100660.9806228, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 87, "uid": 0, "version": "593249805", "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:24:45 +0000 (0:00:00.216) 0:01:55.996 ********** changed: [sut] => (item={'backing_device': '/dev/sda', 'name': 'luks-21af15c7-4a46-4597-b8ed-199821c8162d', 'password': '-', 'state': 'absent'}) => { "ansible_loop_var": "entry", "backup": "", "changed": true, "entry": { "backing_device": "/dev/sda", "name": "luks-21af15c7-4a46-4597-b8ed-199821c8162d", "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:24:45 +0000 (0:00:00.200) 0:01:56.197 ********** 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:24:46 +0000 (0:00:00.618) 0:01:56.815 ********** 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:24:46 +0000 (0:00:00.058) 0:01:56.873 ********** 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:24:46 +0000 (0:00:00.017) 0:01:56.891 ********** 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:24:46 +0000 (0:00:00.012) 0:01:56.904 ********** 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": "fd4a2c0d-3823-4d91-829f-b6effa9fe1ef" }, "/dev/sda": { "fstype": "LVM2_member", "label": "", "mountpoint": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "PtbtQO-SIE9-RbUX-U52b-qnBE-tVhg-2nWeI9" }, "/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:24:46 +0000 (0:00:00.193) 0:01:57.097 ********** ok: [sut] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002662", "end": "2024-05-30 20:24:46.450598", "rc": 0, "start": "2024-05-30 20:24:46.447936" } 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:24:46 +0000 (0:00:00.186) 0:01:57.283 ********** ok: [sut] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002946", "end": "2024-05-30 20:24:46.639150", "failed_when_result": false, "rc": 0, "start": "2024-05-30 20:24:46.636204" } 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:24:46 +0000 (0:00:00.188) 0:01:57.472 ********** 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:24:46 +0000 (0:00:00.025) 0:01:57.498 ********** 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:24:46 +0000 (0:00:00.013) 0:01:57.511 ********** ok: [sut] => { "changed": false, "cmd": [ "vgs", "--noheadings", "--binary", "-o", "shared", "foo" ], "delta": "0:00:00.025112", "end": "2024-05-30 20:24:46.901436", "rc": 0, "start": "2024-05-30 20:24:46.876324" } 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:24:46 +0000 (0:00:00.224) 0:01:57.735 ********** 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:24:46 +0000 (0:00:00.024) 0:01:57.760 ********** 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:24:46 +0000 (0:00:00.029) 0:01:57.789 ********** 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:24:47 +0000 (0:00:00.033) 0:01:57.822 ********** 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:24:47 +0000 (0:00:00.191) 0:01:58.014 ********** 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:24:47 +0000 (0:00:00.017) 0:01:58.031 ********** 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:24:47 +0000 (0:00:00.017) 0:01:58.049 ********** 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:24:47 +0000 (0:00:00.016) 0:01:58.065 ********** 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:24:47 +0000 (0:00:00.015) 0:01:58.081 ********** 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:24:47 +0000 (0:00:00.016) 0:01:58.097 ********** 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:24:47 +0000 (0:00:00.012) 0:01:58.110 ********** 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:24:47 +0000 (0:00:00.018) 0:01:58.128 ********** 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:24:47 +0000 (0:00:00.023) 0:01:58.152 ********** 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:24:47 +0000 (0:00:00.012) 0:01:58.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/verify-pool-md.yml:21 Thursday 30 May 2024 20:24:47 +0000 (0:00:00.011) 0:01:58.176 ********** 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:24:47 +0000 (0:00:00.012) 0:01:58.189 ********** 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:24:47 +0000 (0:00:00.011) 0:01:58.200 ********** 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:24:47 +0000 (0:00:00.012) 0:01:58.212 ********** 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:24:47 +0000 (0:00:00.012) 0:01:58.225 ********** 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:24:47 +0000 (0:00:00.012) 0:01:58.237 ********** 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:24:47 +0000 (0:00:00.012) 0:01:58.250 ********** 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:24:47 +0000 (0:00:00.012) 0:01:58.262 ********** 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:24:47 +0000 (0:00:00.011) 0:01:58.274 ********** 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:24:47 +0000 (0:00:00.011) 0:01:58.285 ********** 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:24:47 +0000 (0:00:00.025) 0:01:58.310 ********** 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:24:47 +0000 (0:00:00.024) 0:01:58.334 ********** 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:24:47 +0000 (0:00:00.012) 0:01:58.347 ********** 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:24:47 +0000 (0:00:00.013) 0:01:58.360 ********** 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:24:47 +0000 (0:00:00.012) 0:01:58.373 ********** 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:24:47 +0000 (0:00:00.012) 0:01:58.385 ********** 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:24:47 +0000 (0:00:00.012) 0:01:58.398 ********** 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:24:47 +0000 (0:00:00.012) 0:01:58.410 ********** 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:24:47 +0000 (0:00:00.012) 0:01:58.422 ********** 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:24:47 +0000 (0:00:00.047) 0:01:58.470 ********** 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:24:47 +0000 (0:00:00.025) 0:01:58.495 ********** 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:24:47 +0000 (0:00:00.013) 0:01:58.509 ********** 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:24:47 +0000 (0:00:00.014) 0:01:58.523 ********** 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:24:47 +0000 (0:00:00.012) 0:01:58.536 ********** 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:24:47 +0000 (0:00:00.011) 0:01:58.547 ********** 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:24:47 +0000 (0:00:00.026) 0:01:58.574 ********** 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:24:47 +0000 (0:00:00.016) 0:01:58.591 ********** 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:24:47 +0000 (0:00:00.014) 0:01:58.605 ********** 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:24:47 +0000 (0:00:00.022) 0:01:58.627 ********** 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:24:47 +0000 (0:00:00.014) 0:01:58.642 ********** 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:24:47 +0000 (0:00:00.015) 0:01:58.658 ********** 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:24:47 +0000 (0:00:00.012) 0:01:58.670 ********** 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:24:47 +0000 (0:00:00.012) 0:01:58.683 ********** 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:24:47 +0000 (0:00:00.012) 0:01:58.695 ********** 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:24:47 +0000 (0:00:00.011) 0:01:58.706 ********** 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:24:47 +0000 (0:00:00.011) 0:01:58.717 ********** 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:24:47 +0000 (0:00:00.027) 0:01:58.745 ********** 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:24:47 +0000 (0:00:00.025) 0:01:58.771 ********** 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:24:47 +0000 (0:00:00.012) 0:01:58.783 ********** 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:24:47 +0000 (0:00:00.013) 0:01:58.797 ********** 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:24:47 +0000 (0:00:00.012) 0:01:58.809 ********** 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:24:48 +0000 (0:00:00.012) 0:01:58.822 ********** 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:24:48 +0000 (0:00:00.012) 0:01:58.835 ********** 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:24:48 +0000 (0:00:00.012) 0:01:58.847 ********** 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:24:48 +0000 (0:00:00.011) 0:01:58.858 ********** 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:24:48 +0000 (0:00:00.028) 0:01:58.887 ********** 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:24:48 +0000 (0:00:00.012) 0:01:58.899 ********** 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:24:48 +0000 (0:00:00.012) 0:01:58.912 ********** 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:24:48 +0000 (0:00:00.013) 0:01:58.925 ********** 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:24:48 +0000 (0:00:00.012) 0:01:58.938 ********** 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:24:48 +0000 (0:00:00.012) 0:01:58.950 ********** 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:24:48 +0000 (0:00:00.012) 0:01:58.963 ********** 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:24:48 +0000 (0:00:00.012) 0:01:58.975 ********** 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:24:48 +0000 (0:00:00.023) 0:01:58.999 ********** 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:24:48 +0000 (0:00:00.015) 0:01:59.015 ********** 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:24:48 +0000 (0:00:00.057) 0:01:59.072 ********** 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:24:48 +0000 (0:00:00.014) 0:01:59.087 ********** 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:24:48 +0000 (0:00:00.015) 0:01:59.102 ********** 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:24:48 +0000 (0:00:00.013) 0:01:59.116 ********** 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:24:48 +0000 (0:00:00.016) 0:01:59.132 ********** 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:24:48 +0000 (0:00:00.012) 0:01:59.145 ********** 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:24:48 +0000 (0:00:00.012) 0:01:59.157 ********** 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:24:48 +0000 (0:00:00.020) 0:01:59.178 ********** 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:24:48 +0000 (0:00:00.021) 0:01:59.199 ********** 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:24:48 +0000 (0:00:00.053) 0:01:59.253 ********** 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:24:48 +0000 (0:00:00.013) 0:01:59.266 ********** 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:24:48 +0000 (0:00:00.018) 0:01:59.284 ********** 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:24:48 +0000 (0:00:00.025) 0:01:59.310 ********** 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:24:48 +0000 (0:00:00.015) 0:01:59.325 ********** 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:24:48 +0000 (0:00:00.014) 0:01:59.340 ********** 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:24:48 +0000 (0:00:00.014) 0:01:59.354 ********** 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:24:48 +0000 (0:00:00.012) 0:01:59.366 ********** 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:24:48 +0000 (0:00:00.016) 0:01:59.383 ********** 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:24:48 +0000 (0:00:00.019) 0:01:59.403 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717100683.479977, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1717100683.479977, "dev": 6, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 81344, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1717100683.479977, "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:24:48 +0000 (0:00:00.194) 0:01:59.597 ********** 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:24:48 +0000 (0:00:00.017) 0:01:59.614 ********** 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:24:48 +0000 (0:00:00.012) 0:01:59.627 ********** 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:24:48 +0000 (0:00:00.015) 0:01:59.643 ********** 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:24:48 +0000 (0:00:00.013) 0:01:59.657 ********** 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:24:48 +0000 (0:00:00.013) 0:01:59.671 ********** 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:24:48 +0000 (0:00:00.015) 0:01:59.686 ********** 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:24:48 +0000 (0:00:00.011) 0:01:59.697 ********** 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:24:51 +0000 (0:00:02.483) 0:02:02.181 ********** 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:24:51 +0000 (0:00:00.013) 0:02:02.194 ********** 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:24:51 +0000 (0:00:00.012) 0:02:02.207 ********** 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:24:51 +0000 (0:00:00.018) 0:02:02.225 ********** 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:24:51 +0000 (0:00:00.012) 0:02:02.238 ********** 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:24:51 +0000 (0:00:00.012) 0:02:02.250 ********** 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:24:51 +0000 (0:00:00.013) 0:02:02.264 ********** 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:24:51 +0000 (0:00:00.014) 0:02:02.279 ********** 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:24:51 +0000 (0:00:00.012) 0:02:02.292 ********** 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:24:51 +0000 (0:00:00.017) 0:02:02.309 ********** 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:24:51 +0000 (0:00:00.015) 0:02:02.324 ********** 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:24:51 +0000 (0:00:00.014) 0:02:02.339 ********** 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:24:51 +0000 (0:00:00.016) 0:02:02.356 ********** 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:24:51 +0000 (0:00:00.015) 0:02:02.371 ********** 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:24:51 +0000 (0:00:00.013) 0:02:02.385 ********** 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:24:51 +0000 (0:00:00.016) 0:02:02.401 ********** 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:24:51 +0000 (0:00:00.014) 0:02:02.415 ********** 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:24:51 +0000 (0:00:00.014) 0:02:02.430 ********** 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:24:51 +0000 (0:00:00.016) 0:02:02.447 ********** 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:24:51 +0000 (0:00:00.014) 0:02:02.461 ********** 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:24:51 +0000 (0:00:00.014) 0:02:02.476 ********** 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:24:51 +0000 (0:00:00.014) 0:02:02.490 ********** 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:24:51 +0000 (0:00:00.021) 0:02:02.511 ********** 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:24:51 +0000 (0:00:00.035) 0:02:02.547 ********** 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:24:51 +0000 (0:00:00.030) 0:02:02.577 ********** 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:24:51 +0000 (0:00:00.186) 0:02:02.763 ********** 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:24:52 +0000 (0:00:00.183) 0:02:02.947 ********** 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:24:52 +0000 (0:00:00.017) 0:02:02.964 ********** 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:24:52 +0000 (0:00:00.013) 0:02:02.978 ********** 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:24:52 +0000 (0:00:00.186) 0:02:03.165 ********** 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:24:52 +0000 (0:00:00.015) 0:02:03.180 ********** 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:24:52 +0000 (0:00:00.015) 0:02:03.196 ********** 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:24:52 +0000 (0:00:00.015) 0:02:03.211 ********** 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:24:52 +0000 (0:00:00.015) 0:02:03.227 ********** 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:24:52 +0000 (0:00:00.014) 0:02:03.241 ********** 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:24:52 +0000 (0:00:00.040) 0:02:03.281 ********** 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:24:52 +0000 (0:00:00.013) 0:02:03.294 ********** 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:24:52 +0000 (0:00:00.011) 0:02:03.306 ********** 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:24:52 +0000 (0:00:00.015) 0:02:03.321 ********** 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:24:52 +0000 (0:00:00.014) 0:02:03.336 ********** 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:24:52 +0000 (0:00:00.012) 0:02:03.349 ********** 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:24:52 +0000 (0:00:00.013) 0:02:03.362 ********** 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:24:52 +0000 (0:00:00.012) 0:02:03.374 ********** 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:24:52 +0000 (0:00:00.012) 0:02:03.387 ********** 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:24:52 +0000 (0:00:00.012) 0:02:03.399 ********** 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:24:52 +0000 (0:00:00.011) 0:02:03.411 ********** 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:24:52 +0000 (0:00:00.011) 0:02:03.422 ********** 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:24:52 +0000 (0:00:00.012) 0:02:03.435 ********** 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:24:52 +0000 (0:00:00.012) 0:02:03.447 ********** 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:24:52 +0000 (0:00:00.013) 0:02:03.461 ********** 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:24:52 +0000 (0:00:00.012) 0:02:03.474 ********** 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:24:52 +0000 (0:00:00.017) 0:02:03.491 ********** 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.027422", "end": "2024-05-30 20:24:52.870284", "rc": 0, "start": "2024-05-30 20:24:52.842862" } 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:24:52 +0000 (0:00:00.212) 0:02:03.704 ********** 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:24:52 +0000 (0:00:00.016) 0:02:03.720 ********** 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:24:52 +0000 (0:00:00.016) 0:02:03.736 ********** 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:24:52 +0000 (0:00:00.015) 0:02:03.751 ********** 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:24:52 +0000 (0:00:00.015) 0:02:03.767 ********** 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:24:52 +0000 (0:00:00.014) 0:02:03.781 ********** 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:24:52 +0000 (0:00:00.013) 0:02:03.795 ********** 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:24:52 +0000 (0:00:00.011) 0:02:03.806 ********** 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:24:53 +0000 (0:00:00.011) 0:02:03.817 ********** 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:24:53 +0000 (0:00:00.012) 0:02:03.830 ********** 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:24:53 +0000 (0:00:00.191) 0:02:04.022 ********** 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:24:53 +0000 (0:00:00.021) 0:02:04.043 ********** 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:24:53 +0000 (0:00:00.016) 0:02:04.059 ********** 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:24:53 +0000 (0:00:00.016) 0:02:04.076 ********** 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:24:53 +0000 (0:00:00.017) 0:02:04.094 ********** 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:24:53 +0000 (0:00:00.015) 0:02:04.109 ********** 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:24:53 +0000 (0:00:00.032) 0:02:04.142 ********** 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:24:53 +0000 (0:00:00.012) 0:02:04.155 ********** 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:24:53 +0000 (0:00:00.012) 0:02:04.167 ********** 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:24:53 +0000 (0:00:00.012) 0:02:04.179 ********** 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:24:53 +0000 (0:00:00.011) 0:02:04.191 ********** 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:24:53 +0000 (0:00:00.025) 0:02:04.217 ********** 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:24:53 +0000 (0:00:00.013) 0:02:04.231 ********** 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:24:53 +0000 (0:00:00.019) 0:02:04.250 ********** 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:24:53 +0000 (0:00:00.019) 0:02:04.270 ********** 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:24:53 +0000 (0:00:00.012) 0:02:04.282 ********** 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:24:53 +0000 (0:00:00.012) 0:02:04.295 ********** 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:24:53 +0000 (0:00:00.012) 0:02:04.307 ********** 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:24:53 +0000 (0:00:00.013) 0:02:04.321 ********** 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:24:53 +0000 (0:00:00.019) 0:02:04.340 ********** 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:24:53 +0000 (0:00:00.011) 0:02:04.352 ********** 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:24:57 +0000 (0:00:04.367) 0:02:08.719 ********** 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:24:57 +0000 (0:00:00.016) 0:02:08.736 ********** 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:24:57 +0000 (0:00:00.011) 0:02:08.747 ********** 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:24:57 +0000 (0:00:00.014) 0:02:08.762 ********** 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:24:57 +0000 (0:00:00.019) 0:02:08.781 ********** 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:24:57 +0000 (0:00:00.012) 0:02:08.794 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717100693.1886983, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1717100693.1886983, "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": 1717100693.1886983, "nlink": 1, "path": "/opt/test1/quux", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "version": "4155569371", "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:24:58 +0000 (0:00:00.187) 0:02:08.981 ********** 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:24:58 +0000 (0:00:00.016) 0:02:08.997 ********** 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:24:58 +0000 (0:00:00.028) 0:02:09.026 ********** 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:24:58 +0000 (0:00:00.018) 0:02:09.045 ********** 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:24:58 +0000 (0:00:00.014) 0:02:09.060 ********** 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:24:58 +0000 (0:00:00.032) 0:02:09.092 ********** 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:24:58 +0000 (0:00:00.012) 0:02:09.105 ********** 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:24:58 +0000 (0:00:00.012) 0:02:09.118 ********** 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:24:58 +0000 (0:00:00.012) 0:02:09.130 ********** 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:24:58 +0000 (0:00:00.012) 0:02:09.143 ********** 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:24:58 +0000 (0:00:00.031) 0:02:09.175 ********** 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:24:58 +0000 (0:00:00.015) 0:02:09.191 ********** 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:24:58 +0000 (0:00:00.030) 0:02:09.221 ********** 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:24:58 +0000 (0:00:00.021) 0:02:09.243 ********** 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:24:58 +0000 (0:00:00.014) 0:02:09.257 ********** 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:24:58 +0000 (0:00:00.012) 0:02:09.270 ********** 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:24:58 +0000 (0:00:00.013) 0:02:09.284 ********** 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:24:58 +0000 (0:00:00.014) 0:02:09.298 ********** 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:24:58 +0000 (0:00:00.019) 0:02:09.317 ********** 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:24:58 +0000 (0:00:00.011) 0:02:09.329 ********** 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-9e3f5775-7364-4feb-8f09-05afe41d571f", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/luks-9e3f5775-7364-4feb-8f09-05afe41d571f", "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-9e3f5775-7364-4feb-8f09-05afe41d571f", "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": [ "cryptsetup", "lvm2", "xfsprogs" ], "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:25:09 +0000 (0:00:11.330) 0:02:20.659 ********** 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:25:09 +0000 (0:00:00.040) 0:02:20.700 ********** 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:25:09 +0000 (0:00:00.012) 0:02:20.712 ********** 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-9e3f5775-7364-4feb-8f09-05afe41d571f", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/luks-9e3f5775-7364-4feb-8f09-05afe41d571f", "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-9e3f5775-7364-4feb-8f09-05afe41d571f", "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": [ "cryptsetup", "lvm2", "xfsprogs" ], "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:25:09 +0000 (0:00:00.017) 0:02:20.730 ********** 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:25:09 +0000 (0:00:00.015) 0:02:20.745 ********** 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:25:09 +0000 (0:00:00.014) 0:02:20.760 ********** 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:25:10 +0000 (0:00:00.200) 0:02:20.961 ********** 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:25:10 +0000 (0:00:00.463) 0:02:21.424 ********** 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:25:10 +0000 (0:00:00.212) 0:02:21.636 ********** 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:25:10 +0000 (0:00:00.018) 0:02:21.655 ********** 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:25:11 +0000 (0:00:00.461) 0:02:22.117 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717100686.6378863, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1717100685.358923, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 79692076, "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": 1717100685.356923, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "835927572", "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:25:11 +0000 (0:00:00.203) 0:02:22.320 ********** changed: [sut] => (item={'backing_device': '/dev/sda', 'name': 'luks-9e3f5775-7364-4feb-8f09-05afe41d571f', 'password': '-', 'state': 'present'}) => { "ansible_loop_var": "entry", "backup": "", "changed": true, "entry": { "backing_device": "/dev/sda", "name": "luks-9e3f5775-7364-4feb-8f09-05afe41d571f", "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:25:11 +0000 (0:00:00.200) 0:02:22.520 ********** 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:25:12 +0000 (0:00:00.606) 0:02:23.126 ********** 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:25:12 +0000 (0:00:00.022) 0:02:23.149 ********** 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:25:12 +0000 (0:00:00.018) 0:02:23.168 ********** 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:25:12 +0000 (0:00:00.012) 0:02:23.180 ********** 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": "f53091bc-7679-40fc-9b35-5a3e1447b80d" }, "/dev/mapper/luks-9e3f5775-7364-4feb-8f09-05afe41d571f": { "fstype": "LVM2_member", "label": "", "mountpoint": "", "name": "/dev/mapper/luks-9e3f5775-7364-4feb-8f09-05afe41d571f", "size": "10G", "type": "crypt", "uuid": "Adh1fu-zZgX-VYTn-PrsP-7jL4-Plwd-dO9szA" }, "/dev/sda": { "fstype": "crypto_LUKS", "label": "", "mountpoint": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "9e3f5775-7364-4feb-8f09-05afe41d571f" }, "/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:25:12 +0000 (0:00:00.190) 0:02:23.371 ********** ok: [sut] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002554", "end": "2024-05-30 20:25:12.723136", "rc": 0, "start": "2024-05-30 20:25:12.720582" } 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:25:12 +0000 (0:00:00.183) 0:02:23.555 ********** ok: [sut] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002373", "end": "2024-05-30 20:25:12.905831", "failed_when_result": false, "rc": 0, "start": "2024-05-30 20:25:12.903458" } STDOUT: luks-9e3f5775-7364-4feb-8f09-05afe41d571f /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:25:12 +0000 (0:00:00.183) 0:02:23.738 ********** 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:25:12 +0000 (0:00:00.031) 0:02:23.770 ********** 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:25:12 +0000 (0:00:00.014) 0:02:23.784 ********** ok: [sut] => { "changed": false, "cmd": [ "vgs", "--noheadings", "--binary", "-o", "shared", "foo" ], "delta": "0:00:00.030540", "end": "2024-05-30 20:25:13.167409", "rc": 0, "start": "2024-05-30 20:25:13.136869" } 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:25:13 +0000 (0:00:00.216) 0:02:24.000 ********** 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:25:13 +0000 (0:00:00.019) 0:02:24.019 ********** 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:25:13 +0000 (0:00:00.031) 0:02:24.051 ********** ok: [sut] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/mapper/luks-9e3f5775-7364-4feb-8f09-05afe41d571f" ] }, "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:25:13 +0000 (0:00:00.018) 0:02:24.069 ********** ok: [sut] => (item=/dev/mapper/luks-9e3f5775-7364-4feb-8f09-05afe41d571f) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/mapper/luks-9e3f5775-7364-4feb-8f09-05afe41d571f", "pv": "/dev/mapper/luks-9e3f5775-7364-4feb-8f09-05afe41d571f" } 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:25:13 +0000 (0:00:00.184) 0:02:24.253 ********** 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:25:13 +0000 (0:00:00.015) 0:02:24.268 ********** ok: [sut] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/mapper/luks-9e3f5775-7364-4feb-8f09-05afe41d571f" ] }, "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:25:13 +0000 (0:00:00.016) 0:02:24.284 ********** 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:25:13 +0000 (0:00:00.015) 0:02:24.300 ********** 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:25:13 +0000 (0:00:00.014) 0:02:24.315 ********** 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:25:13 +0000 (0:00:00.012) 0:02:24.327 ********** 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:25:13 +0000 (0:00:00.013) 0:02:24.341 ********** ok: [sut] => (item=/dev/mapper/luks-9e3f5775-7364-4feb-8f09-05afe41d571f) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/mapper/luks-9e3f5775-7364-4feb-8f09-05afe41d571f" } 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:25:13 +0000 (0:00:00.059) 0:02:24.400 ********** 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:25:13 +0000 (0:00:00.024) 0:02:24.425 ********** 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:25:13 +0000 (0:00:00.015) 0:02:24.440 ********** 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:25:13 +0000 (0:00:00.015) 0:02:24.456 ********** 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:25:13 +0000 (0:00:00.013) 0:02:24.470 ********** 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:25:13 +0000 (0:00:00.014) 0:02:24.485 ********** 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:25:13 +0000 (0:00:00.013) 0:02:24.499 ********** 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:25:13 +0000 (0:00:00.013) 0:02:24.512 ********** 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:25:13 +0000 (0:00:00.012) 0:02:24.525 ********** 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:25:13 +0000 (0:00:00.015) 0:02:24.541 ********** 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:25:13 +0000 (0:00:00.013) 0:02:24.554 ********** 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:25:13 +0000 (0:00:00.012) 0:02:24.567 ********** 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:25:13 +0000 (0:00:00.011) 0:02:24.578 ********** 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:25:13 +0000 (0:00:00.030) 0:02:24.609 ********** 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:25:13 +0000 (0:00:00.030) 0:02:24.640 ********** 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:25:13 +0000 (0:00:00.023) 0:02:24.663 ********** 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:25:13 +0000 (0:00:00.016) 0:02:24.679 ********** 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:25:13 +0000 (0:00:00.020) 0:02:24.700 ********** 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:25:13 +0000 (0:00:00.032) 0:02:24.733 ********** 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:25:13 +0000 (0:00:00.016) 0:02:24.749 ********** 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:25:13 +0000 (0:00:00.031) 0:02:24.781 ********** 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:25:13 +0000 (0:00:00.014) 0:02:24.795 ********** 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:25:14 +0000 (0:00:00.028) 0:02:24.823 ********** 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:25:14 +0000 (0:00:00.036) 0:02:24.860 ********** 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:25:14 +0000 (0:00:00.016) 0:02:24.876 ********** 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:25:14 +0000 (0:00:00.023) 0:02:24.899 ********** 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:25:14 +0000 (0:00:00.017) 0:02:24.916 ********** 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:25:14 +0000 (0:00:00.015) 0:02:24.932 ********** 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:25:14 +0000 (0:00:00.033) 0:02:24.965 ********** 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:25:14 +0000 (0:00:00.018) 0:02:24.984 ********** 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:25:14 +0000 (0:00:00.027) 0:02:25.011 ********** ok: [sut] => { "changed": false, "cmd": [ "realpath", "/dev/disk/by-uuid/9e3f5775-7364-4feb-8f09-05afe41d571f" ], "delta": "0:00:00.002474", "end": "2024-05-30 20:25:14.370642", "rc": 0, "start": "2024-05-30 20:25:14.368168" } 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:25:14 +0000 (0:00:00.192) 0:02:25.204 ********** 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:25:17 +0000 (0:00:02.641) 0:02:27.845 ********** ok: [sut] => { "changed": false, "cmd": [ "cryptsetup", "luksDump", "/dev/sda" ], "delta": "0:00:00.009640", "end": "2024-05-30 20:25:17.208728", "rc": 0, "start": "2024-05-30 20:25:17.199088" } 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: 2c 83 84 3b a8 55 d8 9e 07 b0 f6 bc a0 93 d4 d0 fe 6f c0 3f MK salt: 79 30 20 f3 09 fa c9 8c 40 8e 77 a6 3d c1 9f 7e ca e7 38 c0 2e 31 4c 86 79 db 5e 1e 53 8a 70 bf MK iterations: 107260 UUID: 9e3f5775-7364-4feb-8f09-05afe41d571f Key Slot 0: ENABLED Iterations: 1716162 Salt: 2a 58 50 e6 4b 63 5d 12 29 a9 68 9a 77 c8 dd 5f 49 72 b5 77 29 dc f9 8d 41 0e 97 de 1f 3a 3a 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:25:17 +0000 (0:00:00.197) 0:02:28.042 ********** 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:25:17 +0000 (0:00:00.032) 0:02:28.074 ********** 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:25:17 +0000 (0:00:00.022) 0:02:28.097 ********** 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:25:17 +0000 (0:00:00.021) 0:02:28.118 ********** 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:25:17 +0000 (0:00:00.029) 0:02:28.147 ********** ok: [sut] => { "ansible_facts": { "_storage_test_crypttab_entries": [ "luks-9e3f5775-7364-4feb-8f09-05afe41d571f /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:25:17 +0000 (0:00:00.020) 0:02:28.168 ********** 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:25:17 +0000 (0:00:00.018) 0:02:28.186 ********** 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:25:17 +0000 (0:00:00.022) 0:02:28.208 ********** 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:25:17 +0000 (0:00:00.014) 0:02:28.223 ********** 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:25:17 +0000 (0:00:00.018) 0:02:28.241 ********** 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:25:17 +0000 (0:00:00.013) 0:02:28.255 ********** 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:25:17 +0000 (0:00:00.013) 0:02:28.269 ********** 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:25:17 +0000 (0:00:00.030) 0:02:28.300 ********** 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:25:17 +0000 (0:00:00.028) 0:02:28.328 ********** 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:25:17 +0000 (0:00:00.017) 0:02:28.345 ********** 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:25:17 +0000 (0:00:00.015) 0:02:28.361 ********** 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:25:17 +0000 (0:00:00.017) 0:02:28.379 ********** 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:25:17 +0000 (0:00:00.015) 0:02:28.395 ********** 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:25:17 +0000 (0:00:00.013) 0:02:28.408 ********** 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:25:17 +0000 (0:00:00.013) 0:02:28.421 ********** 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:25:17 +0000 (0:00:00.012) 0:02:28.434 ********** 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:25:17 +0000 (0:00:00.031) 0:02:28.466 ********** 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:25:17 +0000 (0:00:00.013) 0:02:28.479 ********** 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:25:17 +0000 (0:00:00.013) 0:02:28.492 ********** 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:25:17 +0000 (0:00:00.014) 0:02:28.507 ********** 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:25:17 +0000 (0:00:00.016) 0:02:28.523 ********** 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:25:17 +0000 (0:00:00.013) 0:02:28.536 ********** 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:25:17 +0000 (0:00:00.013) 0:02:28.550 ********** 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:25:17 +0000 (0:00:00.013) 0:02:28.563 ********** 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:25:17 +0000 (0:00:00.025) 0:02:28.589 ********** 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:25:17 +0000 (0:00:00.019) 0:02:28.608 ********** 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:25:17 +0000 (0:00:00.092) 0:02:28.701 ********** 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:25:17 +0000 (0:00:00.015) 0:02:28.717 ********** 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:25:17 +0000 (0:00:00.016) 0:02:28.733 ********** 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:25:17 +0000 (0:00:00.014) 0:02:28.747 ********** 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:25:17 +0000 (0:00:00.016) 0:02:28.763 ********** 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:25:17 +0000 (0:00:00.012) 0:02:28.776 ********** 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:25:17 +0000 (0:00:00.012) 0:02:28.789 ********** 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:25:17 +0000 (0:00:00.013) 0:02:28.802 ********** 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:25:18 +0000 (0:00:00.012) 0:02:28.815 ********** 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:25:18 +0000 (0:00:00.014) 0:02:28.830 ********** 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:25:18 +0000 (0:00:00.012) 0:02:28.843 ********** 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:25:18 +0000 (0:00:00.013) 0:02:28.856 ********** 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:25:18 +0000 (0:00:00.026) 0:02:28.883 ********** 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:25:18 +0000 (0:00:00.016) 0:02:28.899 ********** 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:25:18 +0000 (0:00:00.016) 0:02:28.916 ********** 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:25:18 +0000 (0:00:00.014) 0:02:28.931 ********** 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:25:18 +0000 (0:00:00.013) 0:02:28.944 ********** 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:25:18 +0000 (0:00:00.020) 0:02:28.964 ********** 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:25:18 +0000 (0:00:00.021) 0:02:28.985 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717100709.7722223, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1717100709.7722223, "dev": 6, "device_type": 64769, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 86685, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1717100709.7722223, "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:25:18 +0000 (0:00:00.190) 0:02:29.175 ********** 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:25:18 +0000 (0:00:00.018) 0:02:29.193 ********** 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:25:18 +0000 (0:00:00.013) 0:02:29.207 ********** 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:25:18 +0000 (0:00:00.016) 0:02:29.224 ********** 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:25:18 +0000 (0:00:00.014) 0:02:29.238 ********** 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:25:18 +0000 (0:00:00.014) 0:02:29.252 ********** 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:25:18 +0000 (0:00:00.015) 0:02:29.268 ********** 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:25:18 +0000 (0:00:00.013) 0:02:29.281 ********** 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:25:20 +0000 (0:00:02.474) 0:02:31.755 ********** 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:25:20 +0000 (0:00:00.014) 0:02:31.770 ********** 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:25:20 +0000 (0:00:00.014) 0:02:31.784 ********** 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:25:20 +0000 (0:00:00.019) 0:02:31.804 ********** 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:25:21 +0000 (0:00:00.012) 0:02:31.817 ********** 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:25:21 +0000 (0:00:00.016) 0:02:31.834 ********** 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:25:21 +0000 (0:00:00.014) 0:02:31.848 ********** 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:25:21 +0000 (0:00:00.015) 0:02:31.863 ********** 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:25:21 +0000 (0:00:00.014) 0:02:31.878 ********** 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:25:21 +0000 (0:00:00.018) 0:02:31.896 ********** 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:25:21 +0000 (0:00:00.016) 0:02:31.913 ********** 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:25:21 +0000 (0:00:00.014) 0:02:31.927 ********** 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:25:21 +0000 (0:00:00.013) 0:02:31.941 ********** 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:25:21 +0000 (0:00:00.013) 0:02:31.954 ********** 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:25:21 +0000 (0:00:00.013) 0:02:31.967 ********** 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:25:21 +0000 (0:00:00.014) 0:02:31.982 ********** 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:25:21 +0000 (0:00:00.016) 0:02:31.998 ********** 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:25:21 +0000 (0:00:00.014) 0:02:32.013 ********** 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:25:21 +0000 (0:00:00.014) 0:02:32.027 ********** 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:25:21 +0000 (0:00:00.013) 0:02:32.040 ********** 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:25:21 +0000 (0:00:00.015) 0:02:32.056 ********** 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:25:21 +0000 (0:00:00.013) 0:02:32.070 ********** 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:25:21 +0000 (0:00:00.012) 0:02:32.083 ********** 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:25:21 +0000 (0:00:00.015) 0:02:32.098 ********** 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:25:21 +0000 (0:00:00.038) 0:02:32.137 ********** 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:25:21 +0000 (0:00:00.190) 0:02:32.327 ********** 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:25:21 +0000 (0:00:00.194) 0:02:32.521 ********** 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:25:21 +0000 (0:00:00.022) 0:02:32.544 ********** 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:25:21 +0000 (0:00:00.022) 0:02:32.566 ********** 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:25:21 +0000 (0:00:00.194) 0:02:32.761 ********** 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:25:21 +0000 (0:00:00.015) 0:02:32.777 ********** 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:25:21 +0000 (0:00:00.022) 0:02:32.800 ********** 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:25:22 +0000 (0:00:00.018) 0:02:32.818 ********** 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:25:22 +0000 (0:00:00.026) 0:02:32.844 ********** 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:25:22 +0000 (0:00:00.014) 0:02:32.858 ********** 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:25:22 +0000 (0:00:00.018) 0:02:32.877 ********** 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:25:22 +0000 (0:00:00.017) 0:02:32.894 ********** 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:25:22 +0000 (0:00:00.018) 0:02:32.913 ********** 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:25:22 +0000 (0:00:00.015) 0:02:32.928 ********** 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:25:22 +0000 (0:00:00.015) 0:02:32.944 ********** 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:25:22 +0000 (0:00:00.026) 0:02:32.970 ********** 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:25:22 +0000 (0:00:00.036) 0:02:33.006 ********** 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:25:22 +0000 (0:00:00.020) 0:02:33.027 ********** 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:25:22 +0000 (0:00:00.029) 0:02:33.057 ********** 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:25:22 +0000 (0:00:00.023) 0:02:33.080 ********** 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:25:22 +0000 (0:00:00.024) 0:02:33.105 ********** 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:25:22 +0000 (0:00:00.013) 0:02:33.118 ********** 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:25:22 +0000 (0:00:00.014) 0:02:33.133 ********** 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:25:22 +0000 (0:00:00.013) 0:02:33.147 ********** 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:25:22 +0000 (0:00:00.015) 0:02:33.162 ********** 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:25:22 +0000 (0:00:00.014) 0:02:33.176 ********** 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:25:22 +0000 (0:00:00.025) 0:02:33.202 ********** 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.031329", "end": "2024-05-30 20:25:22.596224", "rc": 0, "start": "2024-05-30 20:25:22.564895" } 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:25:22 +0000 (0:00:00.227) 0:02:33.430 ********** 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:25:22 +0000 (0:00:00.017) 0:02:33.447 ********** 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:25:22 +0000 (0:00:00.017) 0:02:33.464 ********** 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:25:22 +0000 (0:00:00.013) 0:02:33.478 ********** 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:25:22 +0000 (0:00:00.013) 0:02:33.492 ********** 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:25:22 +0000 (0:00:00.013) 0:02:33.506 ********** 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:25:22 +0000 (0:00:00.013) 0:02:33.520 ********** 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:25:22 +0000 (0:00:00.013) 0:02:33.533 ********** 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:25:22 +0000 (0:00:00.011) 0:02:33.544 ********** 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:25:22 +0000 (0:00:00.011) 0:02:33.556 ********** 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:25:22 +0000 (0:00:00.191) 0:02:33.748 ********** 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:25:22 +0000 (0:00:00.031) 0:02:33.780 ********** 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:25:22 +0000 (0:00:00.019) 0:02:33.799 ********** 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:25:23 +0000 (0:00:00.014) 0:02:33.814 ********** 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:25:23 +0000 (0:00:00.032) 0:02:33.846 ********** 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:25:23 +0000 (0:00:00.012) 0:02:33.859 ********** 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:25:23 +0000 (0:00:00.013) 0:02:33.873 ********** 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:25:23 +0000 (0:00:00.035) 0:02:33.909 ********** 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:25:23 +0000 (0:00:00.013) 0:02:33.922 ********** 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:25:23 +0000 (0:00:00.024) 0:02:33.947 ********** 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:25:23 +0000 (0:00:00.013) 0:02:33.960 ********** 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:25:23 +0000 (0:00:00.015) 0:02:33.976 ********** 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:25:23 +0000 (0:00:00.018) 0:02:33.994 ********** 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:25:23 +0000 (0:00:00.013) 0:02:34.008 ********** 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:25:23 +0000 (0:00:00.014) 0:02:34.022 ********** 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:25:23 +0000 (0:00:00.014) 0:02:34.036 ********** 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:25:23 +0000 (0:00:00.014) 0:02:34.051 ********** 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:25:23 +0000 (0:00:00.020) 0:02:34.071 ********** 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:25:23 +0000 (0:00:00.018) 0:02:34.090 ********** 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:25:27 +0000 (0:00:04.371) 0:02:38.461 ********** 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:25:27 +0000 (0:00:00.014) 0:02:38.475 ********** 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:25:27 +0000 (0:00:00.012) 0:02:38.488 ********** 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:25:27 +0000 (0:00:00.015) 0:02:38.503 ********** 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:25:27 +0000 (0:00:00.018) 0:02:38.522 ********** 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:25:27 +0000 (0:00:00.017) 0:02:38.539 ********** 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:25:27 +0000 (0:00:00.221) 0:02:38.760 ********** 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:25:28 +0000 (0:00:00.458) 0:02:39.218 ********** 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:25:28 +0000 (0:00:00.211) 0:02:39.430 ********** 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:25:28 +0000 (0:00:00.018) 0:02:39.449 ********** 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:25:29 +0000 (0:00:00.453) 0:02:39.902 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717100712.9041324, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "462037e4c71b8cbfc5ba272c2441f901226c142e", "ctime": 1717100711.6811676, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 130023690, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1717100711.6801677, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 53, "uid": 0, "version": "635441634", "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:25:29 +0000 (0:00:00.192) 0:02:40.095 ********** 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:25:29 +0000 (0:00:00.012) 0:02:40.108 ********** 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:25:29 +0000 (0:00:00.583) 0:02:40.691 ********** 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:25:29 +0000 (0:00:00.015) 0:02:40.707 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717100722.9148452, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1717100722.9148452, "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": 1717100722.9148452, "nlink": 1, "path": "/opt/test2/quux", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "version": "2374637991", "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:25:30 +0000 (0:00:00.208) 0:02:40.915 ********** 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:25:30 +0000 (0:00:00.015) 0:02:40.931 ********** 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:25:30 +0000 (0:00:00.023) 0:02:40.954 ********** 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:25:30 +0000 (0:00:00.016) 0:02:40.971 ********** 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:25:30 +0000 (0:00:00.012) 0:02:40.983 ********** 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": "f53091bc-7679-40fc-9b35-5a3e1447b80d" }, "/dev/mapper/luks-9e3f5775-7364-4feb-8f09-05afe41d571f": { "fstype": "LVM2_member", "label": "", "mountpoint": "", "name": "/dev/mapper/luks-9e3f5775-7364-4feb-8f09-05afe41d571f", "size": "10G", "type": "crypt", "uuid": "Adh1fu-zZgX-VYTn-PrsP-7jL4-Plwd-dO9szA" }, "/dev/sda": { "fstype": "crypto_LUKS", "label": "", "mountpoint": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "9e3f5775-7364-4feb-8f09-05afe41d571f" }, "/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:25:30 +0000 (0:00:00.188) 0:02:41.171 ********** ok: [sut] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002386", "end": "2024-05-30 20:25:30.522356", "rc": 0, "start": "2024-05-30 20:25:30.519970" } 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:25:30 +0000 (0:00:00.182) 0:02:41.354 ********** ok: [sut] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002330", "end": "2024-05-30 20:25:30.705094", "failed_when_result": false, "rc": 0, "start": "2024-05-30 20:25:30.702764" } STDOUT: luks-9e3f5775-7364-4feb-8f09-05afe41d571f /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:25:30 +0000 (0:00:00.183) 0:02:41.538 ********** 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:25:30 +0000 (0:00:00.025) 0:02:41.563 ********** 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:25:30 +0000 (0:00:00.012) 0:02:41.576 ********** ok: [sut] => { "changed": false, "cmd": [ "vgs", "--noheadings", "--binary", "-o", "shared", "foo" ], "delta": "0:00:00.028803", "end": "2024-05-30 20:25:30.956194", "rc": 0, "start": "2024-05-30 20:25:30.927391" } 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:25:30 +0000 (0:00:00.212) 0:02:41.788 ********** 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:25:30 +0000 (0:00:00.018) 0:02:41.807 ********** 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:25:31 +0000 (0:00:00.027) 0:02:41.835 ********** ok: [sut] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/mapper/luks-9e3f5775-7364-4feb-8f09-05afe41d571f" ] }, "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:25:31 +0000 (0:00:00.018) 0:02:41.854 ********** ok: [sut] => (item=/dev/mapper/luks-9e3f5775-7364-4feb-8f09-05afe41d571f) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/mapper/luks-9e3f5775-7364-4feb-8f09-05afe41d571f", "pv": "/dev/mapper/luks-9e3f5775-7364-4feb-8f09-05afe41d571f" } 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:25:31 +0000 (0:00:00.184) 0:02:42.038 ********** 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:25:31 +0000 (0:00:00.015) 0:02:42.054 ********** ok: [sut] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/mapper/luks-9e3f5775-7364-4feb-8f09-05afe41d571f" ] }, "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:25:31 +0000 (0:00:00.016) 0:02:42.070 ********** 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:25:31 +0000 (0:00:00.016) 0:02:42.086 ********** 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:25:31 +0000 (0:00:00.014) 0:02:42.101 ********** 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:25:31 +0000 (0:00:00.012) 0:02:42.114 ********** 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:25:31 +0000 (0:00:00.014) 0:02:42.128 ********** ok: [sut] => (item=/dev/mapper/luks-9e3f5775-7364-4feb-8f09-05afe41d571f) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/mapper/luks-9e3f5775-7364-4feb-8f09-05afe41d571f" } 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:25:31 +0000 (0:00:00.019) 0:02:42.148 ********** 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:25:31 +0000 (0:00:00.022) 0:02:42.170 ********** 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:25:31 +0000 (0:00:00.013) 0:02:42.183 ********** 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:25:31 +0000 (0:00:00.013) 0:02:42.197 ********** 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:25:31 +0000 (0:00:00.012) 0:02:42.210 ********** 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:25:31 +0000 (0:00:00.012) 0:02:42.223 ********** 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:25:31 +0000 (0:00:00.013) 0:02:42.236 ********** 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:25:31 +0000 (0:00:00.012) 0:02: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/verify-pool-md.yml:64 Thursday 30 May 2024 20:25:31 +0000 (0:00:00.012) 0:02:42.261 ********** 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:25:31 +0000 (0:00:00.014) 0:02: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/verify-pool-md.yml:85 Thursday 30 May 2024 20:25:31 +0000 (0:00:00.012) 0:02:42.288 ********** 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:25:31 +0000 (0:00:00.012) 0:02:42.301 ********** 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:25:31 +0000 (0:00:00.011) 0:02:42.312 ********** 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:25:31 +0000 (0:00:00.024) 0:02:42.337 ********** 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:25:31 +0000 (0:00:00.027) 0:02:42.365 ********** 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:25:31 +0000 (0:00:00.012) 0:02:42.377 ********** 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:25:31 +0000 (0:00:00.012) 0:02:42.390 ********** 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:25:31 +0000 (0:00:00.012) 0:02:42.403 ********** 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:25:31 +0000 (0:00:00.013) 0:02:42.416 ********** 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:25:31 +0000 (0:00:00.034) 0:02:42.451 ********** 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:25:31 +0000 (0:00:00.013) 0:02:42.465 ********** 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:25:31 +0000 (0:00:00.012) 0:02:42.477 ********** 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:25:31 +0000 (0:00:00.024) 0:02:42.502 ********** 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:25:31 +0000 (0:00:00.027) 0:02:42.529 ********** 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:25:31 +0000 (0:00:00.012) 0:02:42.542 ********** 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:25:31 +0000 (0:00:00.012) 0:02:42.554 ********** 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:25:31 +0000 (0:00:00.012) 0:02:42.567 ********** 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:25:31 +0000 (0:00:00.012) 0:02:42.579 ********** 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:25:31 +0000 (0:00:00.025) 0:02:42.605 ********** 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:25:31 +0000 (0:00:00.015) 0:02:42.620 ********** 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:25:31 +0000 (0:00:00.024) 0:02:42.645 ********** ok: [sut] => { "changed": false, "cmd": [ "realpath", "/dev/disk/by-uuid/9e3f5775-7364-4feb-8f09-05afe41d571f" ], "delta": "0:00:00.002494", "end": "2024-05-30 20:25:32.000958", "rc": 0, "start": "2024-05-30 20:25:31.998464" } 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:25:32 +0000 (0:00:00.188) 0:02:42.833 ********** 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:25:34 +0000 (0:00:02.482) 0:02:45.315 ********** ok: [sut] => { "changed": false, "cmd": [ "cryptsetup", "luksDump", "/dev/sda" ], "delta": "0:00:00.009572", "end": "2024-05-30 20:25:34.677294", "rc": 0, "start": "2024-05-30 20:25:34.667722" } 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: 2c 83 84 3b a8 55 d8 9e 07 b0 f6 bc a0 93 d4 d0 fe 6f c0 3f MK salt: 79 30 20 f3 09 fa c9 8c 40 8e 77 a6 3d c1 9f 7e ca e7 38 c0 2e 31 4c 86 79 db 5e 1e 53 8a 70 bf MK iterations: 107260 UUID: 9e3f5775-7364-4feb-8f09-05afe41d571f Key Slot 0: ENABLED Iterations: 1716162 Salt: 2a 58 50 e6 4b 63 5d 12 29 a9 68 9a 77 c8 dd 5f 49 72 b5 77 29 dc f9 8d 41 0e 97 de 1f 3a 3a 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:25:34 +0000 (0:00:00.194) 0:02:45.510 ********** 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:25:34 +0000 (0:00:00.019) 0:02:45.529 ********** 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:25:34 +0000 (0:00:00.014) 0:02:45.543 ********** 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:25:34 +0000 (0:00:00.013) 0:02:45.557 ********** 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:25:34 +0000 (0:00:00.025) 0:02:45.583 ********** ok: [sut] => { "ansible_facts": { "_storage_test_crypttab_entries": [ "luks-9e3f5775-7364-4feb-8f09-05afe41d571f /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:25:34 +0000 (0:00:00.015) 0:02:45.598 ********** 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:25:34 +0000 (0:00:00.015) 0:02:45.613 ********** 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:25:34 +0000 (0:00:00.017) 0:02:45.630 ********** 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:25:34 +0000 (0:00:00.016) 0:02:45.647 ********** 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:25:34 +0000 (0:00:00.019) 0:02:45.666 ********** 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:25:34 +0000 (0:00:00.013) 0:02:45.679 ********** 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:25:34 +0000 (0:00:00.012) 0:02:45.692 ********** 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:25:34 +0000 (0:00:00.028) 0:02:45.721 ********** 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:25:34 +0000 (0:00:00.026) 0:02:45.747 ********** 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:25:34 +0000 (0:00:00.014) 0:02:45.761 ********** 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:25:34 +0000 (0:00:00.013) 0:02:45.775 ********** 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:25:34 +0000 (0:00:00.012) 0:02:45.788 ********** 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:25:34 +0000 (0:00:00.014) 0:02:45.802 ********** 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:25:35 +0000 (0:00:00.015) 0:02:45.817 ********** 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:25:35 +0000 (0:00:00.013) 0:02:45.831 ********** 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:25:35 +0000 (0:00:00.011) 0:02:45.842 ********** 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:25:35 +0000 (0:00:00.056) 0:02:45.899 ********** 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:25:35 +0000 (0:00:00.013) 0:02:45.912 ********** 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:25:35 +0000 (0:00:00.011) 0:02:45.924 ********** 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:25:35 +0000 (0:00:00.012) 0:02:45.937 ********** 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:25:35 +0000 (0:00:00.012) 0:02:45.949 ********** 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:25:35 +0000 (0:00:00.011) 0:02:45.961 ********** 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:25:35 +0000 (0:00:00.013) 0:02:45.975 ********** 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:25:35 +0000 (0:00:00.011) 0:02:45.987 ********** 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:25:35 +0000 (0:00:00.023) 0:02:46.010 ********** 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:25:35 +0000 (0:00:00.016) 0:02:46.026 ********** 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:25:35 +0000 (0:00:00.061) 0:02:46.088 ********** 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:25:35 +0000 (0:00:00.016) 0:02:46.105 ********** 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:25:35 +0000 (0:00:00.016) 0:02:46.121 ********** 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:25:35 +0000 (0:00:00.014) 0:02:46.136 ********** 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:25:35 +0000 (0:00:00.015) 0:02:46.151 ********** 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:25:35 +0000 (0:00:00.014) 0:02:46.165 ********** 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:25:35 +0000 (0:00:00.012) 0:02:46.178 ********** 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:25:35 +0000 (0:00:00.013) 0:02:46.191 ********** 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:25:35 +0000 (0:00:00.013) 0:02:46.204 ********** 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:25:35 +0000 (0:00:00.013) 0:02:46.218 ********** 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:25:35 +0000 (0:00:00.019) 0:02:46.238 ********** 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:25:35 +0000 (0:00:00.019) 0:02:46.257 ********** 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:25:35 +0000 (0:00:00.027) 0:02:46.285 ********** 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:25:35 +0000 (0:00:00.017) 0:02:46.303 ********** 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:25:35 +0000 (0:00:00.017) 0:02:46.320 ********** 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:25:35 +0000 (0:00:00.022) 0:02:46.343 ********** 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:25:35 +0000 (0:00:00.014) 0:02:46.357 ********** 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:25:35 +0000 (0:00:00.032) 0:02:46.390 ********** 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:25:35 +0000 (0:00:00.022) 0:02:46.412 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717100709.7722223, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1717100709.7722223, "dev": 6, "device_type": 64769, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 86685, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1717100709.7722223, "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:25:35 +0000 (0:00:00.200) 0:02:46.612 ********** 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:25:35 +0000 (0:00:00.021) 0:02:46.634 ********** 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:25:35 +0000 (0:00:00.014) 0:02:46.648 ********** 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:25:35 +0000 (0:00:00.016) 0:02:46.664 ********** 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:25:35 +0000 (0:00:00.015) 0:02:46.680 ********** 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:25:35 +0000 (0:00:00.028) 0:02:46.708 ********** 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:25:35 +0000 (0:00:00.015) 0:02:46.723 ********** 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:25:35 +0000 (0:00:00.016) 0:02:46.740 ********** 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:25:38 +0000 (0:00:02.482) 0:02:49.222 ********** 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:25:38 +0000 (0:00:00.018) 0:02:49.240 ********** 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:25:38 +0000 (0:00:00.019) 0:02:49.259 ********** 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:25:38 +0000 (0:00:00.022) 0:02:49.282 ********** 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:25:38 +0000 (0:00:00.019) 0:02:49.302 ********** 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:25:38 +0000 (0:00:00.013) 0:02:49.315 ********** 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:25:38 +0000 (0:00:00.013) 0:02:49.329 ********** 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:25:38 +0000 (0:00:00.014) 0:02:49.343 ********** 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:25:38 +0000 (0:00:00.044) 0:02:49.388 ********** 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:25:38 +0000 (0:00:00.018) 0:02:49.406 ********** 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:25:38 +0000 (0:00:00.016) 0:02:49.423 ********** 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:25:38 +0000 (0:00:00.013) 0:02:49.436 ********** 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:25:38 +0000 (0:00:00.012) 0:02:49.449 ********** 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:25:38 +0000 (0:00:00.013) 0:02:49.462 ********** 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:25:38 +0000 (0:00:00.014) 0:02:49.477 ********** 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:25:38 +0000 (0:00:00.012) 0:02:49.490 ********** 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:25:38 +0000 (0:00:00.022) 0:02:49.512 ********** 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:25:38 +0000 (0:00:00.013) 0:02:49.525 ********** 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:25:38 +0000 (0:00:00.013) 0:02:49.538 ********** 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:25:38 +0000 (0:00:00.013) 0:02:49.551 ********** 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:25:38 +0000 (0:00:00.014) 0:02:49.566 ********** 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:25:38 +0000 (0:00:00.013) 0:02:49.579 ********** 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:25:38 +0000 (0:00:00.012) 0:02:49.592 ********** 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:25:38 +0000 (0:00:00.012) 0:02:49.605 ********** 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:25:38 +0000 (0:00:00.013) 0:02:49.618 ********** 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:25:38 +0000 (0:00:00.185) 0:02:49.803 ********** 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:25:39 +0000 (0:00:00.194) 0:02:49.998 ********** 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:25:39 +0000 (0:00:00.019) 0:02:50.017 ********** 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:25:39 +0000 (0:00:00.014) 0:02:50.032 ********** 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:25:39 +0000 (0:00:00.200) 0:02:50.233 ********** 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:25:39 +0000 (0:00:00.020) 0:02:50.253 ********** 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:25:39 +0000 (0:00:00.017) 0:02:50.271 ********** 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:25:39 +0000 (0:00:00.016) 0:02:50.287 ********** 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:25:39 +0000 (0:00:00.015) 0:02:50.302 ********** 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:25:39 +0000 (0:00:00.013) 0:02:50.316 ********** 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:25:39 +0000 (0:00:00.013) 0:02:50.329 ********** 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:25:39 +0000 (0:00:00.016) 0:02:50.345 ********** 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:25:39 +0000 (0:00:00.012) 0:02:50.358 ********** 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:25:39 +0000 (0:00:00.012) 0:02:50.371 ********** 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:25:39 +0000 (0:00:00.012) 0:02:50.384 ********** 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:25:39 +0000 (0:00:00.011) 0:02:50.395 ********** 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:25:39 +0000 (0:00:00.013) 0:02:50.408 ********** 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:25:39 +0000 (0:00:00.013) 0:02:50.422 ********** 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:25:39 +0000 (0:00:00.012) 0:02:50.435 ********** 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:25:39 +0000 (0:00:00.012) 0:02:50.448 ********** 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:25:39 +0000 (0:00:00.012) 0:02:50.461 ********** 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:25:39 +0000 (0:00:00.012) 0:02:50.473 ********** 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:25:39 +0000 (0:00:00.011) 0:02:50.485 ********** 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:25:39 +0000 (0:00:00.012) 0:02:50.498 ********** 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:25:39 +0000 (0:00:00.013) 0:02:50.512 ********** 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:25:39 +0000 (0:00:00.012) 0:02:50.525 ********** 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:25:39 +0000 (0:00:00.017) 0:02:50.542 ********** 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.030858", "end": "2024-05-30 20:25:39.924207", "rc": 0, "start": "2024-05-30 20:25:39.893349" } 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:25:39 +0000 (0:00:00.215) 0:02:50.757 ********** 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:25:39 +0000 (0:00:00.018) 0:02:50.776 ********** 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:25:39 +0000 (0:00:00.017) 0:02:50.793 ********** 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:25:39 +0000 (0:00:00.014) 0:02:50.808 ********** 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:25:40 +0000 (0:00:00.013) 0:02:50.822 ********** 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:25:40 +0000 (0:00:00.015) 0:02:50.837 ********** 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:25:40 +0000 (0:00:00.016) 0:02:50.853 ********** 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:25:40 +0000 (0:00:00.012) 0:02:50.866 ********** 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:25:40 +0000 (0:00:00.011) 0:02:50.877 ********** 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:25:40 +0000 (0:00:00.011) 0:02:50.889 ********** 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:25:40 +0000 (0:00:00.036) 0:02:50.925 ********** 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:25:40 +0000 (0:00:00.043) 0:02:50.969 ********** 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:25:40 +0000 (0:00:00.015) 0:02:50.984 ********** 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:25:40 +0000 (0:00:00.032) 0:02:51.017 ********** 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:25:40 +0000 (0:00:00.012) 0:02:51.030 ********** 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:25:40 +0000 (0:00:00.012) 0:02:51.043 ********** 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:25:40 +0000 (0:00:00.011) 0:02:51.054 ********** 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:25:40 +0000 (0:00:00.014) 0:02:51.069 ********** 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:25:40 +0000 (0:00:00.026) 0:02:51.095 ********** 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:25:40 +0000 (0:00:00.013) 0:02:51.108 ********** 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:25:40 +0000 (0:00:00.019) 0:02:51.128 ********** 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:25:40 +0000 (0:00:00.018) 0:02:51.146 ********** 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:25:40 +0000 (0:00:00.013) 0:02:51.159 ********** 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:25:40 +0000 (0:00:00.018) 0:02:51.178 ********** 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:25:40 +0000 (0:00:00.016) 0:02:51.194 ********** 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:25:40 +0000 (0:00:00.013) 0:02:51.208 ********** 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:25:40 +0000 (0:00:00.022) 0:02:51.231 ********** 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:25:40 +0000 (0:00:00.011) 0:02:51.242 ********** 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-9e3f5775-7364-4feb-8f09-05afe41d571f", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/mapper/luks-9e3f5775-7364-4feb-8f09-05afe41d571f", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "luks" } ], "changed": true, "crypts": [ { "backing_device": "/dev/sda", "name": "luks-9e3f5775-7364-4feb-8f09-05afe41d571f", "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-9e3f5775-7364-4feb-8f09-05afe41d571f", "_mount_id": "/dev/mapper/luks-9e3f5775-7364-4feb-8f09-05afe41d571f", "_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:25:45 +0000 (0:00:04.987) 0:02:56.230 ********** 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:25:45 +0000 (0:00:00.014) 0:02:56.245 ********** 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:25:45 +0000 (0:00:00.013) 0:02:56.258 ********** 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-9e3f5775-7364-4feb-8f09-05afe41d571f", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/mapper/luks-9e3f5775-7364-4feb-8f09-05afe41d571f", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "luks" } ], "changed": true, "crypts": [ { "backing_device": "/dev/sda", "name": "luks-9e3f5775-7364-4feb-8f09-05afe41d571f", "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-9e3f5775-7364-4feb-8f09-05afe41d571f", "_mount_id": "/dev/mapper/luks-9e3f5775-7364-4feb-8f09-05afe41d571f", "_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:25:45 +0000 (0:00:00.016) 0:02:56.275 ********** 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:25:45 +0000 (0:00:00.014) 0:02:56.289 ********** ok: [sut] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/mapper/luks-9e3f5775-7364-4feb-8f09-05afe41d571f", "_mount_id": "/dev/mapper/luks-9e3f5775-7364-4feb-8f09-05afe41d571f", "_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:25:45 +0000 (0:00:00.014) 0:02:56.304 ********** 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:25:45 +0000 (0:00:00.200) 0:02:56.505 ********** 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:25:46 +0000 (0:00:00.451) 0:02:56.956 ********** 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:25:46 +0000 (0:00:00.013) 0:02:56.970 ********** 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:25:46 +0000 (0:00:00.020) 0:02:56.990 ********** 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:25:46 +0000 (0:00:00.449) 0:02:57.440 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717100712.9041324, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "462037e4c71b8cbfc5ba272c2441f901226c142e", "ctime": 1717100711.6811676, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 130023690, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1717100711.6801677, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 53, "uid": 0, "version": "635441634", "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:25:46 +0000 (0:00:00.191) 0:02:57.631 ********** changed: [sut] => (item={'backing_device': '/dev/sda', 'name': 'luks-9e3f5775-7364-4feb-8f09-05afe41d571f', 'password': '-', 'state': 'absent'}) => { "ansible_loop_var": "entry", "backup": "", "changed": true, "entry": { "backing_device": "/dev/sda", "name": "luks-9e3f5775-7364-4feb-8f09-05afe41d571f", "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:25:47 +0000 (0:00:00.194) 0:02:57.826 ********** 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:25:47 +0000 (0:00:00.625) 0:02:58.452 ********** 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:25:47 +0000 (0:00:00.048) 0:02:58.500 ********** 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:25:47 +0000 (0:00:00.012) 0:02:58.513 ********** ok: [sut] => { "_storage_volumes_list": [ { "_device": "/dev/mapper/luks-9e3f5775-7364-4feb-8f09-05afe41d571f", "_mount_id": "/dev/mapper/luks-9e3f5775-7364-4feb-8f09-05afe41d571f", "_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:25:47 +0000 (0:00:00.014) 0:02:58.528 ********** 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:25:47 +0000 (0:00:00.186) 0:02:58.714 ********** ok: [sut] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002380", "end": "2024-05-30 20:25:48.065121", "rc": 0, "start": "2024-05-30 20:25:48.062741" } 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:25:48 +0000 (0:00:00.182) 0:02:58.897 ********** ok: [sut] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002290", "end": "2024-05-30 20:25:48.247732", "failed_when_result": false, "rc": 0, "start": "2024-05-30 20:25:48.245442" } 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:25:48 +0000 (0:00:00.182) 0:02:59.079 ********** 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:25:48 +0000 (0:00:00.011) 0:02:59.091 ********** 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:25:48 +0000 (0:00:00.023) 0:02:59.115 ********** 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:25:48 +0000 (0:00:00.015) 0:02:59.131 ********** 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:25:48 +0000 (0:00:00.053) 0:02:59.184 ********** ok: [sut] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/luks-9e3f5775-7364-4feb-8f09-05afe41d571f" }, "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:25:48 +0000 (0:00:00.015) 0:02:59.199 ********** 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:25:48 +0000 (0:00:00.015) 0:02:59.215 ********** 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:25:48 +0000 (0:00:00.012) 0:02:59.228 ********** 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:25:48 +0000 (0:00:00.010) 0:02:59.238 ********** 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:25:48 +0000 (0:00:00.012) 0:02:59.250 ********** 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:25:48 +0000 (0:00:00.012) 0:02:59.263 ********** 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:25:48 +0000 (0:00:00.012) 0:02:59.276 ********** 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:25:48 +0000 (0:00:00.012) 0:02:59.288 ********** 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:25:48 +0000 (0:00:00.012) 0:02:59.301 ********** 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:25:48 +0000 (0:00:00.013) 0:02:59.314 ********** 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:25:48 +0000 (0:00:00.011) 0:02:59.326 ********** 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:25:48 +0000 (0:00:00.024) 0:02:59.351 ********** 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:25:48 +0000 (0:00:00.012) 0:02:59.363 ********** 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:25:48 +0000 (0:00:00.014) 0:02:59.378 ********** 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:25:48 +0000 (0:00:00.012) 0:02:59.390 ********** 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:25:48 +0000 (0:00:00.012) 0:02:59.402 ********** 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:25:48 +0000 (0:00:00.013) 0:02:59.416 ********** 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:25:48 +0000 (0:00:00.012) 0:02:59.429 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717100745.3452153, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1717100745.3452153, "dev": 6, "device_type": 2048, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 46694, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1717100745.3452153, "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:25:48 +0000 (0:00:00.188) 0:02:59.617 ********** 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:25:48 +0000 (0:00:00.016) 0:02:59.633 ********** 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:25:48 +0000 (0:00:00.012) 0:02:59.646 ********** 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:25:48 +0000 (0:00:00.010) 0:02:59.656 ********** 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:25:48 +0000 (0:00:00.013) 0:02:59.670 ********** 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:25:48 +0000 (0:00:00.012) 0:02:59.682 ********** 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:25:48 +0000 (0:00:00.010) 0:02:59.692 ********** 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:25:49 +0000 (0:00:00.182) 0:02:59.874 ********** 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:25:51 +0000 (0:00:02.477) 0:03:02.352 ********** 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:25:51 +0000 (0:00:00.013) 0:03:02.365 ********** 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:25:51 +0000 (0:00:00.016) 0:03:02.381 ********** 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:25:51 +0000 (0:00:00.010) 0:03:02.391 ********** 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:25:51 +0000 (0:00:00.013) 0:03:02.405 ********** 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:25:51 +0000 (0:00:00.012) 0:03:02.417 ********** 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:25:51 +0000 (0:00:00.009) 0:03:02.426 ********** 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:25:51 +0000 (0:00:00.008) 0:03:02.435 ********** 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:25:51 +0000 (0:00:00.008) 0:03:02.444 ********** 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:25:51 +0000 (0:00:00.016) 0:03:02.460 ********** 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:25:51 +0000 (0:00:00.016) 0:03:02.476 ********** 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:25:51 +0000 (0:00:00.012) 0:03:02.489 ********** 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:25:51 +0000 (0:00:00.012) 0:03:02.501 ********** 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:25:51 +0000 (0:00:00.012) 0:03:02.514 ********** 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:25:51 +0000 (0:00:00.011) 0:03:02.525 ********** 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:25:51 +0000 (0:00:00.012) 0:03:02.538 ********** 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:25:51 +0000 (0:00:00.013) 0:03:02.551 ********** 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:25:51 +0000 (0:00:00.012) 0:03:02.564 ********** 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:25:51 +0000 (0:00:00.012) 0:03:02.576 ********** 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:25:51 +0000 (0:00:00.012) 0:03:02.589 ********** 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:25:51 +0000 (0:00:00.012) 0:03:02.601 ********** 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:25:51 +0000 (0:00:00.012) 0:03:02.614 ********** 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:25:51 +0000 (0:00:00.013) 0:03:02.628 ********** 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:25:51 +0000 (0:00:00.012) 0:03:02.640 ********** 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:25:51 +0000 (0:00:00.012) 0:03:02.653 ********** 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:25:51 +0000 (0:00:00.012) 0:03:02.666 ********** 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:25:51 +0000 (0:00:00.012) 0:03:02.678 ********** 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:25:51 +0000 (0:00:00.011) 0:03:02.690 ********** 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:25:51 +0000 (0:00:00.014) 0:03:02.705 ********** 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:25:51 +0000 (0:00:00.012) 0:03:02.717 ********** 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:25:51 +0000 (0:00:00.012) 0:03:02.730 ********** 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:25:51 +0000 (0:00:00.012) 0:03:02.743 ********** 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:25:51 +0000 (0:00:00.012) 0:03:02.755 ********** 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:25:51 +0000 (0:00:00.012) 0:03:02.768 ********** 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:25:51 +0000 (0:00:00.013) 0:03:02.782 ********** 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:25:51 +0000 (0:00:00.012) 0:03:02.794 ********** 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:25:51 +0000 (0:00:00.012) 0:03:02.807 ********** 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:25:52 +0000 (0:00:00.012) 0:03:02.820 ********** 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:25:52 +0000 (0:00:00.012) 0:03:02.832 ********** 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:25:52 +0000 (0:00:00.012) 0:03:02.844 ********** 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:25:52 +0000 (0:00:00.012) 0:03:02.857 ********** 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:25:52 +0000 (0:00:00.012) 0:03:02.870 ********** 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:25:52 +0000 (0:00:00.012) 0:03:02.882 ********** 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:25:52 +0000 (0:00:00.011) 0:03:02.894 ********** 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:25:52 +0000 (0:00:00.011) 0:03:02.905 ********** 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:25:52 +0000 (0:00:00.011) 0:03:02.917 ********** 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:25:52 +0000 (0:00:00.012) 0:03:02.929 ********** 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:25:52 +0000 (0:00:00.011) 0:03:02.941 ********** 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:25:52 +0000 (0:00:00.011) 0:03:02.952 ********** 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:25:52 +0000 (0:00:00.013) 0:03:02.966 ********** 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:25:52 +0000 (0:00:00.012) 0:03:02.978 ********** 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:25:52 +0000 (0:00:00.012) 0:03:02.991 ********** 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:25:52 +0000 (0:00:00.013) 0:03:03.005 ********** 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:25:52 +0000 (0:00:00.012) 0:03:03.017 ********** 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:25:52 +0000 (0:00:00.012) 0:03:03.029 ********** 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:25:52 +0000 (0:00:00.012) 0:03:03.042 ********** 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:25:52 +0000 (0:00:00.016) 0:03:03.059 ********** 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:25:52 +0000 (0:00:00.012) 0:03:03.072 ********** 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:25:52 +0000 (0:00:00.014) 0:03:03.086 ********** 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:25:52 +0000 (0:00:00.037) 0:03:03.123 ********** 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=557 changed=20 unreachable=0 failed=3 skipped=551 rescued=3 ignored=0 Thursday 30 May 2024 20:25:52 +0000 (0:00:00.007) 0:03:03.131 ********** =============================================================================== linux-system-roles.storage : Make sure blivet is available ------------- 53.83s /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.96s /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.33s /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.70s /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.99s /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.38s /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.37s /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.37s /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.08s /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.02s /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:84 Ensure cryptsetup is present -------------------------------------------- 2.64s /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-encryption.yml:12 Ensure test packages ---------------------------------------------------- 2.54s /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 linux-system-roles.storage : Make sure required packages are installed --- 2.51s /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:41 linux-system-roles.storage : Make sure required packages are installed --- 2.48s /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:41 Ensure cryptsetup is present -------------------------------------------- 2.48s /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:10 Ensure cryptsetup is present -------------------------------------------- 2.48s /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:10 Ensure cryptsetup is present -------------------------------------------- 2.48s /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-encryption.yml:12 Ensure cryptsetup is present -------------------------------------------- 2.48s /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/verify-pool-member-encryption.yml:12 Ensure cryptsetup is present -------------------------------------------- 2.48s /WORKDIR/git-main_stratis-support-2_olzkgxl/tests/test-verify-volume-encryption.yml:10 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---