# 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-2zs40rrd2/tests/create-test-file.yml statically imported: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-data-preservation.yml statically imported: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/create-test-file.yml statically imported: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-data-preservation.yml statically imported: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/create-test-file.yml statically imported: /WORKDIR/git-main_stratis-support-2zs40rrd2/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-2zs40rrd2/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-2zs40rrd2/tests/tests_luks_pool_scsi_generated.yml:3 Friday 31 May 2024 15:08:03 +0000 (0:00:00.012) 0:00:00.012 ************ ok: [sut] META: ran handlers TASK [Set disk interface for test] ********************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/tests_luks_pool_scsi_generated.yml:8 Friday 31 May 2024 15:08:04 +0000 (0:00:00.807) 0:00:00.819 ************ 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-2zs40rrd2/tests/tests_luks_pool.yml:2 Friday 31 May 2024 15:08:04 +0000 (0:00:00.012) 0:00:00.831 ************ ok: [sut] META: ran handlers TASK [Enable FIPS mode] ******************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/tests_luks_pool.yml:24 Friday 31 May 2024 15:08:05 +0000 (0:00:00.513) 0:00:01.344 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Reboot] ****************************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/tests_luks_pool.yml:28 Friday 31 May 2024 15:08:05 +0000 (0:00:00.019) 0:00:01.364 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure dracut-fips] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/tests_luks_pool.yml:38 Friday 31 May 2024 15:08:05 +0000 (0:00:00.019) 0:00:01.383 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Configure boot for FIPS] ************************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/tests_luks_pool.yml:45 Friday 31 May 2024 15:08:05 +0000 (0:00:00.018) 0:00:01.402 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Reboot] ****************************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/tests_luks_pool.yml:54 Friday 31 May 2024 15:08:05 +0000 (0:00:00.018) 0:00:01.421 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role] ************************************************************ task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/tests_luks_pool.yml:58 Friday 31 May 2024 15:08:05 +0000 (0:00:00.019) 0:00:01.440 ************ TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Friday 31 May 2024 15:08:05 +0000 (0:00:00.014) 0:00:01.454 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Friday 31 May 2024 15:08:05 +0000 (0:00:00.022) 0:00:01.477 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Friday 31 May 2024 15:08:05 +0000 (0:00:00.018) 0:00:01.496 ************ 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-2zs40rrd2/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-2zs40rrd2/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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:26 Friday 31 May 2024 15:08:05 +0000 (0:00:00.035) 0:00:01.532 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:31 Friday 31 May 2024 15:08:05 +0000 (0:00:00.245) 0:00:01.777 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Friday 31 May 2024 15:08:05 +0000 (0:00:00.020) 0:00:01.798 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Friday 31 May 2024 15:08:05 +0000 (0:00:00.008) 0:00:01.806 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Friday 31 May 2024 15:08:05 +0000 (0:00:00.008) 0:00:01.815 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Friday 31 May 2024 15:08:05 +0000 (0:00:00.029) 0:00:01.845 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:11 Friday 31 May 2024 15:08:53 +0000 (0:00:48.194) 0:00:50.040 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:16 Friday 31 May 2024 15:08:53 +0000 (0:00:00.019) 0:00:50.059 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:21 Friday 31 May 2024 15:08:53 +0000 (0:00:00.018) 0:00:50.078 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:34 Friday 31 May 2024 15:08:54 +0000 (0:00:00.562) 0:00:50.640 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:2 Friday 31 May 2024 15:08:54 +0000 (0:00:00.034) 0:00:50.674 ************ TASK [linux-system-roles.storage : Make sure COPR support packages are present] *** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:13 Friday 31 May 2024 15:08:54 +0000 (0:00:00.009) 0:00:50.683 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Enable COPRs] ******************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:20 Friday 31 May 2024 15:08:54 +0000 (0:00:00.008) 0:00:50.692 ************ TASK [linux-system-roles.storage : Make sure required packages are installed] *** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:41 Friday 31 May 2024 15:08:54 +0000 (0:00:00.008) 0:00:50.701 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:57 Friday 31 May 2024 15:08:57 +0000 (0:00:02.737) 0:00:53.438 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:64 Friday 31 May 2024 15:08:58 +0000 (0:00:01.753) 0:00:55.191 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:78 Friday 31 May 2024 15:08:59 +0000 (0:00:00.020) 0:00:55.212 ************ TASK [linux-system-roles.storage : Manage the pools and volumes to match the specified state] *** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:84 Friday 31 May 2024 15:08:59 +0000 (0:00:00.010) 0:00:55.223 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:98 Friday 31 May 2024 15:08:59 +0000 (0:00:00.373) 0:00:55.596 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:110 Friday 31 May 2024 15:08:59 +0000 (0:00:00.012) 0:00:55.608 ************ TASK [linux-system-roles.storage : Show blivet_output] ************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:116 Friday 31 May 2024 15:08:59 +0000 (0:00:00.009) 0:00:55.618 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:125 Friday 31 May 2024 15:08:59 +0000 (0:00:00.013) 0:00:55.631 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:129 Friday 31 May 2024 15:08:59 +0000 (0:00:00.012) 0:00:55.644 ************ ok: [sut] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : Remove obsolete mounts] ********************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:145 Friday 31 May 2024 15:08:59 +0000 (0:00:00.013) 0:00:55.657 ************ TASK [linux-system-roles.storage : Tell systemd to refresh its view of /etc/fstab] *** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:157 Friday 31 May 2024 15:08:59 +0000 (0:00:00.010) 0:00:55.668 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:162 Friday 31 May 2024 15:08:59 +0000 (0:00:00.011) 0:00:55.680 ************ TASK [linux-system-roles.storage : Manage mount ownership/permissions] ********* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:174 Friday 31 May 2024 15:08:59 +0000 (0:00:00.010) 0:00:55.690 ************ TASK [linux-system-roles.storage : Tell systemd to refresh its view of /etc/fstab] *** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:189 Friday 31 May 2024 15:08:59 +0000 (0:00:00.011) 0:00:55.702 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:197 Friday 31 May 2024 15:08:59 +0000 (0:00:00.011) 0:00:55.714 ************ ok: [sut] => { "changed": false, "stat": { "atime": 1717167780.066968, "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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:202 Friday 31 May 2024 15:08:59 +0000 (0:00:00.195) 0:00:55.909 ************ TASK [linux-system-roles.storage : Update facts] ******************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:224 Friday 31 May 2024 15:08:59 +0000 (0:00:00.011) 0:00:55.920 ************ ok: [sut] TASK [Mark tasks to be skipped] ************************************************ task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/tests_luks_pool.yml:62 Friday 31 May 2024 15:09:00 +0000 (0:00:00.592) 0:00:56.513 ************ ok: [sut] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "service_facts" ] }, "changed": false } TASK [Get unused disks] ******************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/tests_luks_pool.yml:68 Friday 31 May 2024 15:09:00 +0000 (0:00:00.011) 0:00:56.524 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/get_unused_disk.yml for sut TASK [Ensure test packages] **************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/get_unused_disk.yml:2 Friday 31 May 2024 15:09:00 +0000 (0:00:00.016) 0:00:56.540 ************ 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-2zs40rrd2/tests/get_unused_disk.yml:16 Friday 31 May 2024 15:09:02 +0000 (0:00:02.628) 0:00:59.169 ************ ok: [sut] => { "changed": false, "disks": [ "sda" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/get_unused_disk.yml:24 Friday 31 May 2024 15:09:03 +0000 (0:00:00.271) 0:00:59.440 ************ 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-2zs40rrd2/tests/get_unused_disk.yml:29 Friday 31 May 2024 15:09:03 +0000 (0:00:00.014) 0:00:59.455 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print unused disks] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/get_unused_disk.yml:34 Friday 31 May 2024 15:09:03 +0000 (0:00:00.011) 0:00:59.467 ************ ok: [sut] => { "unused_disks": [ "sda" ] } TASK [Test for correct handling of new encrypted pool w/ no key] *************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/tests_luks_pool.yml:78 Friday 31 May 2024 15:09:03 +0000 (0:00:00.012) 0:00:59.479 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-role-failed.yml for sut TASK [Store global variable value copy] **************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-role-failed.yml:4 Friday 31 May 2024 15:09:03 +0000 (0:00:00.016) 0:00:59.496 ************ 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-2zs40rrd2/tests/verify-role-failed.yml:10 Friday 31 May 2024 15:09:03 +0000 (0:00:00.015) 0:00:59.511 ************ TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Friday 31 May 2024 15:09:03 +0000 (0:00:00.034) 0:00:59.546 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Friday 31 May 2024 15:09:03 +0000 (0:00:00.018) 0:00:59.564 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Friday 31 May 2024 15:09:03 +0000 (0:00:00.014) 0:00:59.578 ************ 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-2zs40rrd2/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-2zs40rrd2/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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:26 Friday 31 May 2024 15:09:03 +0000 (0:00:00.030) 0:00:59.609 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:31 Friday 31 May 2024 15:09:03 +0000 (0:00:00.011) 0:00:59.621 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Friday 31 May 2024 15:09:03 +0000 (0:00:00.010) 0:00:59.632 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Friday 31 May 2024 15:09:03 +0000 (0:00:00.010) 0:00:59.643 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Friday 31 May 2024 15:09:03 +0000 (0:00:00.010) 0:00:59.653 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Friday 31 May 2024 15:09:03 +0000 (0:00:00.024) 0:00:59.678 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:11 Friday 31 May 2024 15:09:03 +0000 (0:00:00.012) 0:00:59.690 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:16 Friday 31 May 2024 15:09:03 +0000 (0:00:00.014) 0:00:59.704 ************ ok: [sut] => { "storage_volumes": [] } TASK [linux-system-roles.storage : Get required packages] ********************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:21 Friday 31 May 2024 15:09:03 +0000 (0:00:00.013) 0:00:59.718 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:34 Friday 31 May 2024 15:09:07 +0000 (0:00:04.406) 0:01:04.125 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:2 Friday 31 May 2024 15:09:07 +0000 (0:00:00.021) 0:01:04.146 ************ TASK [linux-system-roles.storage : Make sure COPR support packages are present] *** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:13 Friday 31 May 2024 15:09:07 +0000 (0:00:00.011) 0:01:04.157 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Enable COPRs] ******************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:20 Friday 31 May 2024 15:09:07 +0000 (0:00:00.012) 0:01:04.169 ************ TASK [linux-system-roles.storage : Make sure required packages are installed] *** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:41 Friday 31 May 2024 15:09:07 +0000 (0:00:00.010) 0:01:04.180 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:57 Friday 31 May 2024 15:09:10 +0000 (0:00:02.680) 0:01:06.861 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:64 Friday 31 May 2024 15:09:10 +0000 (0:00:00.013) 0:01:06.875 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:78 Friday 31 May 2024 15:09:10 +0000 (0:00:00.018) 0:01:06.894 ************ TASK [linux-system-roles.storage : Manage the pools and volumes to match the specified state] *** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:84 Friday 31 May 2024 15:09:10 +0000 (0:00:00.010) 0:01:06.904 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:106 Friday 31 May 2024 15:09:14 +0000 (0:00:04.173) 0:01:11.078 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:110 Friday 31 May 2024 15:09:14 +0000 (0:00:00.016) 0:01:11.094 ************ TASK [Check that we failed in the role] **************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-role-failed.yml:29 Friday 31 May 2024 15:09:14 +0000 (0:00:00.011) 0:01:11.105 ************ 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-2zs40rrd2/tests/verify-role-failed.yml:34 Friday 31 May 2024 15:09:14 +0000 (0:00:00.012) 0:01:11.118 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify correct exception or error message] ******************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-role-failed.yml:45 Friday 31 May 2024 15:09:14 +0000 (0:00:00.017) 0:01:11.136 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Mark tasks to be skipped] ************************************************ task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/tests_luks_pool.yml:95 Friday 31 May 2024 15:09:14 +0000 (0:00:00.010) 0:01:11.147 ************ 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-2zs40rrd2/tests/tests_luks_pool.yml:106 Friday 31 May 2024 15:09:14 +0000 (0:00:00.014) 0:01:11.161 ************ ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/storage_test3g694mm2lukskey", "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-2zs40rrd2/tests/tests_luks_pool.yml:113 Friday 31 May 2024 15:09:15 +0000 (0:00:00.252) 0:01:11.413 ************ ok: [sut] => { "changed": false, "checksum": "7a4dff3752e2baf5617c57eaac048e2b95e8af91", "dest": "/tmp/storage_test3g694mm2lukskey", "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-1717168155.240636-129753-13034735234941/source", "state": "file", "uid": 0 } TASK [Create an encrypted lvm pool using a key file] *************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/tests_luks_pool.yml:120 Friday 31 May 2024 15:09:15 +0000 (0:00:00.602) 0:01:12.016 ************ TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Friday 31 May 2024 15:09:15 +0000 (0:00:00.033) 0:01:12.049 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Friday 31 May 2024 15:09:15 +0000 (0:00:00.016) 0:01:12.065 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Friday 31 May 2024 15:09:15 +0000 (0:00:00.014) 0:01:12.080 ************ 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-2zs40rrd2/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-2zs40rrd2/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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:26 Friday 31 May 2024 15:09:15 +0000 (0:00:00.031) 0:01:12.111 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:31 Friday 31 May 2024 15:09:15 +0000 (0:00:00.011) 0:01:12.122 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Friday 31 May 2024 15:09:15 +0000 (0:00:00.011) 0:01:12.133 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Friday 31 May 2024 15:09:15 +0000 (0:00:00.010) 0:01:12.144 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Friday 31 May 2024 15:09:15 +0000 (0:00:00.010) 0:01:12.155 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Friday 31 May 2024 15:09:15 +0000 (0:00:00.024) 0:01:12.180 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:11 Friday 31 May 2024 15:09:15 +0000 (0:00:00.012) 0:01:12.192 ************ ok: [sut] => { "storage_pools": [ { "disks": [ "sda" ], "encryption": true, "encryption_key": "/tmp/storage_test3g694mm2lukskey", "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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:16 Friday 31 May 2024 15:09:15 +0000 (0:00:00.014) 0:01:12.206 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:21 Friday 31 May 2024 15:09:16 +0000 (0:00:00.011) 0:01:12.218 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:34 Friday 31 May 2024 15:09:16 +0000 (0:00:00.011) 0:01:12.230 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:41 Friday 31 May 2024 15:09:16 +0000 (0:00:00.012) 0:01:12.243 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:57 Friday 31 May 2024 15:09:16 +0000 (0:00:00.011) 0:01:12.255 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:64 Friday 31 May 2024 15:09:16 +0000 (0:00:00.011) 0:01:12.266 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:78 Friday 31 May 2024 15:09:16 +0000 (0:00:00.018) 0:01:12.284 ************ TASK [linux-system-roles.storage : Manage the pools and volumes to match the specified state] *** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:84 Friday 31 May 2024 15:09:16 +0000 (0:00:00.009) 0:01:12.294 ************ changed: [sut] => { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "luks" }, { "action": "create device", "device": "/dev/mapper/luks-de403b0b-5a25-47b7-a7fd-673b745f0fe1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/luks-de403b0b-5a25-47b7-a7fd-673b745f0fe1", "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-de403b0b-5a25-47b7-a7fd-673b745f0fe1", "password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "state": "present" } ], "leaves": [ "/dev/sdb", "/dev/sdc", "/dev/sdd", "/dev/sde", "/dev/sdf", "/dev/sdg", "/dev/sdh", "/dev/sdi", "/dev/xvda1", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "group": null, "mode": null, "opts": "defaults", "owner": null, "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "xfsprogs", "cryptsetup", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_clevis_pin": null, "encryption_key": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "encryption_tang_thumbprint": null, "encryption_tang_url": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "shared": false, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_group": null, "mount_mode": null, "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "mount_user": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "raid_stripe_size": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:98 Friday 31 May 2024 15:09:29 +0000 (0:00:12.992) 0:01:25.287 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:110 Friday 31 May 2024 15:09:29 +0000 (0:00:00.012) 0:01:25.299 ************ TASK [linux-system-roles.storage : Show blivet_output] ************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:116 Friday 31 May 2024 15:09:29 +0000 (0:00:00.011) 0:01:25.310 ************ ok: [sut] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "luks" }, { "action": "create device", "device": "/dev/mapper/luks-de403b0b-5a25-47b7-a7fd-673b745f0fe1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/luks-de403b0b-5a25-47b7-a7fd-673b745f0fe1", "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-de403b0b-5a25-47b7-a7fd-673b745f0fe1", "password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "state": "present" } ], "failed": false, "leaves": [ "/dev/sdb", "/dev/sdc", "/dev/sdd", "/dev/sde", "/dev/sdf", "/dev/sdg", "/dev/sdh", "/dev/sdi", "/dev/xvda1", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "group": null, "mode": null, "opts": "defaults", "owner": null, "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "xfsprogs", "cryptsetup", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_clevis_pin": null, "encryption_key": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "encryption_tang_thumbprint": null, "encryption_tang_url": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "shared": false, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_group": null, "mount_mode": null, "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "mount_user": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "raid_stripe_size": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : Set the list of pools for test verification] *** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:125 Friday 31 May 2024 15:09:29 +0000 (0:00:00.015) 0:01:25.326 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:129 Friday 31 May 2024 15:09:29 +0000 (0:00:00.016) 0:01:25.342 ************ ok: [sut] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : Remove obsolete mounts] ********************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:145 Friday 31 May 2024 15:09:29 +0000 (0:00:00.013) 0:01:25.356 ************ TASK [linux-system-roles.storage : Tell systemd to refresh its view of /etc/fstab] *** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:157 Friday 31 May 2024 15:09:29 +0000 (0:00:00.012) 0:01:25.369 ************ ok: [sut] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : Set up new/current mounts] ****************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:162 Friday 31 May 2024 15:09:29 +0000 (0:00:00.638) 0:01:26.008 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:174 Friday 31 May 2024 15:09:30 +0000 (0:00:00.296) 0:01:26.304 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:189 Friday 31 May 2024 15:09:30 +0000 (0:00:00.016) 0:01:26.321 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:197 Friday 31 May 2024 15:09:30 +0000 (0:00:00.469) 0:01:26.790 ************ ok: [sut] => { "changed": false, "stat": { "atime": 1717167780.066968, "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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:202 Friday 31 May 2024 15:09:30 +0000 (0:00:00.195) 0:01:26.986 ************ changed: [sut] => (item={'backing_device': '/dev/sda', 'name': 'luks-de403b0b-5a25-47b7-a7fd-673b745f0fe1', 'password': 'VALUE_SPECIFIED_IN_NO_LOG_PARAMETER', 'state': 'present'}) => { "ansible_loop_var": "entry", "backup": "", "changed": true, "entry": { "backing_device": "/dev/sda", "name": "luks-de403b0b-5a25-47b7-a7fd-673b745f0fe1", "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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:224 Friday 31 May 2024 15:09:31 +0000 (0:00:00.267) 0:01:27.253 ************ ok: [sut] TASK [Verify role results] ***************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/tests_luks_pool.yml:135 Friday 31 May 2024 15:09:31 +0000 (0:00:00.608) 0:01:27.862 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-role-results.yml for sut TASK [Print out pool information] ********************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-role-results.yml:2 Friday 31 May 2024 15:09:31 +0000 (0:00:00.039) 0:01:27.901 ************ 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-2zs40rrd2/tests/verify-role-results.yml:7 Friday 31 May 2024 15:09:31 +0000 (0:00:00.016) 0:01:27.918 ************ skipping: [sut] => {} TASK [Collect info about the volumes.] ***************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-role-results.yml:15 Friday 31 May 2024 15:09:31 +0000 (0:00:00.011) 0:01:27.929 ************ 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": "0e0ec06e-70bb-4abb-a5bf-6f383c4961f9" }, "/dev/mapper/luks-de403b0b-5a25-47b7-a7fd-673b745f0fe1": { "fstype": "LVM2_member", "label": "", "mountpoint": "", "name": "/dev/mapper/luks-de403b0b-5a25-47b7-a7fd-673b745f0fe1", "size": "10G", "type": "crypt", "uuid": "DLuxRp-Fyz9-ScC3-9Z7x-S13H-726f-mvf09Z" }, "/dev/sda": { "fstype": "crypto_LUKS", "label": "", "mountpoint": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "de403b0b-5a25-47b7-a7fd-673b745f0fe1" }, "/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-2zs40rrd2/tests/verify-role-results.yml:20 Friday 31 May 2024 15:09:31 +0000 (0:00:00.245) 0:01:28.174 ************ ok: [sut] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002784", "end": "2024-05-31 15:09:32.184254", "rc": 0, "start": "2024-05-31 15:09:32.181470" } 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-2zs40rrd2/tests/verify-role-results.yml:25 Friday 31 May 2024 15:09:32 +0000 (0:00:00.239) 0:01:28.413 ************ ok: [sut] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002829", "end": "2024-05-31 15:09:32.378480", "failed_when_result": false, "rc": 0, "start": "2024-05-31 15:09:32.375651" } STDOUT: luks-de403b0b-5a25-47b7-a7fd-673b745f0fe1 /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-2zs40rrd2/tests/verify-role-results.yml:34 Friday 31 May 2024 15:09:32 +0000 (0:00:00.193) 0:01:28.607 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool.yml for sut TASK [Set _storage_pool_tests] ************************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool.yml:5 Friday 31 May 2024 15:09:32 +0000 (0:00:00.025) 0:01:28.632 ************ ok: [sut] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [Get VG shared value status] ********************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool.yml:18 Friday 31 May 2024 15:09:32 +0000 (0:00:00.012) 0:01:28.645 ************ ok: [sut] => { "changed": false, "cmd": [ "vgs", "--noheadings", "--binary", "-o", "shared", "foo" ], "delta": "0:00:00.030222", "end": "2024-05-31 15:09:32.639980", "rc": 0, "start": "2024-05-31 15:09:32.609758" } STDOUT: 0 TASK [Verify that VG shared value checks out] ********************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool.yml:24 Friday 31 May 2024 15:09:32 +0000 (0:00:00.223) 0:01:28.869 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify pool subset] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool.yml:34 Friday 31 May 2024 15:09:32 +0000 (0:00:00.018) 0:01:28.887 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool-members.yml for sut included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool-volumes.yml for sut TASK [Set test variables] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool-members.yml:2 Friday 31 May 2024 15:09:32 +0000 (0:00:00.029) 0:01:28.917 ************ ok: [sut] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/mapper/luks-de403b0b-5a25-47b7-a7fd-673b745f0fe1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool-members.yml:13 Friday 31 May 2024 15:09:32 +0000 (0:00:00.019) 0:01:28.936 ************ ok: [sut] => (item=/dev/mapper/luks-de403b0b-5a25-47b7-a7fd-673b745f0fe1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/mapper/luks-de403b0b-5a25-47b7-a7fd-673b745f0fe1", "pv": "/dev/mapper/luks-de403b0b-5a25-47b7-a7fd-673b745f0fe1" } TASK [Set pvs lvm length] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool-members.yml:22 Friday 31 May 2024 15:09:32 +0000 (0:00:00.267) 0:01:29.203 ************ ok: [sut] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [Set pool pvs] ************************************************************ task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool-members.yml:27 Friday 31 May 2024 15:09:33 +0000 (0:00:00.016) 0:01:29.220 ************ ok: [sut] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/mapper/luks-de403b0b-5a25-47b7-a7fd-673b745f0fe1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool-members.yml:33 Friday 31 May 2024 15:09:33 +0000 (0:00:00.016) 0:01:29.237 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set expected pv type] **************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool-members.yml:42 Friday 31 May 2024 15:09:33 +0000 (0:00:00.017) 0:01:29.254 ************ ok: [sut] => { "ansible_facts": { "_storage_test_expected_pv_type": "crypt" }, "changed": false } TASK [Set expected pv type] **************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool-members.yml:48 Friday 31 May 2024 15:09:33 +0000 (0:00:00.014) 0:01:29.269 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set expected pv type] **************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool-members.yml:54 Friday 31 May 2024 15:09:33 +0000 (0:00:00.017) 0:01:29.286 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool-members.yml:59 Friday 31 May 2024 15:09:33 +0000 (0:00:00.014) 0:01:29.301 ************ ok: [sut] => (item=/dev/mapper/luks-de403b0b-5a25-47b7-a7fd-673b745f0fe1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/mapper/luks-de403b0b-5a25-47b7-a7fd-673b745f0fe1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool-members.yml:73 Friday 31 May 2024 15:09:33 +0000 (0:00:00.023) 0:01:29.325 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-md.yml for sut TASK [Get information about RAID] ********************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-md.yml:8 Friday 31 May 2024 15:09:33 +0000 (0:00:00.027) 0:01:29.352 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set active devices regex] ************************************************ task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-md.yml:14 Friday 31 May 2024 15:09:33 +0000 (0:00:00.014) 0:01:29.367 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set spare devices regex] ************************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-md.yml:21 Friday 31 May 2024 15:09:33 +0000 (0:00:00.018) 0:01:29.385 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set md version regex] **************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-md.yml:28 Friday 31 May 2024 15:09:33 +0000 (0:00:00.012) 0:01:29.398 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set md chunk size regex] ************************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-md.yml:35 Friday 31 May 2024 15:09:33 +0000 (0:00:00.012) 0:01:29.411 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Parse the chunk size] **************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-md.yml:45 Friday 31 May 2024 15:09:33 +0000 (0:00:00.013) 0:01:29.425 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID active devices count] ***************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-md.yml:54 Friday 31 May 2024 15:09:33 +0000 (0:00:00.014) 0:01:29.439 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID spare devices count] ****************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-md.yml:64 Friday 31 May 2024 15:09:33 +0000 (0:00:00.013) 0:01:29.452 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID metadata version] ********************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-md.yml:74 Friday 31 May 2024 15:09:33 +0000 (0:00:00.019) 0:01:29.472 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID chunk size] *************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-md.yml:85 Friday 31 May 2024 15:09:33 +0000 (0:00:00.012) 0:01:29.485 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Reset variables used by tests] ******************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-md.yml:95 Friday 31 May 2024 15:09:33 +0000 (0:00:00.012) 0:01:29.497 ************ 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-2zs40rrd2/tests/test-verify-pool-members.yml:76 Friday 31 May 2024 15:09:33 +0000 (0:00:00.012) 0:01:29.510 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-members-lvmraid.yml for sut TASK [Validate pool member LVM RAID settings] ********************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-members-lvmraid.yml:2 Friday 31 May 2024 15:09:33 +0000 (0:00:00.024) 0:01:29.535 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-lvmraid.yml for sut TASK [Get information about the LV] ******************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-lvmraid.yml:8 Friday 31 May 2024 15:09:33 +0000 (0:00:00.027) 0:01:29.563 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set LV segment type] ***************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-lvmraid.yml:16 Friday 31 May 2024 15:09:33 +0000 (0:00:00.012) 0:01:29.576 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check segment type] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-lvmraid.yml:21 Friday 31 May 2024 15:09:33 +0000 (0:00:00.014) 0:01:29.591 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set LV stripe size] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-lvmraid.yml:29 Friday 31 May 2024 15:09:33 +0000 (0:00:00.013) 0:01:29.604 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Parse the requested stripe size] ***************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-lvmraid.yml:34 Friday 31 May 2024 15:09:33 +0000 (0:00:00.015) 0:01:29.620 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set expected stripe size] ************************************************ task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-lvmraid.yml:40 Friday 31 May 2024 15:09:33 +0000 (0:00:00.035) 0:01:29.656 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check stripe size] ******************************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-lvmraid.yml:46 Friday 31 May 2024 15:09:33 +0000 (0:00:00.012) 0:01:29.669 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool-members.yml:79 Friday 31 May 2024 15:09:33 +0000 (0:00:00.012) 0:01:29.681 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-members-thin.yml for sut TASK [Validate pool member thinpool settings] ********************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-members-thin.yml:2 Friday 31 May 2024 15:09:33 +0000 (0:00:00.027) 0:01:29.709 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-thin.yml for sut TASK [Get information about thinpool] ****************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-thin.yml:8 Friday 31 May 2024 15:09:33 +0000 (0:00:00.028) 0:01:29.738 ************ 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-2zs40rrd2/tests/verify-pool-member-thin.yml:16 Friday 31 May 2024 15:09:33 +0000 (0:00:00.013) 0:01:29.751 ************ 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-2zs40rrd2/tests/verify-pool-member-thin.yml:23 Friday 31 May 2024 15:09:33 +0000 (0:00:00.012) 0:01:29.763 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Reset variable used by test] ********************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-thin.yml:27 Friday 31 May 2024 15:09:33 +0000 (0:00:00.012) 0:01:29.776 ************ ok: [sut] => { "ansible_facts": { "storage_test_thin_status": null }, "changed": false } TASK [Check member encryption] ************************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool-members.yml:82 Friday 31 May 2024 15:09:33 +0000 (0:00:00.013) 0:01:29.790 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-members-encryption.yml for sut TASK [Set test variables] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-members-encryption.yml:5 Friday 31 May 2024 15:09:33 +0000 (0:00:00.026) 0:01:29.816 ************ 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-2zs40rrd2/tests/verify-pool-members-encryption.yml:13 Friday 31 May 2024 15:09:33 +0000 (0:00:00.016) 0:01:29.833 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-encryption.yml for sut TASK [Get the backing device path] ********************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-encryption.yml:2 Friday 31 May 2024 15:09:33 +0000 (0:00:00.030) 0:01:29.863 ************ ok: [sut] => { "changed": false, "cmd": [ "realpath", "/dev/disk/by-uuid/de403b0b-5a25-47b7-a7fd-673b745f0fe1" ], "delta": "0:00:00.002834", "end": "2024-05-31 15:09:33.833487", "rc": 0, "start": "2024-05-31 15:09:33.830653" } STDOUT: /dev/sda TASK [Ensure cryptsetup is present] ******************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-encryption.yml:12 Friday 31 May 2024 15:09:33 +0000 (0:00:00.200) 0:01:30.063 ************ 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-2zs40rrd2/tests/verify-pool-member-encryption.yml:19 Friday 31 May 2024 15:09:36 +0000 (0:00:02.589) 0:01:32.653 ************ ok: [sut] => { "changed": false, "cmd": [ "cryptsetup", "luksDump", "/dev/sda" ], "delta": "0:00:00.013133", "end": "2024-05-31 15:09:36.632915", "rc": 0, "start": "2024-05-31 15:09:36.619782" } STDOUT: LUKS header information Version: 2 Epoch: 3 Metadata area: 16384 [bytes] Keyslots area: 16744448 [bytes] UUID: de403b0b-5a25-47b7-a7fd-673b745f0fe1 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: 798437 Threads: 2 Salt: 61 85 37 c7 96 42 b5 cc cc a3 10 7c cd 34 63 1a fe 38 6f 9a e8 3a e9 68 58 e8 6e fc 45 66 08 36 AF stripes: 4000 AF hash: sha256 Area offset:32768 [bytes] Area length:258048 [bytes] Digest ID: 0 Tokens: Digests: 0: pbkdf2 Hash: sha256 Iterations: 103860 Salt: e1 0f 12 35 0c 21 da a8 59 b3 31 73 01 dc a0 c1 0d 6a 10 14 b0 cb 18 cc cf fc 00 9c d9 9a 64 68 Digest: a3 06 80 47 e2 82 f8 c3 2c 64 63 68 76 e1 80 e6 1c 4f 98 a1 95 1f 49 ff ac 44 65 34 cd 6b bd 99 TASK [Check LUKS version] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-encryption.yml:27 Friday 31 May 2024 15:09:36 +0000 (0:00:00.209) 0:01:32.862 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-encryption.yml:40 Friday 31 May 2024 15:09:36 +0000 (0:00:00.015) 0:01:32.878 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-encryption.yml:52 Friday 31 May 2024 15:09:36 +0000 (0:00:00.013) 0:01:32.891 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-members-encryption.yml:20 Friday 31 May 2024 15:09:36 +0000 (0:00:00.013) 0:01:32.904 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-crypttab.yml for sut TASK [Set variables used by tests] ********************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-crypttab.yml:2 Friday 31 May 2024 15:09:36 +0000 (0:00:00.024) 0:01:32.929 ************ ok: [sut] => { "ansible_facts": { "_storage_test_crypttab_entries": [ "luks-de403b0b-5a25-47b7-a7fd-673b745f0fe1 /dev/sda VALUE_SPECIFIED_IN_NO_LOG_PARAMETER" ] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-crypttab.yml:9 Friday 31 May 2024 15:09:36 +0000 (0:00:00.014) 0:01:32.944 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-crypttab.yml:18 Friday 31 May 2024 15:09:36 +0000 (0:00:00.015) 0:01:32.959 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Check backing device of crypttab entry] ********************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-crypttab.yml:27 Friday 31 May 2024 15:09:36 +0000 (0:00:00.015) 0:01:32.974 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-crypttab.yml:37 Friday 31 May 2024 15:09:36 +0000 (0:00:00.012) 0:01:32.987 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Clear test variables] **************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-crypttab.yml:47 Friday 31 May 2024 15:09:36 +0000 (0:00:00.015) 0:01:33.002 ************ ok: [sut] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [Clear test variables] **************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-members-encryption.yml:27 Friday 31 May 2024 15:09:36 +0000 (0:00:00.011) 0:01:33.013 ************ 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-2zs40rrd2/tests/test-verify-pool-members.yml:85 Friday 31 May 2024 15:09:36 +0000 (0:00:00.010) 0:01:33.024 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-members-vdo.yml for sut TASK [Validate pool member VDO settings] *************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-members-vdo.yml:2 Friday 31 May 2024 15:09:36 +0000 (0:00:00.026) 0:01:33.051 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-vdo.yml for sut TASK [Get information about VDO deduplication] ********************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-vdo.yml:9 Friday 31 May 2024 15:09:36 +0000 (0:00:00.024) 0:01:33.076 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if VDO deduplication is off] *************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-vdo.yml:16 Friday 31 May 2024 15:09:36 +0000 (0:00:00.033) 0:01:33.109 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if VDO deduplication is on] **************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-vdo.yml:22 Friday 31 May 2024 15:09:36 +0000 (0:00:00.012) 0:01:33.122 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about VDO compression] *********************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-vdo.yml:28 Friday 31 May 2024 15:09:36 +0000 (0:00:00.012) 0:01:33.134 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if VDO deduplication is off] *************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-vdo.yml:35 Friday 31 May 2024 15:09:36 +0000 (0:00:00.012) 0:01:33.147 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if VDO deduplication is on] **************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-vdo.yml:41 Friday 31 May 2024 15:09:36 +0000 (0:00:00.012) 0:01:33.159 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clear test variables] **************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-vdo.yml:47 Friday 31 May 2024 15:09:36 +0000 (0:00:00.012) 0:01:33.171 ************ ok: [sut] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [Check Stratis] *********************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool-members.yml:88 Friday 31 May 2024 15:09:36 +0000 (0:00:00.012) 0:01:33.184 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-stratis.yml for sut TASK [Run 'stratis report'] **************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-stratis.yml:6 Friday 31 May 2024 15:09:37 +0000 (0:00:00.028) 0:01:33.212 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about Stratis] ******************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-stratis.yml:11 Friday 31 May 2024 15:09:37 +0000 (0:00:00.012) 0:01:33.225 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the pools was created] *************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-stratis.yml:15 Friday 31 May 2024 15:09:37 +0000 (0:00:00.011) 0:01:33.236 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that encryption is correctly set] ********************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-stratis.yml:26 Friday 31 May 2024 15:09:37 +0000 (0:00:00.012) 0:01:33.248 ************ 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-2zs40rrd2/tests/verify-pool-stratis.yml:36 Friday 31 May 2024 15:09:37 +0000 (0:00:00.012) 0:01:33.261 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Reset variable used by test] ********************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-stratis.yml:49 Friday 31 May 2024 15:09:37 +0000 (0:00:00.011) 0:01:33.272 ************ ok: [sut] => { "ansible_facts": { "storage_test_stratis_report": null }, "changed": false } TASK [Clean up test variables] ************************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool-members.yml:91 Friday 31 May 2024 15:09:37 +0000 (0:00:00.011) 0:01:33.283 ************ 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-2zs40rrd2/tests/test-verify-pool-volumes.yml:3 Friday 31 May 2024 15:09:37 +0000 (0:00:00.011) 0:01:33.294 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume.yml for sut TASK [Set storage volume test variables] *************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume.yml:2 Friday 31 May 2024 15:09:37 +0000 (0:00:00.022) 0:01:33.317 ************ 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-2zs40rrd2/tests/test-verify-volume.yml:21 Friday 31 May 2024 15:09:37 +0000 (0:00:00.015) 0:01:33.332 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-mount.yml for sut included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-fstab.yml for sut included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-fs.yml for sut included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-device.yml for sut included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-encryption.yml for sut included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-md.yml for sut included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml for sut included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-cache.yml for sut TASK [Get expected mount device based on device type] ************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-mount.yml:7 Friday 31 May 2024 15:09:37 +0000 (0:00:00.061) 0:01:33.394 ************ 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-2zs40rrd2/tests/test-verify-volume-mount.yml:16 Friday 31 May 2024 15:09:37 +0000 (0:00:00.014) 0:01:33.409 ************ 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-2zs40rrd2/tests/test-verify-volume-mount.yml:31 Friday 31 May 2024 15:09:37 +0000 (0:00:00.015) 0:01:33.425 ************ 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-2zs40rrd2/tests/test-verify-volume-mount.yml:44 Friday 31 May 2024 15:09:37 +0000 (0:00:00.012) 0:01:33.437 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify mount directory user] ********************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-mount.yml:53 Friday 31 May 2024 15:09:37 +0000 (0:00:00.014) 0:01:33.451 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify mount directory group] ******************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-mount.yml:65 Friday 31 May 2024 15:09:37 +0000 (0:00:00.013) 0:01:33.464 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify mount directory permissions] ************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-mount.yml:77 Friday 31 May 2024 15:09:37 +0000 (0:00:00.012) 0:01:33.477 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get path of test volume device] ****************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-mount.yml:92 Friday 31 May 2024 15:09:37 +0000 (0:00:00.012) 0:01:33.489 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-mount.yml:98 Friday 31 May 2024 15:09:37 +0000 (0:00:00.011) 0:01:33.500 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-mount.yml:104 Friday 31 May 2024 15:09:37 +0000 (0:00:00.011) 0:01:33.511 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-mount.yml:116 Friday 31 May 2024 15:09:37 +0000 (0:00:00.010) 0:01:33.522 ************ 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-2zs40rrd2/tests/test-verify-volume-fstab.yml:2 Friday 31 May 2024 15:09:37 +0000 (0:00:00.012) 0:01:33.534 ************ 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-2zs40rrd2/tests/test-verify-volume-fstab.yml:40 Friday 31 May 2024 15:09:37 +0000 (0:00:00.024) 0:01:33.558 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-fstab.yml:48 Friday 31 May 2024 15:09:37 +0000 (0:00:00.014) 0:01:33.573 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-fstab.yml:58 Friday 31 May 2024 15:09:37 +0000 (0:00:00.014) 0:01:33.587 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-fstab.yml:71 Friday 31 May 2024 15:09:37 +0000 (0:00:00.011) 0:01:33.599 ************ 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-2zs40rrd2/tests/test-verify-volume-fs.yml:6 Friday 31 May 2024 15:09:37 +0000 (0:00:00.011) 0:01:33.610 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-fs.yml:17 Friday 31 May 2024 15:09:37 +0000 (0:00:00.019) 0:01:33.630 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-device.yml:3 Friday 31 May 2024 15:09:37 +0000 (0:00:00.017) 0:01:33.647 ************ ok: [sut] => { "changed": false, "stat": { "atime": 1717168169.003925, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1717168169.003925, "dev": 6, "device_type": 64769, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 77222, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1717168169.003925, "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-2zs40rrd2/tests/test-verify-volume-device.yml:9 Friday 31 May 2024 15:09:37 +0000 (0:00:00.195) 0:01:33.843 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the presence/absence of the device node] ************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-device.yml:16 Friday 31 May 2024 15:09:37 +0000 (0:00:00.016) 0:01:33.860 ************ 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-2zs40rrd2/tests/test-verify-volume-device.yml:24 Friday 31 May 2024 15:09:37 +0000 (0:00:00.012) 0:01:33.872 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Process volume type (set initial value) (1/2)] *************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-device.yml:30 Friday 31 May 2024 15:09:37 +0000 (0:00:00.014) 0:01:33.887 ************ 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-2zs40rrd2/tests/test-verify-volume-device.yml:34 Friday 31 May 2024 15:09:37 +0000 (0:00:00.014) 0:01:33.901 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-device.yml:39 Friday 31 May 2024 15:09:37 +0000 (0:00:00.012) 0:01:33.914 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-encryption.yml:3 Friday 31 May 2024 15:09:37 +0000 (0:00:00.014) 0:01:33.928 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-encryption.yml:10 Friday 31 May 2024 15:09:37 +0000 (0:00:00.012) 0:01:33.940 ************ 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-2zs40rrd2/tests/test-verify-volume-encryption.yml:17 Friday 31 May 2024 15:09:40 +0000 (0:00:02.577) 0:01:36.518 ************ 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-2zs40rrd2/tests/test-verify-volume-encryption.yml:23 Friday 31 May 2024 15:09:40 +0000 (0:00:00.012) 0:01:36.531 ************ 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-2zs40rrd2/tests/test-verify-volume-encryption.yml:32 Friday 31 May 2024 15:09:40 +0000 (0:00:00.011) 0:01:36.543 ************ 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-2zs40rrd2/tests/test-verify-volume-encryption.yml:45 Friday 31 May 2024 15:09:40 +0000 (0:00:00.016) 0:01:36.559 ************ 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-2zs40rrd2/tests/test-verify-volume-encryption.yml:51 Friday 31 May 2024 15:09:40 +0000 (0:00:00.012) 0:01:36.572 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-encryption.yml:56 Friday 31 May 2024 15:09:40 +0000 (0:00:00.012) 0:01:36.584 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-encryption.yml:69 Friday 31 May 2024 15:09:40 +0000 (0:00:00.012) 0:01:36.596 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-encryption.yml:81 Friday 31 May 2024 15:09:40 +0000 (0:00:00.012) 0:01:36.609 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set test variables] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-encryption.yml:94 Friday 31 May 2024 15:09:40 +0000 (0:00:00.012) 0:01:36.621 ************ 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-2zs40rrd2/tests/test-verify-volume-encryption.yml:106 Friday 31 May 2024 15:09:40 +0000 (0:00:00.015) 0:01:36.636 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-encryption.yml:114 Friday 31 May 2024 15:09:40 +0000 (0:00:00.014) 0:01:36.651 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-encryption.yml:122 Friday 31 May 2024 15:09:40 +0000 (0:00:00.013) 0:01:36.664 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-encryption.yml:131 Friday 31 May 2024 15:09:40 +0000 (0:00:00.012) 0:01:36.677 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clear test variables] **************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-encryption.yml:140 Friday 31 May 2024 15:09:40 +0000 (0:00:00.012) 0:01:36.689 ************ 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-2zs40rrd2/tests/test-verify-volume-md.yml:8 Friday 31 May 2024 15:09:40 +0000 (0:00:00.011) 0:01:36.700 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set active devices regex] ************************************************ task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-md.yml:14 Friday 31 May 2024 15:09:40 +0000 (0:00:00.012) 0:01:36.712 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set spare devices regex] ************************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-md.yml:21 Friday 31 May 2024 15:09:40 +0000 (0:00:00.012) 0:01:36.724 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set md version regex] **************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-md.yml:28 Friday 31 May 2024 15:09:40 +0000 (0:00:00.013) 0:01:36.738 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set chunk size regex] **************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-md.yml:35 Friday 31 May 2024 15:09:40 +0000 (0:00:00.012) 0:01:36.751 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Parse the chunk size] **************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-md.yml:45 Friday 31 May 2024 15:09:40 +0000 (0:00:00.012) 0:01:36.764 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID active devices count] ***************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-md.yml:54 Friday 31 May 2024 15:09:40 +0000 (0:00:00.013) 0:01:36.777 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID spare devices count] ****************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-md.yml:63 Friday 31 May 2024 15:09:40 +0000 (0:00:00.012) 0:01:36.790 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID metadata version] ********************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-md.yml:72 Friday 31 May 2024 15:09:40 +0000 (0:00:00.013) 0:01:36.804 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID chunk size] *************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-md.yml:81 Friday 31 May 2024 15:09:40 +0000 (0:00:00.015) 0:01:36.819 ************ 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-2zs40rrd2/tests/test-verify-volume-size.yml:3 Friday 31 May 2024 15:09:40 +0000 (0:00:00.012) 0:01:36.832 ************ 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-2zs40rrd2/tests/test-verify-volume-size.yml:11 Friday 31 May 2024 15:09:40 +0000 (0:00:00.265) 0:01:37.098 ************ 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-2zs40rrd2/tests/test-verify-volume-size.yml:20 Friday 31 May 2024 15:09:41 +0000 (0:00:00.192) 0:01:37.290 ************ ok: [sut] => { "ansible_facts": { "storage_test_expected_size": "4294967296" }, "changed": false } TASK [Show expected size] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml:28 Friday 31 May 2024 15:09:41 +0000 (0:00:00.017) 0:01:37.307 ************ ok: [sut] => { "storage_test_expected_size": "4294967296" } TASK [Get the size of parent/pool device] ************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml:32 Friday 31 May 2024 15:09:41 +0000 (0:00:00.015) 0:01:37.323 ************ ok: [sut] => { "bytes": 10715943403, "changed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } TASK [Show test pool] ********************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml:46 Friday 31 May 2024 15:09:41 +0000 (0:00:00.191) 0:01:37.514 ************ skipping: [sut] => {} TASK [Show test blockinfo] ***************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml:50 Friday 31 May 2024 15:09:41 +0000 (0:00:00.014) 0:01:37.529 ************ skipping: [sut] => {} TASK [Show test pool size] ***************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml:54 Friday 31 May 2024 15:09:41 +0000 (0:00:00.015) 0:01:37.544 ************ skipping: [sut] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml:58 Friday 31 May 2024 15:09:41 +0000 (0:00:00.014) 0:01:37.559 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Default thin pool reserved space values] ********************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml:68 Friday 31 May 2024 15:09:41 +0000 (0:00:00.013) 0:01:37.573 ************ 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-2zs40rrd2/tests/test-verify-volume-size.yml:72 Friday 31 May 2024 15:09:41 +0000 (0:00:00.011) 0:01:37.584 ************ 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-2zs40rrd2/tests/test-verify-volume-size.yml:77 Friday 31 May 2024 15:09:41 +0000 (0:00:00.012) 0:01:37.597 ************ 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-2zs40rrd2/tests/test-verify-volume-size.yml:83 Friday 31 May 2024 15:09:41 +0000 (0:00:00.011) 0:01:37.608 ************ 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-2zs40rrd2/tests/test-verify-volume-size.yml:88 Friday 31 May 2024 15:09:41 +0000 (0:00:00.012) 0:01:37.621 ************ 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-2zs40rrd2/tests/test-verify-volume-size.yml:96 Friday 31 May 2024 15:09:41 +0000 (0:00:00.011) 0:01:37.632 ************ 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-2zs40rrd2/tests/test-verify-volume-size.yml:104 Friday 31 May 2024 15:09:41 +0000 (0:00:00.011) 0:01:37.643 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Show max thin pool size] ************************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml:109 Friday 31 May 2024 15:09:41 +0000 (0:00:00.011) 0:01:37.655 ************ skipping: [sut] => {} TASK [Show volume thin pool size] ********************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml:113 Friday 31 May 2024 15:09:41 +0000 (0:00:00.011) 0:01:37.666 ************ skipping: [sut] => {} TASK [Show test volume size] *************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml:117 Friday 31 May 2024 15:09:41 +0000 (0:00:00.011) 0:01:37.677 ************ skipping: [sut] => {} TASK [Establish base value for expected thin pool size] ************************ task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml:121 Friday 31 May 2024 15:09:41 +0000 (0:00:00.012) 0:01:37.689 ************ 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-2zs40rrd2/tests/test-verify-volume-size.yml:129 Friday 31 May 2024 15:09:41 +0000 (0:00:00.012) 0:01:37.702 ************ 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-2zs40rrd2/tests/test-verify-volume-size.yml:138 Friday 31 May 2024 15:09:41 +0000 (0:00:00.011) 0:01:37.713 ************ 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-2zs40rrd2/tests/test-verify-volume-size.yml:142 Friday 31 May 2024 15:09:41 +0000 (0:00:00.011) 0:01:37.724 ************ 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-2zs40rrd2/tests/test-verify-volume-size.yml:150 Friday 31 May 2024 15:09:41 +0000 (0:00:00.011) 0:01:37.735 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Show actual size] ******************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml:156 Friday 31 May 2024 15:09:41 +0000 (0:00:00.011) 0:01:37.746 ************ 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-2zs40rrd2/tests/test-verify-volume-size.yml:160 Friday 31 May 2024 15:09:41 +0000 (0:00:00.014) 0:01:37.761 ************ ok: [sut] => { "storage_test_expected_size": "4294967296" } TASK [Assert expected size is actual size] ************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml:164 Friday 31 May 2024 15:09:41 +0000 (0:00:00.012) 0:01:37.773 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-cache.yml:5 Friday 31 May 2024 15:09:41 +0000 (0:00:00.016) 0:01:37.790 ************ 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.031563", "end": "2024-05-31 15:09:41.783737", "rc": 0, "start": "2024-05-31 15:09:41.752174" } 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-2zs40rrd2/tests/test-verify-volume-cache.yml:13 Friday 31 May 2024 15:09:41 +0000 (0:00:00.222) 0:01:38.012 ************ ok: [sut] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [Check segment type] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-cache.yml:18 Friday 31 May 2024 15:09:41 +0000 (0:00:00.016) 0:01:38.028 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set LV cache size] ******************************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-cache.yml:27 Friday 31 May 2024 15:09:41 +0000 (0:00:00.016) 0:01:38.045 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Parse the requested cache size] ****************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-cache.yml:35 Friday 31 May 2024 15:09:41 +0000 (0:00:00.013) 0:01:38.058 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set expected cache size] ************************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-cache.yml:41 Friday 31 May 2024 15:09:41 +0000 (0:00:00.013) 0:01:38.071 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-cache.yml:47 Friday 31 May 2024 15:09:41 +0000 (0:00:00.014) 0:01:38.085 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume.yml:27 Friday 31 May 2024 15:09:41 +0000 (0:00:00.013) 0:01:38.099 ************ 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-2zs40rrd2/tests/verify-role-results.yml:44 Friday 31 May 2024 15:09:41 +0000 (0:00:00.011) 0:01:38.110 ************ TASK [Clean up variable namespace] ********************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-role-results.yml:54 Friday 31 May 2024 15:09:41 +0000 (0:00:00.010) 0:01:38.120 ************ 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-2zs40rrd2/tests/tests_luks_pool.yml:138 Friday 31 May 2024 15:09:41 +0000 (0:00:00.010) 0:01:38.131 ************ ok: [sut] => { "changed": false, "path": "/tmp/storage_test3g694mm2lukskey", "state": "absent" } TASK [Create a file] *********************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/create-test-file.yml:12 Friday 31 May 2024 15:09:42 +0000 (0:00:00.268) 0:01:38.400 ************ 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-2zs40rrd2/tests/tests_luks_pool.yml:147 Friday 31 May 2024 15:09:42 +0000 (0:00:00.199) 0:01:38.599 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-role-failed.yml for sut TASK [Store global variable value copy] **************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-role-failed.yml:4 Friday 31 May 2024 15:09:42 +0000 (0:00:00.018) 0:01:38.618 ************ 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-2zs40rrd2/tests/verify-role-failed.yml:10 Friday 31 May 2024 15:09:42 +0000 (0:00:00.015) 0:01:38.633 ************ TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Friday 31 May 2024 15:09:42 +0000 (0:00:00.017) 0:01:38.651 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Friday 31 May 2024 15:09:42 +0000 (0:00:00.016) 0:01:38.667 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Friday 31 May 2024 15:09:42 +0000 (0:00:00.014) 0:01:38.682 ************ 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-2zs40rrd2/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-2zs40rrd2/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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:26 Friday 31 May 2024 15:09:42 +0000 (0:00:00.032) 0:01:38.714 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:31 Friday 31 May 2024 15:09:42 +0000 (0:00:00.013) 0:01:38.728 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Friday 31 May 2024 15:09:42 +0000 (0:00:00.012) 0:01:38.740 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Friday 31 May 2024 15:09:42 +0000 (0:00:00.011) 0:01:38.751 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Friday 31 May 2024 15:09:42 +0000 (0:00:00.011) 0:01:38.763 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Friday 31 May 2024 15:09:42 +0000 (0:00:00.026) 0:01:38.789 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:11 Friday 31 May 2024 15:09:42 +0000 (0:00:00.012) 0:01:38.801 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:16 Friday 31 May 2024 15:09:42 +0000 (0:00:00.015) 0:01:38.817 ************ ok: [sut] => { "storage_volumes": [] } TASK [linux-system-roles.storage : Get required packages] ********************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:21 Friday 31 May 2024 15:09:42 +0000 (0:00:00.014) 0:01:38.832 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:34 Friday 31 May 2024 15:09:42 +0000 (0:00:00.012) 0:01:38.844 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:41 Friday 31 May 2024 15:09:42 +0000 (0:00:00.012) 0:01:38.856 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:57 Friday 31 May 2024 15:09:42 +0000 (0:00:00.013) 0:01:38.870 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:64 Friday 31 May 2024 15:09:42 +0000 (0:00:00.012) 0:01:38.882 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:78 Friday 31 May 2024 15:09:42 +0000 (0:00:00.018) 0:01:38.901 ************ TASK [linux-system-roles.storage : Manage the pools and volumes to match the specified state] *** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:84 Friday 31 May 2024 15:09:42 +0000 (0:00:00.011) 0:01:38.913 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:106 Friday 31 May 2024 15:09:47 +0000 (0:00:04.576) 0:01:43.489 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:110 Friday 31 May 2024 15:09:47 +0000 (0:00:00.016) 0:01:43.506 ************ TASK [Check that we failed in the role] **************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-role-failed.yml:29 Friday 31 May 2024 15:09:47 +0000 (0:00:00.011) 0:01:43.517 ************ 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-2zs40rrd2/tests/verify-role-failed.yml:34 Friday 31 May 2024 15:09:47 +0000 (0:00:00.014) 0:01:43.532 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify correct exception or error message] ******************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-role-failed.yml:45 Friday 31 May 2024 15:09:47 +0000 (0:00:00.019) 0:01:43.552 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the file] *********************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-data-preservation.yml:11 Friday 31 May 2024 15:09:47 +0000 (0:00:00.012) 0:01:43.564 ************ ok: [sut] => { "changed": false, "stat": { "atime": 1717168182.3695798, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1717168182.3695798, "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": 1717168182.3695798, "nlink": 1, "path": "/opt/test1/quux", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "version": "653537438", "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-2zs40rrd2/tests/verify-data-preservation.yml:16 Friday 31 May 2024 15:09:47 +0000 (0:00:00.201) 0:01:43.766 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove the encryption layer] ********************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/tests_luks_pool.yml:169 Friday 31 May 2024 15:09:47 +0000 (0:00:00.015) 0:01:43.781 ************ TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Friday 31 May 2024 15:09:47 +0000 (0:00:00.023) 0:01:43.804 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Friday 31 May 2024 15:09:47 +0000 (0:00:00.036) 0:01:43.841 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Friday 31 May 2024 15:09:47 +0000 (0:00:00.015) 0:01:43.856 ************ 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-2zs40rrd2/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-2zs40rrd2/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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:26 Friday 31 May 2024 15:09:47 +0000 (0:00:00.032) 0:01:43.888 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:31 Friday 31 May 2024 15:09:47 +0000 (0:00:00.014) 0:01:43.903 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Friday 31 May 2024 15:09:47 +0000 (0:00:00.012) 0:01:43.915 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Friday 31 May 2024 15:09:47 +0000 (0:00:00.013) 0:01:43.929 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Friday 31 May 2024 15:09:47 +0000 (0:00:00.011) 0:01:43.940 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Friday 31 May 2024 15:09:47 +0000 (0:00:00.024) 0:01:43.964 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:11 Friday 31 May 2024 15:09:47 +0000 (0:00:00.012) 0:01:43.977 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:16 Friday 31 May 2024 15:09:47 +0000 (0:00:00.015) 0:01:43.992 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:21 Friday 31 May 2024 15:09:47 +0000 (0:00:00.012) 0:01:44.004 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:34 Friday 31 May 2024 15:09:47 +0000 (0:00:00.012) 0:01:44.017 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:41 Friday 31 May 2024 15:09:47 +0000 (0:00:00.012) 0:01:44.029 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:57 Friday 31 May 2024 15:09:47 +0000 (0:00:00.012) 0:01:44.041 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:64 Friday 31 May 2024 15:09:47 +0000 (0:00:00.012) 0:01:44.054 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:78 Friday 31 May 2024 15:09:47 +0000 (0:00:00.022) 0:01:44.076 ************ TASK [linux-system-roles.storage : Manage the pools and volumes to match the specified state] *** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:84 Friday 31 May 2024 15:09:47 +0000 (0:00:00.011) 0:01:44.087 ************ 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-de403b0b-5a25-47b7-a7fd-673b745f0fe1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/mapper/luks-de403b0b-5a25-47b7-a7fd-673b745f0fe1", "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-de403b0b-5a25-47b7-a7fd-673b745f0fe1", "password": "-", "state": "absent" } ], "leaves": [ "/dev/sdb", "/dev/sdc", "/dev/sdd", "/dev/sde", "/dev/sdf", "/dev/sdg", "/dev/sdh", "/dev/sdi", "/dev/xvda1", "/dev/mapper/foo-test1" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" }, { "dump": 0, "fstype": "xfs", "group": null, "mode": null, "opts": "defaults", "owner": null, "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "xfsprogs", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_clevis_pin": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks2", "encryption_password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "encryption_tang_thumbprint": null, "encryption_tang_url": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "shared": false, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_group": null, "mount_mode": null, "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "mount_user": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "raid_stripe_size": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:98 Friday 31 May 2024 15:09:53 +0000 (0:00:05.925) 0:01:50.013 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:110 Friday 31 May 2024 15:09:53 +0000 (0:00:00.012) 0:01:50.026 ************ TASK [linux-system-roles.storage : Show blivet_output] ************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:116 Friday 31 May 2024 15:09:53 +0000 (0:00:00.011) 0:01:50.037 ************ 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-de403b0b-5a25-47b7-a7fd-673b745f0fe1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/mapper/luks-de403b0b-5a25-47b7-a7fd-673b745f0fe1", "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-de403b0b-5a25-47b7-a7fd-673b745f0fe1", "password": "-", "state": "absent" } ], "failed": false, "leaves": [ "/dev/sdb", "/dev/sdc", "/dev/sdd", "/dev/sde", "/dev/sdf", "/dev/sdg", "/dev/sdh", "/dev/sdi", "/dev/xvda1", "/dev/mapper/foo-test1" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" }, { "dump": 0, "fstype": "xfs", "group": null, "mode": null, "opts": "defaults", "owner": null, "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "xfsprogs", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_clevis_pin": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks2", "encryption_password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "encryption_tang_thumbprint": null, "encryption_tang_url": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "shared": false, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_group": null, "mount_mode": null, "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "mount_user": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "raid_stripe_size": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : Set the list of pools for test verification] *** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:125 Friday 31 May 2024 15:09:53 +0000 (0:00:00.015) 0:01:50.053 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:129 Friday 31 May 2024 15:09:53 +0000 (0:00:00.014) 0:01:50.068 ************ ok: [sut] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : Remove obsolete mounts] ********************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:145 Friday 31 May 2024 15:09:53 +0000 (0:00:00.013) 0:01:50.081 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:157 Friday 31 May 2024 15:09:54 +0000 (0:00:00.203) 0:01:50.285 ************ ok: [sut] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : Set up new/current mounts] ****************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:162 Friday 31 May 2024 15:09:54 +0000 (0:00:00.477) 0:01:50.762 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:174 Friday 31 May 2024 15:09:54 +0000 (0:00:00.218) 0:01:50.980 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:189 Friday 31 May 2024 15:09:54 +0000 (0:00:00.017) 0:01:50.997 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:197 Friday 31 May 2024 15:09:55 +0000 (0:00:00.474) 0:01:51.472 ************ ok: [sut] => { "changed": false, "stat": { "atime": 1717168172.376838, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fb7999a465a0de0b22bd29b8b3b0931b8e29968e", "ctime": 1717168171.019873, "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": 1717168171.018873, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 87, "uid": 0, "version": "2755322111", "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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:202 Friday 31 May 2024 15:09:55 +0000 (0:00:00.203) 0:01:51.675 ************ changed: [sut] => (item={'backing_device': '/dev/sda', 'name': 'luks-de403b0b-5a25-47b7-a7fd-673b745f0fe1', 'password': '-', 'state': 'absent'}) => { "ansible_loop_var": "entry", "backup": "", "changed": true, "entry": { "backing_device": "/dev/sda", "name": "luks-de403b0b-5a25-47b7-a7fd-673b745f0fe1", "password": "-", "state": "absent" }, "found": 1 } MSG: 1 line(s) removed TASK [linux-system-roles.storage : Update facts] ******************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:224 Friday 31 May 2024 15:09:55 +0000 (0:00:00.206) 0:01:51.882 ************ ok: [sut] TASK [Verify role results] ***************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/tests_luks_pool.yml:185 Friday 31 May 2024 15:09:56 +0000 (0:00:00.613) 0:01:52.495 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-role-results.yml for sut TASK [Print out pool information] ********************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-role-results.yml:2 Friday 31 May 2024 15:09:56 +0000 (0:00:00.040) 0:01:52.535 ************ 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-2zs40rrd2/tests/verify-role-results.yml:7 Friday 31 May 2024 15:09:56 +0000 (0:00:00.017) 0:01:52.553 ************ skipping: [sut] => {} TASK [Collect info about the volumes.] ***************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-role-results.yml:15 Friday 31 May 2024 15:09:56 +0000 (0:00:00.012) 0:01:52.565 ************ 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": "1e5fbff7-f9b5-41fd-85f1-0d4dac016a13" }, "/dev/sda": { "fstype": "LVM2_member", "label": "", "mountpoint": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "bJOYOz-0McO-iX5F-zQ4t-HKW2-eO0e-fqh1LM" }, "/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-2zs40rrd2/tests/verify-role-results.yml:20 Friday 31 May 2024 15:09:56 +0000 (0:00:00.200) 0:01:52.765 ************ ok: [sut] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002796", "end": "2024-05-31 15:09:56.730453", "rc": 0, "start": "2024-05-31 15:09:56.727657" } 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-2zs40rrd2/tests/verify-role-results.yml:25 Friday 31 May 2024 15:09:56 +0000 (0:00:00.194) 0:01:52.960 ************ ok: [sut] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002794", "end": "2024-05-31 15:09:56.925932", "failed_when_result": false, "rc": 0, "start": "2024-05-31 15:09:56.923138" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-role-results.yml:34 Friday 31 May 2024 15:09:56 +0000 (0:00:00.194) 0:01:53.155 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool.yml for sut TASK [Set _storage_pool_tests] ************************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool.yml:5 Friday 31 May 2024 15:09:56 +0000 (0:00:00.024) 0:01:53.179 ************ ok: [sut] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [Get VG shared value status] ********************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool.yml:18 Friday 31 May 2024 15:09:56 +0000 (0:00:00.011) 0:01:53.191 ************ ok: [sut] => { "changed": false, "cmd": [ "vgs", "--noheadings", "--binary", "-o", "shared", "foo" ], "delta": "0:00:00.024599", "end": "2024-05-31 15:09:57.180926", "rc": 0, "start": "2024-05-31 15:09:57.156327" } STDOUT: 0 TASK [Verify that VG shared value checks out] ********************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool.yml:24 Friday 31 May 2024 15:09:57 +0000 (0:00:00.218) 0:01:53.410 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify pool subset] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool.yml:34 Friday 31 May 2024 15:09:57 +0000 (0:00:00.017) 0:01:53.428 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool-members.yml for sut included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool-volumes.yml for sut TASK [Set test variables] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool-members.yml:2 Friday 31 May 2024 15:09:57 +0000 (0:00:00.027) 0:01:53.455 ************ 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-2zs40rrd2/tests/test-verify-pool-members.yml:13 Friday 31 May 2024 15:09:57 +0000 (0:00:00.016) 0:01:53.472 ************ 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-2zs40rrd2/tests/test-verify-pool-members.yml:22 Friday 31 May 2024 15:09:57 +0000 (0:00:00.194) 0:01:53.666 ************ ok: [sut] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [Set pool pvs] ************************************************************ task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool-members.yml:27 Friday 31 May 2024 15:09:57 +0000 (0:00:00.014) 0:01:53.681 ************ ok: [sut] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool-members.yml:33 Friday 31 May 2024 15:09:57 +0000 (0:00:00.015) 0:01:53.697 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set expected pv type] **************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool-members.yml:42 Friday 31 May 2024 15:09:57 +0000 (0:00:00.015) 0:01:53.712 ************ ok: [sut] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [Set expected pv type] **************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool-members.yml:48 Friday 31 May 2024 15:09:57 +0000 (0:00:00.015) 0:01:53.727 ************ ok: [sut] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [Set expected pv type] **************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool-members.yml:54 Friday 31 May 2024 15:09:57 +0000 (0:00:00.014) 0:01:53.742 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool-members.yml:59 Friday 31 May 2024 15:09:57 +0000 (0:00:00.012) 0:01:53.754 ************ 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-2zs40rrd2/tests/test-verify-pool-members.yml:73 Friday 31 May 2024 15:09:57 +0000 (0:00:00.018) 0:01:53.773 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-md.yml for sut TASK [Get information about RAID] ********************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-md.yml:8 Friday 31 May 2024 15:09:57 +0000 (0:00:00.022) 0:01:53.796 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set active devices regex] ************************************************ task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-md.yml:14 Friday 31 May 2024 15:09:57 +0000 (0:00:00.012) 0:01:53.808 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set spare devices regex] ************************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-md.yml:21 Friday 31 May 2024 15:09:57 +0000 (0:00:00.012) 0:01:53.821 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set md version regex] **************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-md.yml:28 Friday 31 May 2024 15:09:57 +0000 (0:00:00.012) 0:01:53.833 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set md chunk size regex] ************************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-md.yml:35 Friday 31 May 2024 15:09:57 +0000 (0:00:00.012) 0:01:53.845 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Parse the chunk size] **************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-md.yml:45 Friday 31 May 2024 15:09:57 +0000 (0:00:00.011) 0:01:53.856 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID active devices count] ***************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-md.yml:54 Friday 31 May 2024 15:09:57 +0000 (0:00:00.012) 0:01:53.868 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID spare devices count] ****************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-md.yml:64 Friday 31 May 2024 15:09:57 +0000 (0:00:00.011) 0:01:53.879 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID metadata version] ********************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-md.yml:74 Friday 31 May 2024 15:09:57 +0000 (0:00:00.011) 0:01:53.891 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID chunk size] *************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-md.yml:85 Friday 31 May 2024 15:09:57 +0000 (0:00:00.011) 0:01:53.902 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Reset variables used by tests] ******************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-md.yml:95 Friday 31 May 2024 15:09:57 +0000 (0:00:00.011) 0:01:53.913 ************ 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-2zs40rrd2/tests/test-verify-pool-members.yml:76 Friday 31 May 2024 15:09:57 +0000 (0:00:00.011) 0:01:53.924 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-members-lvmraid.yml for sut TASK [Validate pool member LVM RAID settings] ********************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-members-lvmraid.yml:2 Friday 31 May 2024 15:09:57 +0000 (0:00:00.024) 0:01:53.948 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-lvmraid.yml for sut TASK [Get information about the LV] ******************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-lvmraid.yml:8 Friday 31 May 2024 15:09:57 +0000 (0:00:00.023) 0:01:53.972 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set LV segment type] ***************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-lvmraid.yml:16 Friday 31 May 2024 15:09:57 +0000 (0:00:00.012) 0:01:53.984 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check segment type] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-lvmraid.yml:21 Friday 31 May 2024 15:09:57 +0000 (0:00:00.013) 0:01:53.997 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set LV stripe size] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-lvmraid.yml:29 Friday 31 May 2024 15:09:57 +0000 (0:00:00.012) 0:01:54.009 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Parse the requested stripe size] ***************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-lvmraid.yml:34 Friday 31 May 2024 15:09:57 +0000 (0:00:00.012) 0:01:54.021 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set expected stripe size] ************************************************ task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-lvmraid.yml:40 Friday 31 May 2024 15:09:57 +0000 (0:00:00.011) 0:01:54.032 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check stripe size] ******************************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-lvmraid.yml:46 Friday 31 May 2024 15:09:57 +0000 (0:00:00.012) 0:01:54.044 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool-members.yml:79 Friday 31 May 2024 15:09:57 +0000 (0:00:00.012) 0:01:54.057 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-members-thin.yml for sut TASK [Validate pool member thinpool settings] ********************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-members-thin.yml:2 Friday 31 May 2024 15:09:57 +0000 (0:00:00.045) 0:01:54.102 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-thin.yml for sut TASK [Get information about thinpool] ****************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-thin.yml:8 Friday 31 May 2024 15:09:57 +0000 (0:00:00.025) 0:01:54.127 ************ 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-2zs40rrd2/tests/verify-pool-member-thin.yml:16 Friday 31 May 2024 15:09:57 +0000 (0:00:00.012) 0:01:54.140 ************ 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-2zs40rrd2/tests/verify-pool-member-thin.yml:23 Friday 31 May 2024 15:09:57 +0000 (0:00:00.011) 0:01:54.152 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Reset variable used by test] ********************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-thin.yml:27 Friday 31 May 2024 15:09:57 +0000 (0:00:00.011) 0:01:54.163 ************ ok: [sut] => { "ansible_facts": { "storage_test_thin_status": null }, "changed": false } TASK [Check member encryption] ************************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool-members.yml:82 Friday 31 May 2024 15:09:57 +0000 (0:00:00.011) 0:01:54.174 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-members-encryption.yml for sut TASK [Set test variables] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-members-encryption.yml:5 Friday 31 May 2024 15:09:57 +0000 (0:00:00.024) 0:01:54.199 ************ 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-2zs40rrd2/tests/verify-pool-members-encryption.yml:13 Friday 31 May 2024 15:09:58 +0000 (0:00:00.015) 0:01:54.214 ************ 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-2zs40rrd2/tests/verify-pool-members-encryption.yml:20 Friday 31 May 2024 15:09:58 +0000 (0:00:00.014) 0:01:54.229 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-crypttab.yml for sut TASK [Set variables used by tests] ********************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-crypttab.yml:2 Friday 31 May 2024 15:09:58 +0000 (0:00:00.021) 0:01:54.250 ************ ok: [sut] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-crypttab.yml:9 Friday 31 May 2024 15:09:58 +0000 (0:00:00.014) 0:01:54.265 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-crypttab.yml:18 Friday 31 May 2024 15:09:58 +0000 (0:00:00.015) 0:01:54.281 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-crypttab.yml:27 Friday 31 May 2024 15:09:58 +0000 (0:00:00.012) 0:01:54.293 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-crypttab.yml:37 Friday 31 May 2024 15:09:58 +0000 (0:00:00.012) 0:01:54.305 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clear test variables] **************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-crypttab.yml:47 Friday 31 May 2024 15:09:58 +0000 (0:00:00.012) 0:01:54.318 ************ ok: [sut] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [Clear test variables] **************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-members-encryption.yml:27 Friday 31 May 2024 15:09:58 +0000 (0:00:00.011) 0:01:54.329 ************ 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-2zs40rrd2/tests/test-verify-pool-members.yml:85 Friday 31 May 2024 15:09:58 +0000 (0:00:00.011) 0:01:54.340 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-members-vdo.yml for sut TASK [Validate pool member VDO settings] *************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-members-vdo.yml:2 Friday 31 May 2024 15:09:58 +0000 (0:00:00.026) 0:01:54.367 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-vdo.yml for sut TASK [Get information about VDO deduplication] ********************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-vdo.yml:9 Friday 31 May 2024 15:09:58 +0000 (0:00:00.024) 0:01:54.391 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if VDO deduplication is off] *************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-vdo.yml:16 Friday 31 May 2024 15:09:58 +0000 (0:00:00.012) 0:01:54.403 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if VDO deduplication is on] **************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-vdo.yml:22 Friday 31 May 2024 15:09:58 +0000 (0:00:00.013) 0:01:54.416 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about VDO compression] *********************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-vdo.yml:28 Friday 31 May 2024 15:09:58 +0000 (0:00:00.012) 0:01:54.429 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if VDO deduplication is off] *************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-vdo.yml:35 Friday 31 May 2024 15:09:58 +0000 (0:00:00.012) 0:01:54.441 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if VDO deduplication is on] **************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-vdo.yml:41 Friday 31 May 2024 15:09:58 +0000 (0:00:00.012) 0:01:54.453 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clear test variables] **************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-vdo.yml:47 Friday 31 May 2024 15:09:58 +0000 (0:00:00.012) 0:01:54.465 ************ ok: [sut] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [Check Stratis] *********************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool-members.yml:88 Friday 31 May 2024 15:09:58 +0000 (0:00:00.012) 0:01:54.478 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-stratis.yml for sut TASK [Run 'stratis report'] **************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-stratis.yml:6 Friday 31 May 2024 15:09:58 +0000 (0:00:00.029) 0:01:54.507 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about Stratis] ******************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-stratis.yml:11 Friday 31 May 2024 15:09:58 +0000 (0:00:00.012) 0:01:54.520 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the pools was created] *************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-stratis.yml:15 Friday 31 May 2024 15:09:58 +0000 (0:00:00.012) 0:01:54.532 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that encryption is correctly set] ********************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-stratis.yml:26 Friday 31 May 2024 15:09:58 +0000 (0:00:00.013) 0:01:54.545 ************ 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-2zs40rrd2/tests/verify-pool-stratis.yml:36 Friday 31 May 2024 15:09:58 +0000 (0:00:00.012) 0:01:54.558 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Reset variable used by test] ********************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-stratis.yml:49 Friday 31 May 2024 15:09:58 +0000 (0:00:00.011) 0:01:54.569 ************ ok: [sut] => { "ansible_facts": { "storage_test_stratis_report": null }, "changed": false } TASK [Clean up test variables] ************************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool-members.yml:91 Friday 31 May 2024 15:09:58 +0000 (0:00:00.010) 0:01:54.580 ************ 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-2zs40rrd2/tests/test-verify-pool-volumes.yml:3 Friday 31 May 2024 15:09:58 +0000 (0:00:00.010) 0:01:54.591 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume.yml for sut TASK [Set storage volume test variables] *************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume.yml:2 Friday 31 May 2024 15:09:58 +0000 (0:00:00.022) 0:01:54.613 ************ 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-2zs40rrd2/tests/test-verify-volume.yml:21 Friday 31 May 2024 15:09:58 +0000 (0:00:00.015) 0:01:54.629 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-mount.yml for sut included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-fstab.yml for sut included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-fs.yml for sut included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-device.yml for sut included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-encryption.yml for sut included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-md.yml for sut included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml for sut included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-cache.yml for sut TASK [Get expected mount device based on device type] ************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-mount.yml:7 Friday 31 May 2024 15:09:58 +0000 (0:00:00.056) 0:01:54.685 ************ 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-2zs40rrd2/tests/test-verify-volume-mount.yml:16 Friday 31 May 2024 15:09:58 +0000 (0:00:00.014) 0:01:54.700 ************ 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-2zs40rrd2/tests/test-verify-volume-mount.yml:31 Friday 31 May 2024 15:09:58 +0000 (0:00:00.015) 0:01:54.715 ************ 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-2zs40rrd2/tests/test-verify-volume-mount.yml:44 Friday 31 May 2024 15:09:58 +0000 (0:00:00.012) 0:01:54.728 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify mount directory user] ********************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-mount.yml:53 Friday 31 May 2024 15:09:58 +0000 (0:00:00.014) 0:01:54.743 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify mount directory group] ******************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-mount.yml:65 Friday 31 May 2024 15:09:58 +0000 (0:00:00.012) 0:01:54.755 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify mount directory permissions] ************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-mount.yml:77 Friday 31 May 2024 15:09:58 +0000 (0:00:00.012) 0:01:54.767 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get path of test volume device] ****************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-mount.yml:92 Friday 31 May 2024 15:09:58 +0000 (0:00:00.012) 0:01:54.779 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-mount.yml:98 Friday 31 May 2024 15:09:58 +0000 (0:00:00.012) 0:01:54.791 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-mount.yml:104 Friday 31 May 2024 15:09:58 +0000 (0:00:00.039) 0:01:54.830 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-mount.yml:116 Friday 31 May 2024 15:09:58 +0000 (0:00:00.013) 0:01:54.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-2zs40rrd2/tests/test-verify-volume-fstab.yml:2 Friday 31 May 2024 15:09:58 +0000 (0:00:00.011) 0:01:54.855 ************ 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-2zs40rrd2/tests/test-verify-volume-fstab.yml:40 Friday 31 May 2024 15:09:58 +0000 (0:00:00.024) 0:01:54.879 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-fstab.yml:48 Friday 31 May 2024 15:09:58 +0000 (0:00:00.015) 0:01:54.895 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-fstab.yml:58 Friday 31 May 2024 15:09:58 +0000 (0:00:00.014) 0:01:54.909 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-fstab.yml:71 Friday 31 May 2024 15:09:58 +0000 (0:00:00.012) 0:01:54.922 ************ 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-2zs40rrd2/tests/test-verify-volume-fs.yml:6 Friday 31 May 2024 15:09:58 +0000 (0:00:00.011) 0:01:54.933 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-fs.yml:17 Friday 31 May 2024 15:09:58 +0000 (0:00:00.016) 0:01:54.949 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-device.yml:3 Friday 31 May 2024 15:09:58 +0000 (0:00:00.017) 0:01:54.967 ************ ok: [sut] => { "changed": false, "stat": { "atime": 1717168193.7272863, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1717168193.7272863, "dev": 6, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 83110, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1717168193.7272863, "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-2zs40rrd2/tests/test-verify-volume-device.yml:9 Friday 31 May 2024 15:09:58 +0000 (0:00:00.199) 0:01:55.166 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the presence/absence of the device node] ************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-device.yml:16 Friday 31 May 2024 15:09:58 +0000 (0:00:00.017) 0:01:55.183 ************ 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-2zs40rrd2/tests/test-verify-volume-device.yml:24 Friday 31 May 2024 15:09:58 +0000 (0:00:00.012) 0:01:55.196 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Process volume type (set initial value) (1/2)] *************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-device.yml:30 Friday 31 May 2024 15:09:59 +0000 (0:00:00.015) 0:01:55.212 ************ 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-2zs40rrd2/tests/test-verify-volume-device.yml:34 Friday 31 May 2024 15:09:59 +0000 (0:00:00.013) 0:01:55.226 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-device.yml:39 Friday 31 May 2024 15:09:59 +0000 (0:00:00.013) 0:01:55.239 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-encryption.yml:3 Friday 31 May 2024 15:09:59 +0000 (0:00:00.014) 0:01:55.253 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-encryption.yml:10 Friday 31 May 2024 15:09:59 +0000 (0:00:00.011) 0:01:55.265 ************ 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-2zs40rrd2/tests/test-verify-volume-encryption.yml:17 Friday 31 May 2024 15:10:01 +0000 (0:00:02.648) 0:01:57.913 ************ 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-2zs40rrd2/tests/test-verify-volume-encryption.yml:23 Friday 31 May 2024 15:10:01 +0000 (0:00:00.013) 0:01:57.926 ************ 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-2zs40rrd2/tests/test-verify-volume-encryption.yml:32 Friday 31 May 2024 15:10:01 +0000 (0:00:00.012) 0:01:57.939 ************ 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-2zs40rrd2/tests/test-verify-volume-encryption.yml:45 Friday 31 May 2024 15:10:01 +0000 (0:00:00.018) 0:01:57.957 ************ 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-2zs40rrd2/tests/test-verify-volume-encryption.yml:51 Friday 31 May 2024 15:10:01 +0000 (0:00:00.012) 0:01:57.970 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-encryption.yml:56 Friday 31 May 2024 15:10:01 +0000 (0:00:00.012) 0:01:57.982 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-encryption.yml:69 Friday 31 May 2024 15:10:01 +0000 (0:00:00.012) 0:01:57.995 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-encryption.yml:81 Friday 31 May 2024 15:10:01 +0000 (0:00:00.012) 0:01:58.007 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set test variables] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-encryption.yml:94 Friday 31 May 2024 15:10:01 +0000 (0:00:00.013) 0:01:58.021 ************ 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-2zs40rrd2/tests/test-verify-volume-encryption.yml:106 Friday 31 May 2024 15:10:01 +0000 (0:00:00.015) 0:01:58.037 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-encryption.yml:114 Friday 31 May 2024 15:10:01 +0000 (0:00:00.014) 0:01:58.051 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-encryption.yml:122 Friday 31 May 2024 15:10:01 +0000 (0:00:00.012) 0:01:58.064 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-encryption.yml:131 Friday 31 May 2024 15:10:01 +0000 (0:00:00.012) 0:01:58.076 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clear test variables] **************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-encryption.yml:140 Friday 31 May 2024 15:10:01 +0000 (0:00:00.012) 0:01:58.088 ************ 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-2zs40rrd2/tests/test-verify-volume-md.yml:8 Friday 31 May 2024 15:10:01 +0000 (0:00:00.012) 0:01:58.101 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set active devices regex] ************************************************ task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-md.yml:14 Friday 31 May 2024 15:10:01 +0000 (0:00:00.012) 0:01:58.113 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set spare devices regex] ************************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-md.yml:21 Friday 31 May 2024 15:10:01 +0000 (0:00:00.012) 0:01:58.126 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set md version regex] **************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-md.yml:28 Friday 31 May 2024 15:10:01 +0000 (0:00:00.012) 0:01:58.138 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set chunk size regex] **************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-md.yml:35 Friday 31 May 2024 15:10:01 +0000 (0:00:00.012) 0:01:58.151 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Parse the chunk size] **************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-md.yml:45 Friday 31 May 2024 15:10:01 +0000 (0:00:00.012) 0:01:58.164 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID active devices count] ***************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-md.yml:54 Friday 31 May 2024 15:10:01 +0000 (0:00:00.013) 0:01:58.178 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID spare devices count] ****************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-md.yml:63 Friday 31 May 2024 15:10:01 +0000 (0:00:00.012) 0:01:58.190 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID metadata version] ********************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-md.yml:72 Friday 31 May 2024 15:10:01 +0000 (0:00:00.012) 0:01:58.203 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID chunk size] *************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-md.yml:81 Friday 31 May 2024 15:10:02 +0000 (0:00:00.012) 0:01:58.215 ************ 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-2zs40rrd2/tests/test-verify-volume-size.yml:3 Friday 31 May 2024 15:10:02 +0000 (0:00:00.012) 0:01:58.228 ************ 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-2zs40rrd2/tests/test-verify-volume-size.yml:11 Friday 31 May 2024 15:10:02 +0000 (0:00:00.198) 0:01:58.427 ************ 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-2zs40rrd2/tests/test-verify-volume-size.yml:20 Friday 31 May 2024 15:10:02 +0000 (0:00:00.198) 0:01:58.626 ************ ok: [sut] => { "ansible_facts": { "storage_test_expected_size": "4294967296" }, "changed": false } TASK [Show expected size] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml:28 Friday 31 May 2024 15:10:02 +0000 (0:00:00.017) 0:01:58.643 ************ ok: [sut] => { "storage_test_expected_size": "4294967296" } TASK [Get the size of parent/pool device] ************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml:32 Friday 31 May 2024 15:10:02 +0000 (0:00:00.013) 0:01:58.656 ************ ok: [sut] => { "bytes": 10726680821, "changed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } TASK [Show test pool] ********************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml:46 Friday 31 May 2024 15:10:02 +0000 (0:00:00.194) 0:01:58.851 ************ skipping: [sut] => {} TASK [Show test blockinfo] ***************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml:50 Friday 31 May 2024 15:10:02 +0000 (0:00:00.015) 0:01:58.866 ************ skipping: [sut] => {} TASK [Show test pool size] ***************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml:54 Friday 31 May 2024 15:10:02 +0000 (0:00:00.014) 0:01:58.881 ************ skipping: [sut] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml:58 Friday 31 May 2024 15:10:02 +0000 (0:00:00.013) 0:01:58.894 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Default thin pool reserved space values] ********************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml:68 Friday 31 May 2024 15:10:02 +0000 (0:00:00.013) 0:01:58.908 ************ 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-2zs40rrd2/tests/test-verify-volume-size.yml:72 Friday 31 May 2024 15:10:02 +0000 (0:00:00.011) 0:01:58.919 ************ 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-2zs40rrd2/tests/test-verify-volume-size.yml:77 Friday 31 May 2024 15:10:02 +0000 (0:00:00.013) 0:01:58.933 ************ 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-2zs40rrd2/tests/test-verify-volume-size.yml:83 Friday 31 May 2024 15:10:02 +0000 (0:00:00.012) 0:01:58.945 ************ 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-2zs40rrd2/tests/test-verify-volume-size.yml:88 Friday 31 May 2024 15:10:02 +0000 (0:00:00.011) 0:01:58.956 ************ 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-2zs40rrd2/tests/test-verify-volume-size.yml:96 Friday 31 May 2024 15:10:02 +0000 (0:00:00.011) 0:01:58.967 ************ 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-2zs40rrd2/tests/test-verify-volume-size.yml:104 Friday 31 May 2024 15:10:02 +0000 (0:00:00.011) 0:01:58.978 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Show max thin pool size] ************************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml:109 Friday 31 May 2024 15:10:02 +0000 (0:00:00.011) 0:01:58.989 ************ skipping: [sut] => {} TASK [Show volume thin pool size] ********************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml:113 Friday 31 May 2024 15:10:02 +0000 (0:00:00.012) 0:01:59.002 ************ skipping: [sut] => {} TASK [Show test volume size] *************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml:117 Friday 31 May 2024 15:10:02 +0000 (0:00:00.011) 0:01:59.013 ************ skipping: [sut] => {} TASK [Establish base value for expected thin pool size] ************************ task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml:121 Friday 31 May 2024 15:10:02 +0000 (0:00:00.011) 0:01:59.024 ************ 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-2zs40rrd2/tests/test-verify-volume-size.yml:129 Friday 31 May 2024 15:10:02 +0000 (0:00:00.011) 0:01:59.035 ************ 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-2zs40rrd2/tests/test-verify-volume-size.yml:138 Friday 31 May 2024 15:10:02 +0000 (0:00:00.012) 0:01:59.048 ************ 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-2zs40rrd2/tests/test-verify-volume-size.yml:142 Friday 31 May 2024 15:10:02 +0000 (0:00:00.013) 0:01:59.062 ************ 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-2zs40rrd2/tests/test-verify-volume-size.yml:150 Friday 31 May 2024 15:10:02 +0000 (0:00:00.032) 0:01:59.095 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Show actual size] ******************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml:156 Friday 31 May 2024 15:10:02 +0000 (0:00:00.012) 0:01:59.107 ************ 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-2zs40rrd2/tests/test-verify-volume-size.yml:160 Friday 31 May 2024 15:10:02 +0000 (0:00:00.013) 0:01:59.121 ************ ok: [sut] => { "storage_test_expected_size": "4294967296" } TASK [Assert expected size is actual size] ************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml:164 Friday 31 May 2024 15:10:02 +0000 (0:00:00.013) 0:01:59.134 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-cache.yml:5 Friday 31 May 2024 15:10:02 +0000 (0:00:00.016) 0:01:59.151 ************ 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.024360", "end": "2024-05-31 15:10:03.138895", "rc": 0, "start": "2024-05-31 15:10:03.114535" } 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-2zs40rrd2/tests/test-verify-volume-cache.yml:13 Friday 31 May 2024 15:10:03 +0000 (0:00:00.216) 0:01:59.368 ************ ok: [sut] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [Check segment type] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-cache.yml:18 Friday 31 May 2024 15:10:03 +0000 (0:00:00.015) 0:01:59.384 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set LV cache size] ******************************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-cache.yml:27 Friday 31 May 2024 15:10:03 +0000 (0:00:00.016) 0:01:59.400 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Parse the requested cache size] ****************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-cache.yml:35 Friday 31 May 2024 15:10:03 +0000 (0:00:00.013) 0:01:59.414 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set expected cache size] ************************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-cache.yml:41 Friday 31 May 2024 15:10:03 +0000 (0:00:00.014) 0:01:59.428 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-cache.yml:47 Friday 31 May 2024 15:10:03 +0000 (0:00:00.013) 0:01:59.441 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume.yml:27 Friday 31 May 2024 15:10:03 +0000 (0:00:00.013) 0:01:59.455 ************ 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-2zs40rrd2/tests/verify-role-results.yml:44 Friday 31 May 2024 15:10:03 +0000 (0:00:00.011) 0:01:59.466 ************ TASK [Clean up variable namespace] ********************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-role-results.yml:54 Friday 31 May 2024 15:10:03 +0000 (0:00:00.010) 0:01:59.477 ************ 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-2zs40rrd2/tests/create-test-file.yml:12 Friday 31 May 2024 15:10:03 +0000 (0:00:00.011) 0:01:59.488 ************ 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-2zs40rrd2/tests/tests_luks_pool.yml:191 Friday 31 May 2024 15:10:03 +0000 (0:00:00.202) 0:01:59.690 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-role-failed.yml for sut TASK [Store global variable value copy] **************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-role-failed.yml:4 Friday 31 May 2024 15:10:03 +0000 (0:00:00.020) 0:01:59.711 ************ 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-2zs40rrd2/tests/verify-role-failed.yml:10 Friday 31 May 2024 15:10:03 +0000 (0:00:00.015) 0:01:59.727 ************ TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Friday 31 May 2024 15:10:03 +0000 (0:00:00.017) 0:01:59.744 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Friday 31 May 2024 15:10:03 +0000 (0:00:00.018) 0:01:59.763 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Friday 31 May 2024 15:10:03 +0000 (0:00:00.014) 0:01:59.778 ************ 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-2zs40rrd2/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-2zs40rrd2/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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:26 Friday 31 May 2024 15:10:03 +0000 (0:00:00.032) 0:01:59.810 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:31 Friday 31 May 2024 15:10:03 +0000 (0:00:00.012) 0:01:59.823 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Friday 31 May 2024 15:10:03 +0000 (0:00:00.012) 0:01:59.835 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Friday 31 May 2024 15:10:03 +0000 (0:00:00.011) 0:01:59.846 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Friday 31 May 2024 15:10:03 +0000 (0:00:00.012) 0:01:59.858 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Friday 31 May 2024 15:10:03 +0000 (0:00:00.025) 0:01:59.884 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:11 Friday 31 May 2024 15:10:03 +0000 (0:00:00.012) 0:01:59.896 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:16 Friday 31 May 2024 15:10:03 +0000 (0:00:00.019) 0:01:59.916 ************ ok: [sut] => { "storage_volumes": [] } TASK [linux-system-roles.storage : Get required packages] ********************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:21 Friday 31 May 2024 15:10:03 +0000 (0:00:00.018) 0:01:59.935 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:34 Friday 31 May 2024 15:10:03 +0000 (0:00:00.012) 0:01:59.947 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:41 Friday 31 May 2024 15:10:03 +0000 (0:00:00.012) 0:01:59.959 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:57 Friday 31 May 2024 15:10:03 +0000 (0:00:00.012) 0:01:59.971 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:64 Friday 31 May 2024 15:10:03 +0000 (0:00:00.012) 0:01:59.983 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:78 Friday 31 May 2024 15:10:03 +0000 (0:00:00.019) 0:02:00.003 ************ TASK [linux-system-roles.storage : Manage the pools and volumes to match the specified state] *** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:84 Friday 31 May 2024 15:10:03 +0000 (0:00:00.011) 0:02:00.015 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:106 Friday 31 May 2024 15:10:08 +0000 (0:00:04.390) 0:02:04.405 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:110 Friday 31 May 2024 15:10:08 +0000 (0:00:00.016) 0:02:04.422 ************ TASK [Check that we failed in the role] **************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-role-failed.yml:29 Friday 31 May 2024 15:10:08 +0000 (0:00:00.011) 0:02:04.434 ************ 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-2zs40rrd2/tests/verify-role-failed.yml:34 Friday 31 May 2024 15:10:08 +0000 (0:00:00.019) 0:02:04.453 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify correct exception or error message] ******************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-role-failed.yml:45 Friday 31 May 2024 15:10:08 +0000 (0:00:00.025) 0:02:04.479 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the file] *********************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-data-preservation.yml:11 Friday 31 May 2024 15:10:08 +0000 (0:00:00.013) 0:02:04.492 ************ ok: [sut] => { "changed": false, "stat": { "atime": 1717168203.4610348, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1717168203.4610348, "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": 1717168203.4610348, "nlink": 1, "path": "/opt/test1/quux", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "version": "2185535145", "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-2zs40rrd2/tests/verify-data-preservation.yml:16 Friday 31 May 2024 15:10:08 +0000 (0:00:00.196) 0:02:04.689 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Add encryption to the pool] ********************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/tests_luks_pool.yml:216 Friday 31 May 2024 15:10:08 +0000 (0:00:00.044) 0:02:04.734 ************ TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Friday 31 May 2024 15:10:08 +0000 (0:00:00.030) 0:02:04.764 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Friday 31 May 2024 15:10:08 +0000 (0:00:00.019) 0:02:04.784 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Friday 31 May 2024 15:10:08 +0000 (0:00:00.015) 0:02:04.799 ************ 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-2zs40rrd2/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-2zs40rrd2/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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:26 Friday 31 May 2024 15:10:08 +0000 (0:00:00.031) 0:02:04.831 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:31 Friday 31 May 2024 15:10:08 +0000 (0:00:00.012) 0:02:04.843 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Friday 31 May 2024 15:10:08 +0000 (0:00:00.012) 0:02:04.855 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Friday 31 May 2024 15:10:08 +0000 (0:00:00.011) 0:02:04.866 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Friday 31 May 2024 15:10:08 +0000 (0:00:00.012) 0:02:04.879 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Friday 31 May 2024 15:10:08 +0000 (0:00:00.024) 0:02:04.903 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:11 Friday 31 May 2024 15:10:08 +0000 (0:00:00.012) 0:02:04.916 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:16 Friday 31 May 2024 15:10:08 +0000 (0:00:00.018) 0:02:04.934 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:21 Friday 31 May 2024 15:10:08 +0000 (0:00:00.012) 0:02:04.947 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:34 Friday 31 May 2024 15:10:08 +0000 (0:00:00.012) 0:02:04.959 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:41 Friday 31 May 2024 15:10:08 +0000 (0:00:00.012) 0:02:04.971 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:57 Friday 31 May 2024 15:10:08 +0000 (0:00:00.011) 0:02:04.983 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:64 Friday 31 May 2024 15:10:08 +0000 (0:00:00.012) 0:02:04.995 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:78 Friday 31 May 2024 15:10:08 +0000 (0:00:00.019) 0:02:05.015 ************ TASK [linux-system-roles.storage : Manage the pools and volumes to match the specified state] *** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:84 Friday 31 May 2024 15:10:08 +0000 (0:00:00.010) 0:02:05.026 ************ 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-5c35e98b-71ea-48da-a695-822dbd5f4bbf", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/luks-5c35e98b-71ea-48da-a695-822dbd5f4bbf", "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-5c35e98b-71ea-48da-a695-822dbd5f4bbf", "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", "xfsprogs", "lvm2" ], "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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:98 Friday 31 May 2024 15:10:20 +0000 (0:00:11.361) 0:02:16.388 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:110 Friday 31 May 2024 15:10:20 +0000 (0:00:00.012) 0:02:16.401 ************ TASK [linux-system-roles.storage : Show blivet_output] ************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:116 Friday 31 May 2024 15:10:20 +0000 (0:00:00.011) 0:02:16.413 ************ 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-5c35e98b-71ea-48da-a695-822dbd5f4bbf", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/luks-5c35e98b-71ea-48da-a695-822dbd5f4bbf", "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-5c35e98b-71ea-48da-a695-822dbd5f4bbf", "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", "xfsprogs", "lvm2" ], "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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:125 Friday 31 May 2024 15:10:20 +0000 (0:00:00.016) 0:02:16.429 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:129 Friday 31 May 2024 15:10:20 +0000 (0:00:00.014) 0:02:16.443 ************ ok: [sut] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : Remove obsolete mounts] ********************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:145 Friday 31 May 2024 15:10:20 +0000 (0:00:00.013) 0:02:16.457 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:157 Friday 31 May 2024 15:10:20 +0000 (0:00:00.204) 0:02:16.661 ************ ok: [sut] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : Set up new/current mounts] ****************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:162 Friday 31 May 2024 15:10:20 +0000 (0:00:00.476) 0:02:17.138 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:174 Friday 31 May 2024 15:10:21 +0000 (0:00:00.219) 0:02:17.358 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:189 Friday 31 May 2024 15:10:21 +0000 (0:00:00.017) 0:02:17.375 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:197 Friday 31 May 2024 15:10:21 +0000 (0:00:00.471) 0:02:17.846 ************ ok: [sut] => { "changed": false, "stat": { "atime": 1717168196.9252036, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1717168195.6472366, "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": 1717168195.6462367, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "2318372769", "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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:202 Friday 31 May 2024 15:10:21 +0000 (0:00:00.196) 0:02:18.043 ************ changed: [sut] => (item={'backing_device': '/dev/sda', 'name': 'luks-5c35e98b-71ea-48da-a695-822dbd5f4bbf', 'password': '-', 'state': 'present'}) => { "ansible_loop_var": "entry", "backup": "", "changed": true, "entry": { "backing_device": "/dev/sda", "name": "luks-5c35e98b-71ea-48da-a695-822dbd5f4bbf", "password": "-", "state": "present" } } MSG: line added TASK [linux-system-roles.storage : Update facts] ******************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:224 Friday 31 May 2024 15:10:22 +0000 (0:00:00.202) 0:02:18.246 ************ ok: [sut] TASK [Verify role results] ***************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/tests_luks_pool.yml:235 Friday 31 May 2024 15:10:22 +0000 (0:00:00.613) 0:02:18.860 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-role-results.yml for sut TASK [Print out pool information] ********************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-role-results.yml:2 Friday 31 May 2024 15:10:22 +0000 (0:00:00.022) 0:02:18.883 ************ 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-2zs40rrd2/tests/verify-role-results.yml:7 Friday 31 May 2024 15:10:22 +0000 (0:00:00.016) 0:02:18.900 ************ skipping: [sut] => {} TASK [Collect info about the volumes.] ***************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-role-results.yml:15 Friday 31 May 2024 15:10:22 +0000 (0:00:00.012) 0:02:18.912 ************ 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": "3c21a7f8-c9c5-49a3-ae57-17628da367f7" }, "/dev/mapper/luks-5c35e98b-71ea-48da-a695-822dbd5f4bbf": { "fstype": "LVM2_member", "label": "", "mountpoint": "", "name": "/dev/mapper/luks-5c35e98b-71ea-48da-a695-822dbd5f4bbf", "size": "10G", "type": "crypt", "uuid": "diI0lC-VLPv-OJd9-wWXf-HPm1-wEri-RfoCpu" }, "/dev/sda": { "fstype": "crypto_LUKS", "label": "", "mountpoint": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "5c35e98b-71ea-48da-a695-822dbd5f4bbf" }, "/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-2zs40rrd2/tests/verify-role-results.yml:20 Friday 31 May 2024 15:10:22 +0000 (0:00:00.195) 0:02:19.108 ************ ok: [sut] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002807", "end": "2024-05-31 15:10:23.070939", "rc": 0, "start": "2024-05-31 15:10:23.068132" } 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-2zs40rrd2/tests/verify-role-results.yml:25 Friday 31 May 2024 15:10:23 +0000 (0:00:00.191) 0:02:19.300 ************ ok: [sut] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002949", "end": "2024-05-31 15:10:23.265109", "failed_when_result": false, "rc": 0, "start": "2024-05-31 15:10:23.262160" } STDOUT: luks-5c35e98b-71ea-48da-a695-822dbd5f4bbf /dev/sda - TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-role-results.yml:34 Friday 31 May 2024 15:10:23 +0000 (0:00:00.194) 0:02:19.494 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool.yml for sut TASK [Set _storage_pool_tests] ************************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool.yml:5 Friday 31 May 2024 15:10:23 +0000 (0:00:00.025) 0:02:19.520 ************ ok: [sut] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [Get VG shared value status] ********************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool.yml:18 Friday 31 May 2024 15:10:23 +0000 (0:00:00.012) 0:02:19.532 ************ ok: [sut] => { "changed": false, "cmd": [ "vgs", "--noheadings", "--binary", "-o", "shared", "foo" ], "delta": "0:00:00.030314", "end": "2024-05-31 15:10:23.528074", "rc": 0, "start": "2024-05-31 15:10:23.497760" } STDOUT: 0 TASK [Verify that VG shared value checks out] ********************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool.yml:24 Friday 31 May 2024 15:10:23 +0000 (0:00:00.224) 0:02:19.757 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify pool subset] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool.yml:34 Friday 31 May 2024 15:10:23 +0000 (0:00:00.017) 0:02:19.775 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool-members.yml for sut included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool-volumes.yml for sut TASK [Set test variables] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool-members.yml:2 Friday 31 May 2024 15:10:23 +0000 (0:00:00.027) 0:02:19.802 ************ ok: [sut] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/mapper/luks-5c35e98b-71ea-48da-a695-822dbd5f4bbf" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool-members.yml:13 Friday 31 May 2024 15:10:23 +0000 (0:00:00.016) 0:02:19.819 ************ ok: [sut] => (item=/dev/mapper/luks-5c35e98b-71ea-48da-a695-822dbd5f4bbf) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/mapper/luks-5c35e98b-71ea-48da-a695-822dbd5f4bbf", "pv": "/dev/mapper/luks-5c35e98b-71ea-48da-a695-822dbd5f4bbf" } TASK [Set pvs lvm length] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool-members.yml:22 Friday 31 May 2024 15:10:23 +0000 (0:00:00.189) 0:02:20.009 ************ ok: [sut] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [Set pool pvs] ************************************************************ task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool-members.yml:27 Friday 31 May 2024 15:10:23 +0000 (0:00:00.014) 0:02:20.024 ************ ok: [sut] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/mapper/luks-5c35e98b-71ea-48da-a695-822dbd5f4bbf" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool-members.yml:33 Friday 31 May 2024 15:10:23 +0000 (0:00:00.015) 0:02:20.039 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set expected pv type] **************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool-members.yml:42 Friday 31 May 2024 15:10:23 +0000 (0:00:00.015) 0:02:20.055 ************ ok: [sut] => { "ansible_facts": { "_storage_test_expected_pv_type": "crypt" }, "changed": false } TASK [Set expected pv type] **************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool-members.yml:48 Friday 31 May 2024 15:10:23 +0000 (0:00:00.015) 0:02:20.070 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set expected pv type] **************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool-members.yml:54 Friday 31 May 2024 15:10:23 +0000 (0:00:00.031) 0:02:20.102 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool-members.yml:59 Friday 31 May 2024 15:10:23 +0000 (0:00:00.012) 0:02:20.114 ************ ok: [sut] => (item=/dev/mapper/luks-5c35e98b-71ea-48da-a695-822dbd5f4bbf) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/mapper/luks-5c35e98b-71ea-48da-a695-822dbd5f4bbf" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool-members.yml:73 Friday 31 May 2024 15:10:23 +0000 (0:00:00.019) 0:02:20.133 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-md.yml for sut TASK [Get information about RAID] ********************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-md.yml:8 Friday 31 May 2024 15:10:23 +0000 (0:00:00.022) 0:02:20.156 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set active devices regex] ************************************************ task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-md.yml:14 Friday 31 May 2024 15:10:23 +0000 (0:00:00.013) 0:02:20.169 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set spare devices regex] ************************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-md.yml:21 Friday 31 May 2024 15:10:23 +0000 (0:00:00.011) 0:02:20.180 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set md version regex] **************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-md.yml:28 Friday 31 May 2024 15:10:23 +0000 (0:00:00.011) 0:02:20.192 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set md chunk size regex] ************************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-md.yml:35 Friday 31 May 2024 15:10:23 +0000 (0:00:00.011) 0:02:20.203 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Parse the chunk size] **************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-md.yml:45 Friday 31 May 2024 15:10:24 +0000 (0:00:00.011) 0:02:20.214 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID active devices count] ***************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-md.yml:54 Friday 31 May 2024 15:10:24 +0000 (0:00:00.011) 0:02:20.225 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID spare devices count] ****************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-md.yml:64 Friday 31 May 2024 15:10:24 +0000 (0:00:00.012) 0:02:20.238 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID metadata version] ********************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-md.yml:74 Friday 31 May 2024 15:10:24 +0000 (0:00:00.011) 0:02:20.249 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID chunk size] *************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-md.yml:85 Friday 31 May 2024 15:10:24 +0000 (0:00:00.011) 0:02:20.260 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Reset variables used by tests] ******************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-md.yml:95 Friday 31 May 2024 15:10:24 +0000 (0:00:00.011) 0:02:20.271 ************ 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-2zs40rrd2/tests/test-verify-pool-members.yml:76 Friday 31 May 2024 15:10:24 +0000 (0:00:00.011) 0:02:20.283 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-members-lvmraid.yml for sut TASK [Validate pool member LVM RAID settings] ********************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-members-lvmraid.yml:2 Friday 31 May 2024 15:10:24 +0000 (0:00:00.024) 0:02:20.307 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-lvmraid.yml for sut TASK [Get information about the LV] ******************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-lvmraid.yml:8 Friday 31 May 2024 15:10:24 +0000 (0:00:00.023) 0:02:20.331 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set LV segment type] ***************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-lvmraid.yml:16 Friday 31 May 2024 15:10:24 +0000 (0:00:00.012) 0:02:20.344 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check segment type] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-lvmraid.yml:21 Friday 31 May 2024 15:10:24 +0000 (0:00:00.012) 0:02:20.356 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set LV stripe size] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-lvmraid.yml:29 Friday 31 May 2024 15:10:24 +0000 (0:00:00.013) 0:02:20.370 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Parse the requested stripe size] ***************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-lvmraid.yml:34 Friday 31 May 2024 15:10:24 +0000 (0:00:00.012) 0:02:20.382 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set expected stripe size] ************************************************ task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-lvmraid.yml:40 Friday 31 May 2024 15:10:24 +0000 (0:00:00.012) 0:02:20.394 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check stripe size] ******************************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-lvmraid.yml:46 Friday 31 May 2024 15:10:24 +0000 (0:00:00.011) 0:02:20.406 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool-members.yml:79 Friday 31 May 2024 15:10:24 +0000 (0:00:00.011) 0:02:20.417 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-members-thin.yml for sut TASK [Validate pool member thinpool settings] ********************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-members-thin.yml:2 Friday 31 May 2024 15:10:24 +0000 (0:00:00.024) 0:02:20.442 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-thin.yml for sut TASK [Get information about thinpool] ****************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-thin.yml:8 Friday 31 May 2024 15:10:24 +0000 (0:00:00.023) 0:02:20.466 ************ 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-2zs40rrd2/tests/verify-pool-member-thin.yml:16 Friday 31 May 2024 15:10:24 +0000 (0:00:00.012) 0:02:20.478 ************ 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-2zs40rrd2/tests/verify-pool-member-thin.yml:23 Friday 31 May 2024 15:10:24 +0000 (0:00:00.012) 0:02:20.490 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Reset variable used by test] ********************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-thin.yml:27 Friday 31 May 2024 15:10:24 +0000 (0:00:00.011) 0:02:20.501 ************ ok: [sut] => { "ansible_facts": { "storage_test_thin_status": null }, "changed": false } TASK [Check member encryption] ************************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool-members.yml:82 Friday 31 May 2024 15:10:24 +0000 (0:00:00.011) 0:02:20.513 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-members-encryption.yml for sut TASK [Set test variables] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-members-encryption.yml:5 Friday 31 May 2024 15:10:24 +0000 (0:00:00.025) 0:02:20.538 ************ 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-2zs40rrd2/tests/verify-pool-members-encryption.yml:13 Friday 31 May 2024 15:10:24 +0000 (0:00:00.015) 0:02:20.553 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-encryption.yml for sut TASK [Get the backing device path] ********************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-encryption.yml:2 Friday 31 May 2024 15:10:24 +0000 (0:00:00.023) 0:02:20.577 ************ ok: [sut] => { "changed": false, "cmd": [ "realpath", "/dev/disk/by-uuid/5c35e98b-71ea-48da-a695-822dbd5f4bbf" ], "delta": "0:00:00.002813", "end": "2024-05-31 15:10:24.544974", "rc": 0, "start": "2024-05-31 15:10:24.542161" } STDOUT: /dev/sda TASK [Ensure cryptsetup is present] ******************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-encryption.yml:12 Friday 31 May 2024 15:10:24 +0000 (0:00:00.198) 0:02:20.775 ************ 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-2zs40rrd2/tests/verify-pool-member-encryption.yml:19 Friday 31 May 2024 15:10:27 +0000 (0:00:02.570) 0:02:23.346 ************ ok: [sut] => { "changed": false, "cmd": [ "cryptsetup", "luksDump", "/dev/sda" ], "delta": "0:00:00.010213", "end": "2024-05-31 15:10:27.321384", "rc": 0, "start": "2024-05-31 15:10:27.311171" } 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: cb 60 39 58 f7 c3 33 9b 23 a3 64 2f bb e4 eb af 1d 02 05 6e MK salt: bc ef a0 5a 6f 5b 93 18 10 90 74 1e cc fb 5f 72 92 e5 63 23 bd 2d c7 54 4d 0b 6e f7 16 7c 43 86 MK iterations: 104025 UUID: 5c35e98b-71ea-48da-a695-822dbd5f4bbf Key Slot 0: ENABLED Iterations: 1664406 Salt: 2b 9e cc 83 02 91 05 34 27 88 61 f8 f8 89 b9 86 b7 38 68 03 97 0a 51 03 9c 53 ae 50 55 71 06 e0 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-2zs40rrd2/tests/verify-pool-member-encryption.yml:27 Friday 31 May 2024 15:10:27 +0000 (0:00:00.206) 0:02:23.552 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Check LUKS key size] ***************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-encryption.yml:40 Friday 31 May 2024 15:10:27 +0000 (0:00:00.022) 0:02:23.574 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Check LUKS cipher] ******************************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-encryption.yml:52 Friday 31 May 2024 15:10:27 +0000 (0:00:00.019) 0:02:23.594 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Validate pool member crypttab entries] *********************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-members-encryption.yml:20 Friday 31 May 2024 15:10:27 +0000 (0:00:00.020) 0:02:23.615 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-crypttab.yml for sut TASK [Set variables used by tests] ********************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-crypttab.yml:2 Friday 31 May 2024 15:10:27 +0000 (0:00:00.027) 0:02:23.642 ************ ok: [sut] => { "ansible_facts": { "_storage_test_crypttab_entries": [ "luks-5c35e98b-71ea-48da-a695-822dbd5f4bbf /dev/sda -" ] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-crypttab.yml:9 Friday 31 May 2024 15:10:27 +0000 (0:00:00.017) 0:02:23.660 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-crypttab.yml:18 Friday 31 May 2024 15:10:27 +0000 (0:00:00.016) 0:02:23.676 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Check backing device of crypttab entry] ********************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-crypttab.yml:27 Friday 31 May 2024 15:10:27 +0000 (0:00:00.017) 0:02:23.694 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-crypttab.yml:37 Friday 31 May 2024 15:10:27 +0000 (0:00:00.012) 0:02:23.707 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Clear test variables] **************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-crypttab.yml:47 Friday 31 May 2024 15:10:27 +0000 (0:00:00.017) 0:02:23.724 ************ ok: [sut] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [Clear test variables] **************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-members-encryption.yml:27 Friday 31 May 2024 15:10:27 +0000 (0:00:00.011) 0:02:23.736 ************ 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-2zs40rrd2/tests/test-verify-pool-members.yml:85 Friday 31 May 2024 15:10:27 +0000 (0:00:00.015) 0:02:23.751 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-members-vdo.yml for sut TASK [Validate pool member VDO settings] *************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-members-vdo.yml:2 Friday 31 May 2024 15:10:27 +0000 (0:00:00.028) 0:02:23.779 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-vdo.yml for sut TASK [Get information about VDO deduplication] ********************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-vdo.yml:9 Friday 31 May 2024 15:10:27 +0000 (0:00:00.026) 0:02:23.806 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if VDO deduplication is off] *************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-vdo.yml:16 Friday 31 May 2024 15:10:27 +0000 (0:00:00.014) 0:02:23.820 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if VDO deduplication is on] **************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-vdo.yml:22 Friday 31 May 2024 15:10:27 +0000 (0:00:00.012) 0:02:23.833 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about VDO compression] *********************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-vdo.yml:28 Friday 31 May 2024 15:10:27 +0000 (0:00:00.012) 0:02:23.846 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if VDO deduplication is off] *************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-vdo.yml:35 Friday 31 May 2024 15:10:27 +0000 (0:00:00.012) 0:02:23.858 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if VDO deduplication is on] **************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-vdo.yml:41 Friday 31 May 2024 15:10:27 +0000 (0:00:00.012) 0:02:23.871 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clear test variables] **************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-vdo.yml:47 Friday 31 May 2024 15:10:27 +0000 (0:00:00.012) 0:02:23.884 ************ ok: [sut] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [Check Stratis] *********************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool-members.yml:88 Friday 31 May 2024 15:10:27 +0000 (0:00:00.012) 0:02:23.897 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-stratis.yml for sut TASK [Run 'stratis report'] **************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-stratis.yml:6 Friday 31 May 2024 15:10:27 +0000 (0:00:00.028) 0:02:23.926 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about Stratis] ******************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-stratis.yml:11 Friday 31 May 2024 15:10:27 +0000 (0:00:00.013) 0:02:23.939 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the pools was created] *************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-stratis.yml:15 Friday 31 May 2024 15:10:27 +0000 (0:00:00.019) 0:02:23.958 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that encryption is correctly set] ********************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-stratis.yml:26 Friday 31 May 2024 15:10:27 +0000 (0:00:00.014) 0:02:23.973 ************ 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-2zs40rrd2/tests/verify-pool-stratis.yml:36 Friday 31 May 2024 15:10:27 +0000 (0:00:00.014) 0:02:23.987 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Reset variable used by test] ********************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-stratis.yml:49 Friday 31 May 2024 15:10:27 +0000 (0:00:00.013) 0:02:24.001 ************ ok: [sut] => { "ansible_facts": { "storage_test_stratis_report": null }, "changed": false } TASK [Clean up test variables] ************************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool-members.yml:91 Friday 31 May 2024 15:10:27 +0000 (0:00:00.012) 0:02:24.014 ************ 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-2zs40rrd2/tests/test-verify-pool-volumes.yml:3 Friday 31 May 2024 15:10:27 +0000 (0:00:00.012) 0:02:24.026 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume.yml for sut TASK [Set storage volume test variables] *************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume.yml:2 Friday 31 May 2024 15:10:27 +0000 (0:00:00.025) 0:02:24.051 ************ 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-2zs40rrd2/tests/test-verify-volume.yml:21 Friday 31 May 2024 15:10:27 +0000 (0:00:00.016) 0:02:24.068 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-mount.yml for sut included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-fstab.yml for sut included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-fs.yml for sut included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-device.yml for sut included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-encryption.yml for sut included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-md.yml for sut included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml for sut included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-cache.yml for sut TASK [Get expected mount device based on device type] ************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-mount.yml:7 Friday 31 May 2024 15:10:27 +0000 (0:00:00.088) 0:02:24.157 ************ 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-2zs40rrd2/tests/test-verify-volume-mount.yml:16 Friday 31 May 2024 15:10:27 +0000 (0:00:00.017) 0:02:24.175 ************ 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-2zs40rrd2/tests/test-verify-volume-mount.yml:31 Friday 31 May 2024 15:10:27 +0000 (0:00:00.017) 0:02:24.192 ************ 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-2zs40rrd2/tests/test-verify-volume-mount.yml:44 Friday 31 May 2024 15:10:27 +0000 (0:00:00.012) 0:02:24.205 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify mount directory user] ********************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-mount.yml:53 Friday 31 May 2024 15:10:28 +0000 (0:00:00.016) 0:02:24.221 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify mount directory group] ******************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-mount.yml:65 Friday 31 May 2024 15:10:28 +0000 (0:00:00.013) 0:02:24.234 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify mount directory permissions] ************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-mount.yml:77 Friday 31 May 2024 15:10:28 +0000 (0:00:00.012) 0:02:24.247 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get path of test volume device] ****************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-mount.yml:92 Friday 31 May 2024 15:10:28 +0000 (0:00:00.014) 0:02:24.261 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-mount.yml:98 Friday 31 May 2024 15:10:28 +0000 (0:00:00.012) 0:02:24.274 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-mount.yml:104 Friday 31 May 2024 15:10:28 +0000 (0:00:00.013) 0:02:24.288 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-mount.yml:116 Friday 31 May 2024 15:10:28 +0000 (0:00:00.013) 0:02:24.301 ************ 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-2zs40rrd2/tests/test-verify-volume-fstab.yml:2 Friday 31 May 2024 15:10:28 +0000 (0:00:00.012) 0:02:24.314 ************ 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-2zs40rrd2/tests/test-verify-volume-fstab.yml:40 Friday 31 May 2024 15:10:28 +0000 (0:00:00.026) 0:02:24.340 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-fstab.yml:48 Friday 31 May 2024 15:10:28 +0000 (0:00:00.018) 0:02:24.358 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-fstab.yml:58 Friday 31 May 2024 15:10:28 +0000 (0:00:00.016) 0:02:24.375 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-fstab.yml:71 Friday 31 May 2024 15:10:28 +0000 (0:00:00.013) 0:02:24.388 ************ 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-2zs40rrd2/tests/test-verify-volume-fs.yml:6 Friday 31 May 2024 15:10:28 +0000 (0:00:00.013) 0:02:24.401 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-fs.yml:17 Friday 31 May 2024 15:10:28 +0000 (0:00:00.018) 0:02:24.420 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-device.yml:3 Friday 31 May 2024 15:10:28 +0000 (0:00:00.019) 0:02:24.439 ************ ok: [sut] => { "changed": false, "stat": { "atime": 1717168220.0996048, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1717168220.0996048, "dev": 6, "device_type": 64769, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 86634, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1717168220.0996048, "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-2zs40rrd2/tests/test-verify-volume-device.yml:9 Friday 31 May 2024 15:10:28 +0000 (0:00:00.201) 0:02:24.640 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the presence/absence of the device node] ************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-device.yml:16 Friday 31 May 2024 15:10:28 +0000 (0:00:00.017) 0:02:24.658 ************ 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-2zs40rrd2/tests/test-verify-volume-device.yml:24 Friday 31 May 2024 15:10:28 +0000 (0:00:00.016) 0:02:24.675 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Process volume type (set initial value) (1/2)] *************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-device.yml:30 Friday 31 May 2024 15:10:28 +0000 (0:00:00.017) 0:02:24.692 ************ 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-2zs40rrd2/tests/test-verify-volume-device.yml:34 Friday 31 May 2024 15:10:28 +0000 (0:00:00.014) 0:02:24.706 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-device.yml:39 Friday 31 May 2024 15:10:28 +0000 (0:00:00.012) 0:02:24.719 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-encryption.yml:3 Friday 31 May 2024 15:10:28 +0000 (0:00:00.015) 0:02:24.734 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-encryption.yml:10 Friday 31 May 2024 15:10:28 +0000 (0:00:00.012) 0:02:24.747 ************ 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-2zs40rrd2/tests/test-verify-volume-encryption.yml:17 Friday 31 May 2024 15:10:31 +0000 (0:00:02.650) 0:02:27.397 ************ 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-2zs40rrd2/tests/test-verify-volume-encryption.yml:23 Friday 31 May 2024 15:10:31 +0000 (0:00:00.012) 0:02:27.410 ************ 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-2zs40rrd2/tests/test-verify-volume-encryption.yml:32 Friday 31 May 2024 15:10:31 +0000 (0:00:00.012) 0:02:27.423 ************ 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-2zs40rrd2/tests/test-verify-volume-encryption.yml:45 Friday 31 May 2024 15:10:31 +0000 (0:00:00.017) 0:02:27.441 ************ 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-2zs40rrd2/tests/test-verify-volume-encryption.yml:51 Friday 31 May 2024 15:10:31 +0000 (0:00:00.012) 0:02:27.453 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-encryption.yml:56 Friday 31 May 2024 15:10:31 +0000 (0:00:00.012) 0:02:27.466 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-encryption.yml:69 Friday 31 May 2024 15:10:31 +0000 (0:00:00.012) 0:02:27.478 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-encryption.yml:81 Friday 31 May 2024 15:10:31 +0000 (0:00:00.012) 0:02:27.491 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set test variables] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-encryption.yml:94 Friday 31 May 2024 15:10:31 +0000 (0:00:00.012) 0:02:27.503 ************ 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-2zs40rrd2/tests/test-verify-volume-encryption.yml:106 Friday 31 May 2024 15:10:31 +0000 (0:00:00.015) 0:02:27.519 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-encryption.yml:114 Friday 31 May 2024 15:10:31 +0000 (0:00:00.014) 0:02:27.533 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-encryption.yml:122 Friday 31 May 2024 15:10:31 +0000 (0:00:00.012) 0:02:27.546 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-encryption.yml:131 Friday 31 May 2024 15:10:31 +0000 (0:00:00.013) 0:02:27.560 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clear test variables] **************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-encryption.yml:140 Friday 31 May 2024 15:10:31 +0000 (0:00:00.012) 0:02:27.572 ************ 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-2zs40rrd2/tests/test-verify-volume-md.yml:8 Friday 31 May 2024 15:10:31 +0000 (0:00:00.011) 0:02:27.583 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set active devices regex] ************************************************ task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-md.yml:14 Friday 31 May 2024 15:10:31 +0000 (0:00:00.012) 0:02:27.595 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set spare devices regex] ************************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-md.yml:21 Friday 31 May 2024 15:10:31 +0000 (0:00:00.012) 0:02:27.608 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set md version regex] **************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-md.yml:28 Friday 31 May 2024 15:10:31 +0000 (0:00:00.012) 0:02:27.620 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set chunk size regex] **************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-md.yml:35 Friday 31 May 2024 15:10:31 +0000 (0:00:00.013) 0:02:27.634 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Parse the chunk size] **************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-md.yml:45 Friday 31 May 2024 15:10:31 +0000 (0:00:00.012) 0:02:27.646 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID active devices count] ***************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-md.yml:54 Friday 31 May 2024 15:10:31 +0000 (0:00:00.012) 0:02:27.659 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID spare devices count] ****************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-md.yml:63 Friday 31 May 2024 15:10:31 +0000 (0:00:00.012) 0:02:27.671 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID metadata version] ********************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-md.yml:72 Friday 31 May 2024 15:10:31 +0000 (0:00:00.012) 0:02:27.684 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID chunk size] *************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-md.yml:81 Friday 31 May 2024 15:10:31 +0000 (0:00:00.011) 0:02:27.695 ************ 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-2zs40rrd2/tests/test-verify-volume-size.yml:3 Friday 31 May 2024 15:10:31 +0000 (0:00:00.035) 0:02:27.731 ************ 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-2zs40rrd2/tests/test-verify-volume-size.yml:11 Friday 31 May 2024 15:10:31 +0000 (0:00:00.196) 0:02:27.928 ************ 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-2zs40rrd2/tests/test-verify-volume-size.yml:20 Friday 31 May 2024 15:10:31 +0000 (0:00:00.195) 0:02:28.123 ************ ok: [sut] => { "ansible_facts": { "storage_test_expected_size": "4294967296" }, "changed": false } TASK [Show expected size] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml:28 Friday 31 May 2024 15:10:31 +0000 (0:00:00.018) 0:02:28.142 ************ ok: [sut] => { "storage_test_expected_size": "4294967296" } TASK [Get the size of parent/pool device] ************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml:32 Friday 31 May 2024 15:10:31 +0000 (0:00:00.013) 0:02:28.156 ************ ok: [sut] => { "bytes": 10715943403, "changed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } TASK [Show test pool] ********************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml:46 Friday 31 May 2024 15:10:32 +0000 (0:00:00.196) 0:02:28.352 ************ skipping: [sut] => {} TASK [Show test blockinfo] ***************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml:50 Friday 31 May 2024 15:10:32 +0000 (0:00:00.015) 0:02:28.367 ************ skipping: [sut] => {} TASK [Show test pool size] ***************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml:54 Friday 31 May 2024 15:10:32 +0000 (0:00:00.015) 0:02:28.382 ************ skipping: [sut] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml:58 Friday 31 May 2024 15:10:32 +0000 (0:00:00.015) 0:02:28.397 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Default thin pool reserved space values] ********************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml:68 Friday 31 May 2024 15:10:32 +0000 (0:00:00.016) 0:02:28.414 ************ 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-2zs40rrd2/tests/test-verify-volume-size.yml:72 Friday 31 May 2024 15:10:32 +0000 (0:00:00.012) 0:02:28.426 ************ 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-2zs40rrd2/tests/test-verify-volume-size.yml:77 Friday 31 May 2024 15:10:32 +0000 (0:00:00.012) 0:02:28.439 ************ 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-2zs40rrd2/tests/test-verify-volume-size.yml:83 Friday 31 May 2024 15:10:32 +0000 (0:00:00.012) 0:02:28.451 ************ 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-2zs40rrd2/tests/test-verify-volume-size.yml:88 Friday 31 May 2024 15:10:32 +0000 (0:00:00.012) 0:02:28.464 ************ 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-2zs40rrd2/tests/test-verify-volume-size.yml:96 Friday 31 May 2024 15:10:32 +0000 (0:00:00.011) 0:02:28.475 ************ 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-2zs40rrd2/tests/test-verify-volume-size.yml:104 Friday 31 May 2024 15:10:32 +0000 (0:00:00.013) 0:02:28.489 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Show max thin pool size] ************************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml:109 Friday 31 May 2024 15:10:32 +0000 (0:00:00.012) 0:02:28.501 ************ skipping: [sut] => {} TASK [Show volume thin pool size] ********************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml:113 Friday 31 May 2024 15:10:32 +0000 (0:00:00.012) 0:02:28.514 ************ skipping: [sut] => {} TASK [Show test volume size] *************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml:117 Friday 31 May 2024 15:10:32 +0000 (0:00:00.012) 0:02:28.526 ************ skipping: [sut] => {} TASK [Establish base value for expected thin pool size] ************************ task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml:121 Friday 31 May 2024 15:10:32 +0000 (0:00:00.011) 0:02:28.538 ************ 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-2zs40rrd2/tests/test-verify-volume-size.yml:129 Friday 31 May 2024 15:10:32 +0000 (0:00:00.011) 0:02:28.549 ************ 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-2zs40rrd2/tests/test-verify-volume-size.yml:138 Friday 31 May 2024 15:10:32 +0000 (0:00:00.012) 0:02:28.562 ************ 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-2zs40rrd2/tests/test-verify-volume-size.yml:142 Friday 31 May 2024 15:10:32 +0000 (0:00:00.011) 0:02:28.573 ************ 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-2zs40rrd2/tests/test-verify-volume-size.yml:150 Friday 31 May 2024 15:10:32 +0000 (0:00:00.011) 0:02:28.585 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Show actual size] ******************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml:156 Friday 31 May 2024 15:10:32 +0000 (0:00:00.011) 0:02:28.596 ************ 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-2zs40rrd2/tests/test-verify-volume-size.yml:160 Friday 31 May 2024 15:10:32 +0000 (0:00:00.013) 0:02:28.609 ************ ok: [sut] => { "storage_test_expected_size": "4294967296" } TASK [Assert expected size is actual size] ************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml:164 Friday 31 May 2024 15:10:32 +0000 (0:00:00.012) 0:02:28.622 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-cache.yml:5 Friday 31 May 2024 15:10:32 +0000 (0:00:00.018) 0:02:28.640 ************ 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.031316", "end": "2024-05-31 15:10:32.635963", "rc": 0, "start": "2024-05-31 15:10:32.604647" } 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-2zs40rrd2/tests/test-verify-volume-cache.yml:13 Friday 31 May 2024 15:10:32 +0000 (0:00:00.225) 0:02:28.865 ************ ok: [sut] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [Check segment type] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-cache.yml:18 Friday 31 May 2024 15:10:32 +0000 (0:00:00.016) 0:02:28.882 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set LV cache size] ******************************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-cache.yml:27 Friday 31 May 2024 15:10:32 +0000 (0:00:00.018) 0:02:28.900 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Parse the requested cache size] ****************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-cache.yml:35 Friday 31 May 2024 15:10:32 +0000 (0:00:00.013) 0:02:28.914 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set expected cache size] ************************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-cache.yml:41 Friday 31 May 2024 15:10:32 +0000 (0:00:00.013) 0:02:28.927 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-cache.yml:47 Friday 31 May 2024 15:10:32 +0000 (0:00:00.013) 0:02:28.941 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume.yml:27 Friday 31 May 2024 15:10:32 +0000 (0:00:00.013) 0:02:28.954 ************ 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-2zs40rrd2/tests/verify-role-results.yml:44 Friday 31 May 2024 15:10:32 +0000 (0:00:00.011) 0:02:28.965 ************ TASK [Clean up variable namespace] ********************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-role-results.yml:54 Friday 31 May 2024 15:10:32 +0000 (0:00:00.011) 0:02:28.977 ************ 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-2zs40rrd2/tests/create-test-file.yml:12 Friday 31 May 2024 15:10:32 +0000 (0:00:00.011) 0:02:28.988 ************ 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-2zs40rrd2/tests/tests_luks_pool.yml:241 Friday 31 May 2024 15:10:32 +0000 (0:00:00.200) 0:02:29.189 ************ TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Friday 31 May 2024 15:10:33 +0000 (0:00:00.031) 0:02:29.221 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Friday 31 May 2024 15:10:33 +0000 (0:00:00.017) 0:02:29.238 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Friday 31 May 2024 15:10:33 +0000 (0:00:00.014) 0:02:29.253 ************ 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-2zs40rrd2/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-2zs40rrd2/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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:26 Friday 31 May 2024 15:10:33 +0000 (0:00:00.031) 0:02:29.285 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:31 Friday 31 May 2024 15:10:33 +0000 (0:00:00.012) 0:02:29.297 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Friday 31 May 2024 15:10:33 +0000 (0:00:00.011) 0:02:29.308 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Friday 31 May 2024 15:10:33 +0000 (0:00:00.034) 0:02:29.343 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Friday 31 May 2024 15:10:33 +0000 (0:00:00.012) 0:02:29.356 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Friday 31 May 2024 15:10:33 +0000 (0:00:00.024) 0:02:29.381 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:11 Friday 31 May 2024 15:10:33 +0000 (0:00:00.012) 0:02:29.393 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:16 Friday 31 May 2024 15:10:33 +0000 (0:00:00.015) 0:02:29.409 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:21 Friday 31 May 2024 15:10:33 +0000 (0:00:00.012) 0:02:29.421 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:34 Friday 31 May 2024 15:10:33 +0000 (0:00:00.012) 0:02:29.434 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:41 Friday 31 May 2024 15:10:33 +0000 (0:00:00.012) 0:02:29.446 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:57 Friday 31 May 2024 15:10:33 +0000 (0:00:00.012) 0:02:29.459 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:64 Friday 31 May 2024 15:10:33 +0000 (0:00:00.012) 0:02:29.471 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:78 Friday 31 May 2024 15:10:33 +0000 (0:00:00.022) 0:02:29.493 ************ TASK [linux-system-roles.storage : Manage the pools and volumes to match the specified state] *** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:84 Friday 31 May 2024 15:10:33 +0000 (0:00:00.011) 0:02:29.504 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:98 Friday 31 May 2024 15:10:37 +0000 (0:00:04.506) 0:02:34.011 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:110 Friday 31 May 2024 15:10:37 +0000 (0:00:00.013) 0:02:34.024 ************ TASK [linux-system-roles.storage : Show blivet_output] ************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:116 Friday 31 May 2024 15:10:37 +0000 (0:00:00.011) 0:02:34.035 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:125 Friday 31 May 2024 15:10:37 +0000 (0:00:00.015) 0:02:34.050 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:129 Friday 31 May 2024 15:10:37 +0000 (0:00:00.015) 0:02:34.065 ************ ok: [sut] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : Remove obsolete mounts] ********************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:145 Friday 31 May 2024 15:10:37 +0000 (0:00:00.013) 0:02:34.079 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:157 Friday 31 May 2024 15:10:38 +0000 (0:00:00.222) 0:02:34.302 ************ ok: [sut] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : Set up new/current mounts] ****************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:162 Friday 31 May 2024 15:10:38 +0000 (0:00:00.475) 0:02:34.777 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:174 Friday 31 May 2024 15:10:38 +0000 (0:00:00.221) 0:02:34.999 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:189 Friday 31 May 2024 15:10:38 +0000 (0:00:00.017) 0:02:35.016 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:197 Friday 31 May 2024 15:10:39 +0000 (0:00:00.475) 0:02:35.492 ************ ok: [sut] => { "changed": false, "stat": { "atime": 1717168223.263523, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "c4561ef35f86b8403c6fd2503cda16964ee3aef0", "ctime": 1717168222.0115554, "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": 1717168222.0105555, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 53, "uid": 0, "version": "1391876084", "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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:202 Friday 31 May 2024 15:10:39 +0000 (0:00:00.201) 0:02:35.693 ************ TASK [linux-system-roles.storage : Update facts] ******************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:224 Friday 31 May 2024 15:10:39 +0000 (0:00:00.013) 0:02:35.707 ************ ok: [sut] TASK [Assert to implicitly preserve encryption on existing pool] *************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/tests_luks_pool.yml:253 Friday 31 May 2024 15:10:40 +0000 (0:00:00.613) 0:02:36.320 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Stat the file] *********************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-data-preservation.yml:11 Friday 31 May 2024 15:10:40 +0000 (0:00:00.014) 0:02:36.334 ************ ok: [sut] => { "changed": false, "stat": { "atime": 1717168232.9592724, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1717168232.9592724, "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": 1717168232.9592724, "nlink": 1, "path": "/opt/test2/quux", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "version": "3123131653", "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-2zs40rrd2/tests/verify-data-preservation.yml:16 Friday 31 May 2024 15:10:40 +0000 (0:00:00.197) 0:02:36.532 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify role results] ***************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/tests_luks_pool.yml:263 Friday 31 May 2024 15:10:40 +0000 (0:00:00.014) 0:02:36.547 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-role-results.yml for sut TASK [Print out pool information] ********************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-role-results.yml:2 Friday 31 May 2024 15:10:40 +0000 (0:00:00.023) 0:02:36.571 ************ 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-2zs40rrd2/tests/verify-role-results.yml:7 Friday 31 May 2024 15:10:40 +0000 (0:00:00.015) 0:02:36.586 ************ skipping: [sut] => {} TASK [Collect info about the volumes.] ***************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-role-results.yml:15 Friday 31 May 2024 15:10:40 +0000 (0:00:00.035) 0:02:36.622 ************ 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": "3c21a7f8-c9c5-49a3-ae57-17628da367f7" }, "/dev/mapper/luks-5c35e98b-71ea-48da-a695-822dbd5f4bbf": { "fstype": "LVM2_member", "label": "", "mountpoint": "", "name": "/dev/mapper/luks-5c35e98b-71ea-48da-a695-822dbd5f4bbf", "size": "10G", "type": "crypt", "uuid": "diI0lC-VLPv-OJd9-wWXf-HPm1-wEri-RfoCpu" }, "/dev/sda": { "fstype": "crypto_LUKS", "label": "", "mountpoint": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "5c35e98b-71ea-48da-a695-822dbd5f4bbf" }, "/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-2zs40rrd2/tests/verify-role-results.yml:20 Friday 31 May 2024 15:10:40 +0000 (0:00:00.197) 0:02:36.819 ************ ok: [sut] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002790", "end": "2024-05-31 15:10:40.781942", "rc": 0, "start": "2024-05-31 15:10:40.779152" } 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-2zs40rrd2/tests/verify-role-results.yml:25 Friday 31 May 2024 15:10:40 +0000 (0:00:00.190) 0:02:37.010 ************ ok: [sut] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002870", "end": "2024-05-31 15:10:40.971851", "failed_when_result": false, "rc": 0, "start": "2024-05-31 15:10:40.968981" } STDOUT: luks-5c35e98b-71ea-48da-a695-822dbd5f4bbf /dev/sda - TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-role-results.yml:34 Friday 31 May 2024 15:10:40 +0000 (0:00:00.190) 0:02:37.200 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool.yml for sut TASK [Set _storage_pool_tests] ************************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool.yml:5 Friday 31 May 2024 15:10:41 +0000 (0:00:00.025) 0:02:37.225 ************ ok: [sut] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [Get VG shared value status] ********************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool.yml:18 Friday 31 May 2024 15:10:41 +0000 (0:00:00.011) 0:02:37.237 ************ ok: [sut] => { "changed": false, "cmd": [ "vgs", "--noheadings", "--binary", "-o", "shared", "foo" ], "delta": "0:00:00.030655", "end": "2024-05-31 15:10:41.231178", "rc": 0, "start": "2024-05-31 15:10:41.200523" } STDOUT: 0 TASK [Verify that VG shared value checks out] ********************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool.yml:24 Friday 31 May 2024 15:10:41 +0000 (0:00:00.223) 0:02:37.460 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify pool subset] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool.yml:34 Friday 31 May 2024 15:10:41 +0000 (0:00:00.018) 0:02:37.478 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool-members.yml for sut included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool-volumes.yml for sut TASK [Set test variables] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool-members.yml:2 Friday 31 May 2024 15:10:41 +0000 (0:00:00.026) 0:02:37.505 ************ ok: [sut] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/mapper/luks-5c35e98b-71ea-48da-a695-822dbd5f4bbf" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool-members.yml:13 Friday 31 May 2024 15:10:41 +0000 (0:00:00.017) 0:02:37.522 ************ ok: [sut] => (item=/dev/mapper/luks-5c35e98b-71ea-48da-a695-822dbd5f4bbf) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/mapper/luks-5c35e98b-71ea-48da-a695-822dbd5f4bbf", "pv": "/dev/mapper/luks-5c35e98b-71ea-48da-a695-822dbd5f4bbf" } TASK [Set pvs lvm length] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool-members.yml:22 Friday 31 May 2024 15:10:41 +0000 (0:00:00.190) 0:02:37.713 ************ ok: [sut] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [Set pool pvs] ************************************************************ task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool-members.yml:27 Friday 31 May 2024 15:10:41 +0000 (0:00:00.015) 0:02:37.728 ************ ok: [sut] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/mapper/luks-5c35e98b-71ea-48da-a695-822dbd5f4bbf" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool-members.yml:33 Friday 31 May 2024 15:10:41 +0000 (0:00:00.015) 0:02:37.744 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set expected pv type] **************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool-members.yml:42 Friday 31 May 2024 15:10:41 +0000 (0:00:00.015) 0:02:37.760 ************ ok: [sut] => { "ansible_facts": { "_storage_test_expected_pv_type": "crypt" }, "changed": false } TASK [Set expected pv type] **************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool-members.yml:48 Friday 31 May 2024 15:10:41 +0000 (0:00:00.014) 0:02:37.775 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set expected pv type] **************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool-members.yml:54 Friday 31 May 2024 15:10:41 +0000 (0:00:00.012) 0:02:37.787 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool-members.yml:59 Friday 31 May 2024 15:10:41 +0000 (0:00:00.013) 0:02:37.801 ************ ok: [sut] => (item=/dev/mapper/luks-5c35e98b-71ea-48da-a695-822dbd5f4bbf) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/mapper/luks-5c35e98b-71ea-48da-a695-822dbd5f4bbf" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool-members.yml:73 Friday 31 May 2024 15:10:41 +0000 (0:00:00.019) 0:02:37.820 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-md.yml for sut TASK [Get information about RAID] ********************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-md.yml:8 Friday 31 May 2024 15:10:41 +0000 (0:00:00.022) 0:02:37.842 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set active devices regex] ************************************************ task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-md.yml:14 Friday 31 May 2024 15:10:41 +0000 (0:00:00.012) 0:02:37.855 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set spare devices regex] ************************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-md.yml:21 Friday 31 May 2024 15:10:41 +0000 (0:00:00.013) 0:02:37.868 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set md version regex] **************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-md.yml:28 Friday 31 May 2024 15:10:41 +0000 (0:00:00.012) 0:02:37.880 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set md chunk size regex] ************************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-md.yml:35 Friday 31 May 2024 15:10:41 +0000 (0:00:00.012) 0:02:37.892 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Parse the chunk size] **************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-md.yml:45 Friday 31 May 2024 15:10:41 +0000 (0:00:00.012) 0:02:37.905 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID active devices count] ***************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-md.yml:54 Friday 31 May 2024 15:10:41 +0000 (0:00:00.012) 0:02:37.917 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID spare devices count] ****************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-md.yml:64 Friday 31 May 2024 15:10:41 +0000 (0:00:00.012) 0:02:37.929 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID metadata version] ********************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-md.yml:74 Friday 31 May 2024 15:10:41 +0000 (0:00:00.013) 0:02:37.942 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID chunk size] *************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-md.yml:85 Friday 31 May 2024 15:10:41 +0000 (0:00:00.012) 0:02:37.955 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Reset variables used by tests] ******************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-md.yml:95 Friday 31 May 2024 15:10:41 +0000 (0:00:00.012) 0:02:37.967 ************ 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-2zs40rrd2/tests/test-verify-pool-members.yml:76 Friday 31 May 2024 15:10:41 +0000 (0:00:00.011) 0:02:37.978 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-members-lvmraid.yml for sut TASK [Validate pool member LVM RAID settings] ********************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-members-lvmraid.yml:2 Friday 31 May 2024 15:10:41 +0000 (0:00:00.025) 0:02:38.004 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-lvmraid.yml for sut TASK [Get information about the LV] ******************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-lvmraid.yml:8 Friday 31 May 2024 15:10:41 +0000 (0:00:00.023) 0:02:38.027 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set LV segment type] ***************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-lvmraid.yml:16 Friday 31 May 2024 15:10:41 +0000 (0:00:00.012) 0:02:38.040 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check segment type] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-lvmraid.yml:21 Friday 31 May 2024 15:10:41 +0000 (0:00:00.012) 0:02:38.052 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set LV stripe size] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-lvmraid.yml:29 Friday 31 May 2024 15:10:41 +0000 (0:00:00.012) 0:02:38.064 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Parse the requested stripe size] ***************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-lvmraid.yml:34 Friday 31 May 2024 15:10:41 +0000 (0:00:00.013) 0:02:38.078 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set expected stripe size] ************************************************ task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-lvmraid.yml:40 Friday 31 May 2024 15:10:41 +0000 (0:00:00.013) 0:02:38.091 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check stripe size] ******************************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-lvmraid.yml:46 Friday 31 May 2024 15:10:41 +0000 (0:00:00.012) 0:02:38.104 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool-members.yml:79 Friday 31 May 2024 15:10:41 +0000 (0:00:00.012) 0:02:38.116 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-members-thin.yml for sut TASK [Validate pool member thinpool settings] ********************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-members-thin.yml:2 Friday 31 May 2024 15:10:41 +0000 (0:00:00.024) 0:02:38.141 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-thin.yml for sut TASK [Get information about thinpool] ****************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-thin.yml:8 Friday 31 May 2024 15:10:42 +0000 (0:00:00.068) 0:02:38.209 ************ 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-2zs40rrd2/tests/verify-pool-member-thin.yml:16 Friday 31 May 2024 15:10:42 +0000 (0:00:00.012) 0:02:38.222 ************ 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-2zs40rrd2/tests/verify-pool-member-thin.yml:23 Friday 31 May 2024 15:10:42 +0000 (0:00:00.011) 0:02:38.233 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Reset variable used by test] ********************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-thin.yml:27 Friday 31 May 2024 15:10:42 +0000 (0:00:00.012) 0:02:38.246 ************ ok: [sut] => { "ansible_facts": { "storage_test_thin_status": null }, "changed": false } TASK [Check member encryption] ************************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool-members.yml:82 Friday 31 May 2024 15:10:42 +0000 (0:00:00.012) 0:02:38.258 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-members-encryption.yml for sut TASK [Set test variables] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-members-encryption.yml:5 Friday 31 May 2024 15:10:42 +0000 (0:00:00.025) 0:02:38.283 ************ 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-2zs40rrd2/tests/verify-pool-members-encryption.yml:13 Friday 31 May 2024 15:10:42 +0000 (0:00:00.014) 0:02:38.298 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-encryption.yml for sut TASK [Get the backing device path] ********************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-encryption.yml:2 Friday 31 May 2024 15:10:42 +0000 (0:00:00.024) 0:02:38.322 ************ ok: [sut] => { "changed": false, "cmd": [ "realpath", "/dev/disk/by-uuid/5c35e98b-71ea-48da-a695-822dbd5f4bbf" ], "delta": "0:00:00.002858", "end": "2024-05-31 15:10:42.290494", "rc": 0, "start": "2024-05-31 15:10:42.287636" } STDOUT: /dev/sda TASK [Ensure cryptsetup is present] ******************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-encryption.yml:12 Friday 31 May 2024 15:10:42 +0000 (0:00:00.196) 0:02:38.519 ************ 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-2zs40rrd2/tests/verify-pool-member-encryption.yml:19 Friday 31 May 2024 15:10:45 +0000 (0:00:02.720) 0:02:41.240 ************ ok: [sut] => { "changed": false, "cmd": [ "cryptsetup", "luksDump", "/dev/sda" ], "delta": "0:00:00.010558", "end": "2024-05-31 15:10:45.218744", "rc": 0, "start": "2024-05-31 15:10:45.208186" } 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: cb 60 39 58 f7 c3 33 9b 23 a3 64 2f bb e4 eb af 1d 02 05 6e MK salt: bc ef a0 5a 6f 5b 93 18 10 90 74 1e cc fb 5f 72 92 e5 63 23 bd 2d c7 54 4d 0b 6e f7 16 7c 43 86 MK iterations: 104025 UUID: 5c35e98b-71ea-48da-a695-822dbd5f4bbf Key Slot 0: ENABLED Iterations: 1664406 Salt: 2b 9e cc 83 02 91 05 34 27 88 61 f8 f8 89 b9 86 b7 38 68 03 97 0a 51 03 9c 53 ae 50 55 71 06 e0 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-2zs40rrd2/tests/verify-pool-member-encryption.yml:27 Friday 31 May 2024 15:10:45 +0000 (0:00:00.208) 0:02:41.448 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Check LUKS key size] ***************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-encryption.yml:40 Friday 31 May 2024 15:10:45 +0000 (0:00:00.019) 0:02:41.467 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-encryption.yml:52 Friday 31 May 2024 15:10:45 +0000 (0:00:00.014) 0:02:41.481 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-members-encryption.yml:20 Friday 31 May 2024 15:10:45 +0000 (0:00:00.014) 0:02:41.496 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-crypttab.yml for sut TASK [Set variables used by tests] ********************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-crypttab.yml:2 Friday 31 May 2024 15:10:45 +0000 (0:00:00.026) 0:02:41.523 ************ ok: [sut] => { "ansible_facts": { "_storage_test_crypttab_entries": [ "luks-5c35e98b-71ea-48da-a695-822dbd5f4bbf /dev/sda -" ] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-crypttab.yml:9 Friday 31 May 2024 15:10:45 +0000 (0:00:00.014) 0:02:41.537 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-crypttab.yml:18 Friday 31 May 2024 15:10:45 +0000 (0:00:00.014) 0:02:41.552 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Check backing device of crypttab entry] ********************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-crypttab.yml:27 Friday 31 May 2024 15:10:45 +0000 (0:00:00.015) 0:02:41.568 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-crypttab.yml:37 Friday 31 May 2024 15:10:45 +0000 (0:00:00.012) 0:02:41.580 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Clear test variables] **************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-crypttab.yml:47 Friday 31 May 2024 15:10:45 +0000 (0:00:00.017) 0:02:41.597 ************ ok: [sut] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [Clear test variables] **************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-members-encryption.yml:27 Friday 31 May 2024 15:10:45 +0000 (0:00:00.011) 0:02:41.608 ************ 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-2zs40rrd2/tests/test-verify-pool-members.yml:85 Friday 31 May 2024 15:10:45 +0000 (0:00:00.011) 0:02:41.620 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-members-vdo.yml for sut TASK [Validate pool member VDO settings] *************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-members-vdo.yml:2 Friday 31 May 2024 15:10:45 +0000 (0:00:00.025) 0:02:41.645 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-vdo.yml for sut TASK [Get information about VDO deduplication] ********************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-vdo.yml:9 Friday 31 May 2024 15:10:45 +0000 (0:00:00.025) 0:02:41.671 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if VDO deduplication is off] *************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-vdo.yml:16 Friday 31 May 2024 15:10:45 +0000 (0:00:00.012) 0:02:41.683 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if VDO deduplication is on] **************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-vdo.yml:22 Friday 31 May 2024 15:10:45 +0000 (0:00:00.012) 0:02:41.696 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about VDO compression] *********************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-vdo.yml:28 Friday 31 May 2024 15:10:45 +0000 (0:00:00.012) 0:02:41.708 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if VDO deduplication is off] *************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-vdo.yml:35 Friday 31 May 2024 15:10:45 +0000 (0:00:00.012) 0:02:41.721 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if VDO deduplication is on] **************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-vdo.yml:41 Friday 31 May 2024 15:10:45 +0000 (0:00:00.013) 0:02:41.734 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clear test variables] **************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-vdo.yml:47 Friday 31 May 2024 15:10:45 +0000 (0:00:00.012) 0:02:41.747 ************ ok: [sut] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [Check Stratis] *********************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool-members.yml:88 Friday 31 May 2024 15:10:45 +0000 (0:00:00.011) 0:02:41.758 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-stratis.yml for sut TASK [Run 'stratis report'] **************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-stratis.yml:6 Friday 31 May 2024 15:10:45 +0000 (0:00:00.028) 0:02:41.787 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about Stratis] ******************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-stratis.yml:11 Friday 31 May 2024 15:10:45 +0000 (0:00:00.037) 0:02:41.825 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the pools was created] *************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-stratis.yml:15 Friday 31 May 2024 15:10:45 +0000 (0:00:00.012) 0:02:41.838 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that encryption is correctly set] ********************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-stratis.yml:26 Friday 31 May 2024 15:10:45 +0000 (0:00:00.012) 0:02:41.850 ************ 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-2zs40rrd2/tests/verify-pool-stratis.yml:36 Friday 31 May 2024 15:10:45 +0000 (0:00:00.012) 0:02:41.863 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Reset variable used by test] ********************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-stratis.yml:49 Friday 31 May 2024 15:10:45 +0000 (0:00:00.012) 0:02:41.875 ************ ok: [sut] => { "ansible_facts": { "storage_test_stratis_report": null }, "changed": false } TASK [Clean up test variables] ************************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-pool-members.yml:91 Friday 31 May 2024 15:10:45 +0000 (0:00:00.011) 0:02:41.886 ************ 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-2zs40rrd2/tests/test-verify-pool-volumes.yml:3 Friday 31 May 2024 15:10:45 +0000 (0:00:00.012) 0:02:41.899 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume.yml for sut TASK [Set storage volume test variables] *************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume.yml:2 Friday 31 May 2024 15:10:45 +0000 (0:00:00.022) 0:02:41.922 ************ 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-2zs40rrd2/tests/test-verify-volume.yml:21 Friday 31 May 2024 15:10:45 +0000 (0:00:00.015) 0:02:41.937 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-mount.yml for sut included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-fstab.yml for sut included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-fs.yml for sut included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-device.yml for sut included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-encryption.yml for sut included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-md.yml for sut included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml for sut included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-cache.yml for sut TASK [Get expected mount device based on device type] ************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-mount.yml:7 Friday 31 May 2024 15:10:45 +0000 (0:00:00.058) 0:02:41.995 ************ 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-2zs40rrd2/tests/test-verify-volume-mount.yml:16 Friday 31 May 2024 15:10:45 +0000 (0:00:00.015) 0:02:42.010 ************ 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-2zs40rrd2/tests/test-verify-volume-mount.yml:31 Friday 31 May 2024 15:10:45 +0000 (0:00:00.015) 0:02:42.026 ************ 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-2zs40rrd2/tests/test-verify-volume-mount.yml:44 Friday 31 May 2024 15:10:45 +0000 (0:00:00.012) 0:02:42.039 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify mount directory user] ********************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-mount.yml:53 Friday 31 May 2024 15:10:45 +0000 (0:00:00.015) 0:02:42.054 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify mount directory group] ******************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-mount.yml:65 Friday 31 May 2024 15:10:45 +0000 (0:00:00.013) 0:02:42.068 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify mount directory permissions] ************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-mount.yml:77 Friday 31 May 2024 15:10:45 +0000 (0:00:00.012) 0:02:42.081 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get path of test volume device] ****************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-mount.yml:92 Friday 31 May 2024 15:10:45 +0000 (0:00:00.012) 0:02:42.093 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-mount.yml:98 Friday 31 May 2024 15:10:45 +0000 (0:00:00.012) 0:02:42.106 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-mount.yml:104 Friday 31 May 2024 15:10:45 +0000 (0:00:00.012) 0:02:42.118 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-mount.yml:116 Friday 31 May 2024 15:10:45 +0000 (0:00:00.012) 0:02:42.130 ************ 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-2zs40rrd2/tests/test-verify-volume-fstab.yml:2 Friday 31 May 2024 15:10:45 +0000 (0:00:00.012) 0:02:42.143 ************ 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-2zs40rrd2/tests/test-verify-volume-fstab.yml:40 Friday 31 May 2024 15:10:45 +0000 (0:00:00.025) 0:02:42.168 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-fstab.yml:48 Friday 31 May 2024 15:10:45 +0000 (0:00:00.015) 0:02:42.183 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-fstab.yml:58 Friday 31 May 2024 15:10:45 +0000 (0:00:00.014) 0:02:42.198 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-fstab.yml:71 Friday 31 May 2024 15:10:46 +0000 (0:00:00.012) 0:02:42.210 ************ 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-2zs40rrd2/tests/test-verify-volume-fs.yml:6 Friday 31 May 2024 15:10:46 +0000 (0:00:00.011) 0:02:42.221 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-fs.yml:17 Friday 31 May 2024 15:10:46 +0000 (0:00:00.017) 0:02:42.239 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-device.yml:3 Friday 31 May 2024 15:10:46 +0000 (0:00:00.017) 0:02:42.257 ************ ok: [sut] => { "changed": false, "stat": { "atime": 1717168220.0996048, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1717168220.0996048, "dev": 6, "device_type": 64769, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 86634, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1717168220.0996048, "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-2zs40rrd2/tests/test-verify-volume-device.yml:9 Friday 31 May 2024 15:10:46 +0000 (0:00:00.199) 0:02:42.456 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the presence/absence of the device node] ************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-device.yml:16 Friday 31 May 2024 15:10:46 +0000 (0:00:00.016) 0:02:42.473 ************ 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-2zs40rrd2/tests/test-verify-volume-device.yml:24 Friday 31 May 2024 15:10:46 +0000 (0:00:00.012) 0:02:42.485 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Process volume type (set initial value) (1/2)] *************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-device.yml:30 Friday 31 May 2024 15:10:46 +0000 (0:00:00.014) 0:02:42.500 ************ 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-2zs40rrd2/tests/test-verify-volume-device.yml:34 Friday 31 May 2024 15:10:46 +0000 (0:00:00.013) 0:02:42.514 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-device.yml:39 Friday 31 May 2024 15:10:46 +0000 (0:00:00.011) 0:02:42.525 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-encryption.yml:3 Friday 31 May 2024 15:10:46 +0000 (0:00:00.014) 0:02:42.539 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-encryption.yml:10 Friday 31 May 2024 15:10:46 +0000 (0:00:00.012) 0:02:42.552 ************ 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-2zs40rrd2/tests/test-verify-volume-encryption.yml:17 Friday 31 May 2024 15:10:48 +0000 (0:00:02.571) 0:02:45.123 ************ 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-2zs40rrd2/tests/test-verify-volume-encryption.yml:23 Friday 31 May 2024 15:10:48 +0000 (0:00:00.013) 0:02:45.136 ************ 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-2zs40rrd2/tests/test-verify-volume-encryption.yml:32 Friday 31 May 2024 15:10:48 +0000 (0:00:00.012) 0:02:45.149 ************ 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-2zs40rrd2/tests/test-verify-volume-encryption.yml:45 Friday 31 May 2024 15:10:48 +0000 (0:00:00.016) 0:02:45.166 ************ 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-2zs40rrd2/tests/test-verify-volume-encryption.yml:51 Friday 31 May 2024 15:10:48 +0000 (0:00:00.012) 0:02:45.178 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-encryption.yml:56 Friday 31 May 2024 15:10:49 +0000 (0:00:00.034) 0:02:45.213 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-encryption.yml:69 Friday 31 May 2024 15:10:49 +0000 (0:00:00.013) 0:02:45.226 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-encryption.yml:81 Friday 31 May 2024 15:10:49 +0000 (0:00:00.011) 0:02:45.238 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set test variables] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-encryption.yml:94 Friday 31 May 2024 15:10:49 +0000 (0:00:00.011) 0:02:45.249 ************ 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-2zs40rrd2/tests/test-verify-volume-encryption.yml:106 Friday 31 May 2024 15:10:49 +0000 (0:00:00.016) 0:02:45.266 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-encryption.yml:114 Friday 31 May 2024 15:10:49 +0000 (0:00:00.014) 0:02:45.281 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-encryption.yml:122 Friday 31 May 2024 15:10:49 +0000 (0:00:00.013) 0:02:45.295 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-encryption.yml:131 Friday 31 May 2024 15:10:49 +0000 (0:00:00.012) 0:02:45.307 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clear test variables] **************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-encryption.yml:140 Friday 31 May 2024 15:10:49 +0000 (0:00:00.012) 0:02:45.320 ************ 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-2zs40rrd2/tests/test-verify-volume-md.yml:8 Friday 31 May 2024 15:10:49 +0000 (0:00:00.011) 0:02:45.331 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set active devices regex] ************************************************ task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-md.yml:14 Friday 31 May 2024 15:10:49 +0000 (0:00:00.012) 0:02:45.344 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set spare devices regex] ************************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-md.yml:21 Friday 31 May 2024 15:10:49 +0000 (0:00:00.012) 0:02:45.356 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set md version regex] **************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-md.yml:28 Friday 31 May 2024 15:10:49 +0000 (0:00:00.014) 0:02:45.370 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set chunk size regex] **************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-md.yml:35 Friday 31 May 2024 15:10:49 +0000 (0:00:00.012) 0:02:45.383 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Parse the chunk size] **************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-md.yml:45 Friday 31 May 2024 15:10:49 +0000 (0:00:00.012) 0:02:45.395 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID active devices count] ***************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-md.yml:54 Friday 31 May 2024 15:10:49 +0000 (0:00:00.011) 0:02:45.407 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID spare devices count] ****************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-md.yml:63 Friday 31 May 2024 15:10:49 +0000 (0:00:00.012) 0:02:45.419 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID metadata version] ********************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-md.yml:72 Friday 31 May 2024 15:10:49 +0000 (0:00:00.012) 0:02:45.432 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID chunk size] *************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-md.yml:81 Friday 31 May 2024 15:10:49 +0000 (0:00:00.012) 0:02:45.445 ************ 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-2zs40rrd2/tests/test-verify-volume-size.yml:3 Friday 31 May 2024 15:10:49 +0000 (0:00:00.012) 0:02:45.457 ************ 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-2zs40rrd2/tests/test-verify-volume-size.yml:11 Friday 31 May 2024 15:10:49 +0000 (0:00:00.190) 0:02:45.648 ************ 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-2zs40rrd2/tests/test-verify-volume-size.yml:20 Friday 31 May 2024 15:10:49 +0000 (0:00:00.191) 0:02:45.840 ************ ok: [sut] => { "ansible_facts": { "storage_test_expected_size": "4294967296" }, "changed": false } TASK [Show expected size] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml:28 Friday 31 May 2024 15:10:49 +0000 (0:00:00.016) 0:02:45.857 ************ ok: [sut] => { "storage_test_expected_size": "4294967296" } TASK [Get the size of parent/pool device] ************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml:32 Friday 31 May 2024 15:10:49 +0000 (0:00:00.013) 0:02:45.870 ************ ok: [sut] => { "bytes": 10715943403, "changed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } TASK [Show test pool] ********************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml:46 Friday 31 May 2024 15:10:49 +0000 (0:00:00.191) 0:02:46.061 ************ skipping: [sut] => {} TASK [Show test blockinfo] ***************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml:50 Friday 31 May 2024 15:10:49 +0000 (0:00:00.015) 0:02:46.077 ************ skipping: [sut] => {} TASK [Show test pool size] ***************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml:54 Friday 31 May 2024 15:10:49 +0000 (0:00:00.014) 0:02:46.092 ************ skipping: [sut] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml:58 Friday 31 May 2024 15:10:49 +0000 (0:00:00.016) 0:02:46.109 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Default thin pool reserved space values] ********************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml:68 Friday 31 May 2024 15:10:49 +0000 (0:00:00.014) 0:02:46.124 ************ 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-2zs40rrd2/tests/test-verify-volume-size.yml:72 Friday 31 May 2024 15:10:49 +0000 (0:00:00.012) 0:02:46.136 ************ 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-2zs40rrd2/tests/test-verify-volume-size.yml:77 Friday 31 May 2024 15:10:49 +0000 (0:00:00.012) 0:02:46.149 ************ 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-2zs40rrd2/tests/test-verify-volume-size.yml:83 Friday 31 May 2024 15:10:49 +0000 (0:00:00.011) 0:02:46.160 ************ 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-2zs40rrd2/tests/test-verify-volume-size.yml:88 Friday 31 May 2024 15:10:49 +0000 (0:00:00.011) 0:02:46.171 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply lower size limit to max usable thin pool space] ******************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml:96 Friday 31 May 2024 15:10:49 +0000 (0:00:00.012) 0:02:46.184 ************ 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-2zs40rrd2/tests/test-verify-volume-size.yml:104 Friday 31 May 2024 15:10:49 +0000 (0:00:00.011) 0:02:46.195 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Show max thin pool size] ************************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml:109 Friday 31 May 2024 15:10:50 +0000 (0:00:00.011) 0:02:46.207 ************ skipping: [sut] => {} TASK [Show volume thin pool size] ********************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml:113 Friday 31 May 2024 15:10:50 +0000 (0:00:00.011) 0:02:46.218 ************ skipping: [sut] => {} TASK [Show test volume size] *************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml:117 Friday 31 May 2024 15:10:50 +0000 (0:00:00.012) 0:02:46.230 ************ skipping: [sut] => {} TASK [Establish base value for expected thin pool size] ************************ task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml:121 Friday 31 May 2024 15:10:50 +0000 (0:00:00.011) 0:02:46.242 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml:129 Friday 31 May 2024 15:10:50 +0000 (0:00:00.012) 0:02:46.254 ************ 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-2zs40rrd2/tests/test-verify-volume-size.yml:138 Friday 31 May 2024 15:10:50 +0000 (0:00:00.011) 0:02:46.265 ************ 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-2zs40rrd2/tests/test-verify-volume-size.yml:142 Friday 31 May 2024 15:10:50 +0000 (0:00:00.011) 0:02:46.277 ************ 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-2zs40rrd2/tests/test-verify-volume-size.yml:150 Friday 31 May 2024 15:10:50 +0000 (0:00:00.011) 0:02:46.288 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Show actual size] ******************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml:156 Friday 31 May 2024 15:10:50 +0000 (0:00:00.011) 0:02:46.299 ************ ok: [sut] => { "storage_test_actual_size": { "bytes": 4294967296, "changed": false, "failed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } } TASK [Show expected size] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml:160 Friday 31 May 2024 15:10:50 +0000 (0:00:00.013) 0:02:46.312 ************ ok: [sut] => { "storage_test_expected_size": "4294967296" } TASK [Assert expected size is actual size] ************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml:164 Friday 31 May 2024 15:10:50 +0000 (0:00:00.013) 0:02:46.326 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-cache.yml:5 Friday 31 May 2024 15:10:50 +0000 (0:00:00.018) 0:02:46.344 ************ 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.023278", "end": "2024-05-31 15:10:50.333816", "rc": 0, "start": "2024-05-31 15:10:50.310538" } 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-2zs40rrd2/tests/test-verify-volume-cache.yml:13 Friday 31 May 2024 15:10:50 +0000 (0:00:00.218) 0:02:46.563 ************ ok: [sut] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [Check segment type] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-cache.yml:18 Friday 31 May 2024 15:10:50 +0000 (0:00:00.016) 0:02:46.579 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set LV cache size] ******************************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-cache.yml:27 Friday 31 May 2024 15:10:50 +0000 (0:00:00.016) 0:02:46.596 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Parse the requested cache size] ****************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-cache.yml:35 Friday 31 May 2024 15:10:50 +0000 (0:00:00.013) 0:02:46.610 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set expected cache size] ************************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-cache.yml:41 Friday 31 May 2024 15:10:50 +0000 (0:00:00.013) 0:02:46.624 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-cache.yml:47 Friday 31 May 2024 15:10:50 +0000 (0:00:00.013) 0:02:46.637 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume.yml:27 Friday 31 May 2024 15:10:50 +0000 (0:00:00.013) 0:02:46.650 ************ 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-2zs40rrd2/tests/verify-role-results.yml:44 Friday 31 May 2024 15:10:50 +0000 (0:00:00.012) 0:02:46.663 ************ TASK [Clean up variable namespace] ********************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-role-results.yml:54 Friday 31 May 2024 15:10:50 +0000 (0:00:00.011) 0:02:46.674 ************ 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-2zs40rrd2/tests/tests_luks_pool.yml:266 Friday 31 May 2024 15:10:50 +0000 (0:00:00.011) 0:02:46.685 ************ TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Friday 31 May 2024 15:10:50 +0000 (0:00:00.059) 0:02:46.744 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Friday 31 May 2024 15:10:50 +0000 (0:00:00.018) 0:02:46.762 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Friday 31 May 2024 15:10:50 +0000 (0:00:00.014) 0:02:46.777 ************ 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-2zs40rrd2/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-2zs40rrd2/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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:26 Friday 31 May 2024 15:10:50 +0000 (0:00:00.033) 0:02:46.811 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:31 Friday 31 May 2024 15:10:50 +0000 (0:00:00.012) 0:02:46.823 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Friday 31 May 2024 15:10:50 +0000 (0:00:00.012) 0:02:46.836 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Friday 31 May 2024 15:10:50 +0000 (0:00:00.011) 0:02:46.847 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Friday 31 May 2024 15:10:50 +0000 (0:00:00.011) 0:02:46.858 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Friday 31 May 2024 15:10:50 +0000 (0:00:00.025) 0:02:46.884 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:11 Friday 31 May 2024 15:10:50 +0000 (0:00:00.012) 0:02:46.896 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:16 Friday 31 May 2024 15:10:50 +0000 (0:00:00.012) 0:02:46.909 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:21 Friday 31 May 2024 15:10:50 +0000 (0:00:00.013) 0:02:46.922 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:34 Friday 31 May 2024 15:10:50 +0000 (0:00:00.013) 0:02:46.936 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:41 Friday 31 May 2024 15:10:50 +0000 (0:00:00.012) 0:02:46.948 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:57 Friday 31 May 2024 15:10:50 +0000 (0:00:00.012) 0:02:46.961 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:64 Friday 31 May 2024 15:10:50 +0000 (0:00:00.012) 0:02:46.973 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:78 Friday 31 May 2024 15:10:50 +0000 (0:00:00.018) 0:02:46.992 ************ TASK [linux-system-roles.storage : Manage the pools and volumes to match the specified state] *** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:84 Friday 31 May 2024 15:10:50 +0000 (0:00:00.011) 0:02:47.003 ************ 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-5c35e98b-71ea-48da-a695-822dbd5f4bbf", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/mapper/luks-5c35e98b-71ea-48da-a695-822dbd5f4bbf", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "luks" } ], "changed": true, "crypts": [ { "backing_device": "/dev/sda", "name": "luks-5c35e98b-71ea-48da-a695-822dbd5f4bbf", "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-5c35e98b-71ea-48da-a695-822dbd5f4bbf", "_mount_id": "/dev/mapper/luks-5c35e98b-71ea-48da-a695-822dbd5f4bbf", "_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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:98 Friday 31 May 2024 15:10:55 +0000 (0:00:05.189) 0:02:52.192 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:110 Friday 31 May 2024 15:10:55 +0000 (0:00:00.012) 0:02:52.205 ************ TASK [linux-system-roles.storage : Show blivet_output] ************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:116 Friday 31 May 2024 15:10:56 +0000 (0:00:00.011) 0:02:52.217 ************ 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-5c35e98b-71ea-48da-a695-822dbd5f4bbf", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/mapper/luks-5c35e98b-71ea-48da-a695-822dbd5f4bbf", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "luks" } ], "changed": true, "crypts": [ { "backing_device": "/dev/sda", "name": "luks-5c35e98b-71ea-48da-a695-822dbd5f4bbf", "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-5c35e98b-71ea-48da-a695-822dbd5f4bbf", "_mount_id": "/dev/mapper/luks-5c35e98b-71ea-48da-a695-822dbd5f4bbf", "_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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:125 Friday 31 May 2024 15:10:56 +0000 (0:00:00.015) 0:02:52.232 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:129 Friday 31 May 2024 15:10:56 +0000 (0:00:00.014) 0:02:52.247 ************ ok: [sut] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/mapper/luks-5c35e98b-71ea-48da-a695-822dbd5f4bbf", "_mount_id": "/dev/mapper/luks-5c35e98b-71ea-48da-a695-822dbd5f4bbf", "_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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:145 Friday 31 May 2024 15:10:56 +0000 (0:00:00.014) 0:02:52.261 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:157 Friday 31 May 2024 15:10:56 +0000 (0:00:00.212) 0:02:52.473 ************ ok: [sut] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : Set up new/current mounts] ****************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:162 Friday 31 May 2024 15:10:56 +0000 (0:00:00.483) 0:02:52.957 ************ TASK [linux-system-roles.storage : Manage mount ownership/permissions] ********* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:174 Friday 31 May 2024 15:10:56 +0000 (0:00:00.013) 0:02:52.970 ************ TASK [linux-system-roles.storage : Tell systemd to refresh its view of /etc/fstab] *** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:189 Friday 31 May 2024 15:10:56 +0000 (0:00:00.012) 0:02:52.983 ************ 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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:197 Friday 31 May 2024 15:10:57 +0000 (0:00:00.469) 0:02:53.453 ************ ok: [sut] => { "changed": false, "stat": { "atime": 1717168223.263523, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "c4561ef35f86b8403c6fd2503cda16964ee3aef0", "ctime": 1717168222.0115554, "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": 1717168222.0105555, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 53, "uid": 0, "version": "1391876084", "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-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:202 Friday 31 May 2024 15:10:57 +0000 (0:00:00.200) 0:02:53.653 ************ changed: [sut] => (item={'backing_device': '/dev/sda', 'name': 'luks-5c35e98b-71ea-48da-a695-822dbd5f4bbf', 'password': '-', 'state': 'absent'}) => { "ansible_loop_var": "entry", "backup": "", "changed": true, "entry": { "backing_device": "/dev/sda", "name": "luks-5c35e98b-71ea-48da-a695-822dbd5f4bbf", "password": "-", "state": "absent" }, "found": 1 } MSG: 1 line(s) removed TASK [linux-system-roles.storage : Update facts] ******************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:224 Friday 31 May 2024 15:10:57 +0000 (0:00:00.202) 0:02:53.856 ************ ok: [sut] TASK [Verify role results] ***************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/tests_luks_pool.yml:276 Friday 31 May 2024 15:10:58 +0000 (0:00:00.602) 0:02:54.459 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-role-results.yml for sut TASK [Print out pool information] ********************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-role-results.yml:2 Friday 31 May 2024 15:10:58 +0000 (0:00:00.025) 0:02:54.484 ************ skipping: [sut] => {} TASK [Print out volume information] ******************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-role-results.yml:7 Friday 31 May 2024 15:10:58 +0000 (0:00:00.012) 0:02:54.497 ************ ok: [sut] => { "_storage_volumes_list": [ { "_device": "/dev/mapper/luks-5c35e98b-71ea-48da-a695-822dbd5f4bbf", "_mount_id": "/dev/mapper/luks-5c35e98b-71ea-48da-a695-822dbd5f4bbf", "_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-2zs40rrd2/tests/verify-role-results.yml:15 Friday 31 May 2024 15:10:58 +0000 (0:00:00.015) 0:02:54.512 ************ 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-2zs40rrd2/tests/verify-role-results.yml:20 Friday 31 May 2024 15:10:58 +0000 (0:00:00.220) 0:02:54.733 ************ ok: [sut] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002796", "end": "2024-05-31 15:10:58.702291", "rc": 0, "start": "2024-05-31 15:10:58.699495" } 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-2zs40rrd2/tests/verify-role-results.yml:25 Friday 31 May 2024 15:10:58 +0000 (0:00:00.197) 0:02:54.931 ************ ok: [sut] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002834", "end": "2024-05-31 15:10:58.897327", "failed_when_result": false, "rc": 0, "start": "2024-05-31 15:10:58.894493" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-role-results.yml:34 Friday 31 May 2024 15:10:58 +0000 (0:00:00.195) 0:02:55.126 ************ TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-role-results.yml:44 Friday 31 May 2024 15:10:58 +0000 (0:00:00.011) 0:02:55.137 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume.yml for sut TASK [Set storage volume test variables] *************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume.yml:2 Friday 31 May 2024 15:10:58 +0000 (0:00:00.023) 0:02:55.161 ************ 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-2zs40rrd2/tests/test-verify-volume.yml:21 Friday 31 May 2024 15:10:58 +0000 (0:00:00.015) 0:02:55.177 ************ included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-mount.yml for sut included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-fstab.yml for sut included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-fs.yml for sut included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-device.yml for sut included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-encryption.yml for sut included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-md.yml for sut included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml for sut included: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-cache.yml for sut TASK [Get expected mount device based on device type] ************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-mount.yml:7 Friday 31 May 2024 15:10:59 +0000 (0:00:00.053) 0:02:55.230 ************ ok: [sut] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/luks-5c35e98b-71ea-48da-a695-822dbd5f4bbf" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-mount.yml:16 Friday 31 May 2024 15:10:59 +0000 (0:00:00.015) 0:02:55.246 ************ 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-2zs40rrd2/tests/test-verify-volume-mount.yml:31 Friday 31 May 2024 15:10:59 +0000 (0:00:00.016) 0:02:55.262 ************ 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-2zs40rrd2/tests/test-verify-volume-mount.yml:44 Friday 31 May 2024 15:10:59 +0000 (0:00:00.013) 0:02:55.276 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify mount directory user] ********************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-mount.yml:53 Friday 31 May 2024 15:10:59 +0000 (0:00:00.011) 0:02:55.287 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify mount directory group] ******************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-mount.yml:65 Friday 31 May 2024 15:10:59 +0000 (0:00:00.012) 0:02:55.300 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify mount directory permissions] ************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-mount.yml:77 Friday 31 May 2024 15:10:59 +0000 (0:00:00.012) 0:02:55.312 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get path of test volume device] ****************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-mount.yml:92 Friday 31 May 2024 15:10:59 +0000 (0:00:00.012) 0:02:55.325 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-mount.yml:98 Friday 31 May 2024 15:10:59 +0000 (0:00:00.012) 0:02:55.338 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-mount.yml:104 Friday 31 May 2024 15:10:59 +0000 (0:00:00.012) 0:02:55.350 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-mount.yml:116 Friday 31 May 2024 15:10:59 +0000 (0:00:00.014) 0:02:55.365 ************ 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-2zs40rrd2/tests/test-verify-volume-fstab.yml:2 Friday 31 May 2024 15:10:59 +0000 (0:00:00.012) 0:02:55.378 ************ 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-2zs40rrd2/tests/test-verify-volume-fstab.yml:40 Friday 31 May 2024 15:10:59 +0000 (0:00:00.026) 0:02:55.404 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-fstab.yml:48 Friday 31 May 2024 15:10:59 +0000 (0:00:00.012) 0:02:55.417 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-fstab.yml:58 Friday 31 May 2024 15:10:59 +0000 (0:00:00.014) 0:02:55.431 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-fstab.yml:71 Friday 31 May 2024 15:10:59 +0000 (0:00:00.012) 0:02:55.444 ************ 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-2zs40rrd2/tests/test-verify-volume-fs.yml:6 Friday 31 May 2024 15:10:59 +0000 (0:00:00.016) 0:02:55.460 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-fs.yml:17 Friday 31 May 2024 15:10:59 +0000 (0:00:00.013) 0:02:55.474 ************ 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-2zs40rrd2/tests/test-verify-volume-device.yml:3 Friday 31 May 2024 15:10:59 +0000 (0:00:00.019) 0:02:55.494 ************ ok: [sut] => { "changed": false, "stat": { "atime": 1717168255.9086792, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1717168255.9086792, "dev": 6, "device_type": 2048, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 47203, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1717168255.9086792, "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-2zs40rrd2/tests/test-verify-volume-device.yml:9 Friday 31 May 2024 15:10:59 +0000 (0:00:00.200) 0:02:55.694 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the presence/absence of the device node] ************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-device.yml:16 Friday 31 May 2024 15:10:59 +0000 (0:00:00.016) 0:02:55.711 ************ 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-2zs40rrd2/tests/test-verify-volume-device.yml:24 Friday 31 May 2024 15:10:59 +0000 (0:00:00.016) 0:02:55.727 ************ 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-2zs40rrd2/tests/test-verify-volume-device.yml:30 Friday 31 May 2024 15:10:59 +0000 (0:00:00.010) 0:02:55.738 ************ 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-2zs40rrd2/tests/test-verify-volume-device.yml:34 Friday 31 May 2024 15:10:59 +0000 (0:00:00.013) 0:02:55.752 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-device.yml:39 Friday 31 May 2024 15:10:59 +0000 (0:00:00.012) 0:02:55.764 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-encryption.yml:3 Friday 31 May 2024 15:10:59 +0000 (0:00:00.011) 0:02:55.776 ************ ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Ensure cryptsetup is present] ******************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-encryption.yml:10 Friday 31 May 2024 15:10:59 +0000 (0:00:00.190) 0:02:55.967 ************ 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-2zs40rrd2/tests/test-verify-volume-encryption.yml:17 Friday 31 May 2024 15:11:02 +0000 (0:00:02.679) 0:02:58.646 ************ 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-2zs40rrd2/tests/test-verify-volume-encryption.yml:23 Friday 31 May 2024 15:11:02 +0000 (0:00:00.012) 0:02:58.659 ************ 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-2zs40rrd2/tests/test-verify-volume-encryption.yml:32 Friday 31 May 2024 15:11:02 +0000 (0:00:00.016) 0:02:58.676 ************ 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-2zs40rrd2/tests/test-verify-volume-encryption.yml:45 Friday 31 May 2024 15:11:02 +0000 (0:00:00.010) 0:02:58.686 ************ 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-2zs40rrd2/tests/test-verify-volume-encryption.yml:51 Friday 31 May 2024 15:11:02 +0000 (0:00:00.012) 0:02:58.699 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-encryption.yml:56 Friday 31 May 2024 15:11:02 +0000 (0:00:00.012) 0:02:58.712 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-encryption.yml:69 Friday 31 May 2024 15:11:02 +0000 (0:00:00.012) 0:02:58.724 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-encryption.yml:81 Friday 31 May 2024 15:11:02 +0000 (0:00:00.010) 0:02:58.734 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set test variables] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-encryption.yml:94 Friday 31 May 2024 15:11:02 +0000 (0:00:00.010) 0:02:58.745 ************ 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-2zs40rrd2/tests/test-verify-volume-encryption.yml:106 Friday 31 May 2024 15:11:02 +0000 (0:00:00.017) 0:02:58.762 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-encryption.yml:114 Friday 31 May 2024 15:11:02 +0000 (0:00:00.015) 0:02:58.777 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-encryption.yml:122 Friday 31 May 2024 15:11:02 +0000 (0:00:00.013) 0:02:58.790 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-encryption.yml:131 Friday 31 May 2024 15:11:02 +0000 (0:00:00.015) 0:02:58.805 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clear test variables] **************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-encryption.yml:140 Friday 31 May 2024 15:11:02 +0000 (0:00:00.013) 0:02:58.819 ************ 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-2zs40rrd2/tests/test-verify-volume-md.yml:8 Friday 31 May 2024 15:11:02 +0000 (0:00:00.012) 0:02:58.831 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set active devices regex] ************************************************ task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-md.yml:14 Friday 31 May 2024 15:11:02 +0000 (0:00:00.012) 0:02:58.844 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set spare devices regex] ************************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-md.yml:21 Friday 31 May 2024 15:11:02 +0000 (0:00:00.012) 0:02:58.856 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set md version regex] **************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-md.yml:28 Friday 31 May 2024 15:11:02 +0000 (0:00:00.012) 0:02:58.868 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set chunk size regex] **************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-md.yml:35 Friday 31 May 2024 15:11:02 +0000 (0:00:00.012) 0:02:58.880 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Parse the chunk size] **************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-md.yml:45 Friday 31 May 2024 15:11:02 +0000 (0:00:00.012) 0:02:58.893 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID active devices count] ***************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-md.yml:54 Friday 31 May 2024 15:11:02 +0000 (0:00:00.012) 0:02:58.905 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID spare devices count] ****************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-md.yml:63 Friday 31 May 2024 15:11:02 +0000 (0:00:00.011) 0:02:58.916 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID metadata version] ********************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-md.yml:72 Friday 31 May 2024 15:11:02 +0000 (0:00:00.011) 0:02:58.927 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID chunk size] *************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-md.yml:81 Friday 31 May 2024 15:11:02 +0000 (0:00:00.010) 0:02:58.938 ************ 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-2zs40rrd2/tests/test-verify-volume-size.yml:3 Friday 31 May 2024 15:11:02 +0000 (0:00:00.012) 0:02:58.950 ************ 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-2zs40rrd2/tests/test-verify-volume-size.yml:11 Friday 31 May 2024 15:11:02 +0000 (0:00:00.010) 0:02:58.961 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml:20 Friday 31 May 2024 15:11:02 +0000 (0:00:00.010) 0:02:58.972 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Show expected size] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml:28 Friday 31 May 2024 15:11:02 +0000 (0:00:00.011) 0:02:58.983 ************ ok: [sut] => { "storage_test_expected_size": "4294967296" } TASK [Get the size of parent/pool device] ************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml:32 Friday 31 May 2024 15:11:02 +0000 (0:00:00.012) 0:02:58.995 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Show test pool] ********************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml:46 Friday 31 May 2024 15:11:02 +0000 (0:00:00.012) 0:02:59.007 ************ skipping: [sut] => {} TASK [Show test blockinfo] ***************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml:50 Friday 31 May 2024 15:11:02 +0000 (0:00:00.012) 0:02:59.020 ************ skipping: [sut] => {} TASK [Show test pool size] ***************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml:54 Friday 31 May 2024 15:11:02 +0000 (0:00:00.011) 0:02:59.032 ************ skipping: [sut] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml:58 Friday 31 May 2024 15:11:02 +0000 (0:00:00.012) 0:02:59.044 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Default thin pool reserved space values] ********************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml:68 Friday 31 May 2024 15:11:02 +0000 (0:00:00.012) 0:02:59.056 ************ 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-2zs40rrd2/tests/test-verify-volume-size.yml:72 Friday 31 May 2024 15:11:02 +0000 (0:00:00.011) 0:02:59.067 ************ 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-2zs40rrd2/tests/test-verify-volume-size.yml:77 Friday 31 May 2024 15:11:02 +0000 (0:00:00.010) 0:02:59.078 ************ 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-2zs40rrd2/tests/test-verify-volume-size.yml:83 Friday 31 May 2024 15:11:02 +0000 (0:00:00.012) 0:02:59.091 ************ 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-2zs40rrd2/tests/test-verify-volume-size.yml:88 Friday 31 May 2024 15:11:02 +0000 (0:00:00.011) 0:02:59.102 ************ 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-2zs40rrd2/tests/test-verify-volume-size.yml:96 Friday 31 May 2024 15:11:02 +0000 (0:00:00.010) 0:02:59.113 ************ 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-2zs40rrd2/tests/test-verify-volume-size.yml:104 Friday 31 May 2024 15:11:02 +0000 (0:00:00.011) 0:02:59.124 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Show max thin pool size] ************************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml:109 Friday 31 May 2024 15:11:02 +0000 (0:00:00.010) 0:02:59.135 ************ skipping: [sut] => {} TASK [Show volume thin pool size] ********************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml:113 Friday 31 May 2024 15:11:02 +0000 (0:00:00.011) 0:02:59.146 ************ skipping: [sut] => {} TASK [Show test volume size] *************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml:117 Friday 31 May 2024 15:11:02 +0000 (0:00:00.012) 0:02:59.158 ************ skipping: [sut] => {} TASK [Establish base value for expected thin pool size] ************************ task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml:121 Friday 31 May 2024 15:11:02 +0000 (0:00:00.011) 0:02:59.169 ************ 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-2zs40rrd2/tests/test-verify-volume-size.yml:129 Friday 31 May 2024 15:11:02 +0000 (0:00:00.011) 0:02:59.180 ************ 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-2zs40rrd2/tests/test-verify-volume-size.yml:138 Friday 31 May 2024 15:11:02 +0000 (0:00:00.010) 0:02:59.191 ************ 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-2zs40rrd2/tests/test-verify-volume-size.yml:142 Friday 31 May 2024 15:11:02 +0000 (0:00:00.010) 0:02:59.202 ************ 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-2zs40rrd2/tests/test-verify-volume-size.yml:150 Friday 31 May 2024 15:11:03 +0000 (0:00:00.010) 0:02:59.213 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Show actual size] ******************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml:156 Friday 31 May 2024 15:11:03 +0000 (0:00:00.012) 0:02:59.226 ************ 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-2zs40rrd2/tests/test-verify-volume-size.yml:160 Friday 31 May 2024 15:11:03 +0000 (0:00:00.013) 0:02:59.239 ************ ok: [sut] => { "storage_test_expected_size": "4294967296" } TASK [Assert expected size is actual size] ************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-size.yml:164 Friday 31 May 2024 15:11:03 +0000 (0:00:00.012) 0:02:59.251 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-cache.yml:5 Friday 31 May 2024 15:11:03 +0000 (0:00:00.012) 0:02:59.263 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set LV segment type] ***************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-cache.yml:13 Friday 31 May 2024 15:11:03 +0000 (0:00:00.012) 0:02:59.275 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check segment type] ****************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-cache.yml:18 Friday 31 May 2024 15:11:03 +0000 (0:00:00.010) 0:02:59.286 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set LV cache size] ******************************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-cache.yml:27 Friday 31 May 2024 15:11:03 +0000 (0:00:00.013) 0:02:59.300 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Parse the requested cache size] ****************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-cache.yml:35 Friday 31 May 2024 15:11:03 +0000 (0:00:00.012) 0:02:59.312 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set expected cache size] ************************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-cache.yml:41 Friday 31 May 2024 15:11:03 +0000 (0:00:00.012) 0:02:59.324 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-cache.yml:47 Friday 31 May 2024 15:11:03 +0000 (0:00:00.012) 0:02:59.336 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume.yml:27 Friday 31 May 2024 15:11:03 +0000 (0:00:00.012) 0:02:59.348 ************ ok: [sut] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-role-results.yml:54 Friday 31 May 2024 15:11:03 +0000 (0:00:00.010) 0:02:59.359 ************ 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 Friday 31 May 2024 15:11:03 +0000 (0:00:00.006) 0:02:59.366 ************ =============================================================================== linux-system-roles.storage : Make sure blivet is available ------------- 48.19s /WORKDIR/git-main_stratis-support-2zs40rrd2/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.99s /WORKDIR/git-main_stratis-support-2zs40rrd2/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.36s /WORKDIR/git-main_stratis-support-2zs40rrd2/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.93s /WORKDIR/git-main_stratis-support-2zs40rrd2/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.19s /WORKDIR/git-main_stratis-support-2zs40rrd2/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.58s /WORKDIR/git-main_stratis-support-2zs40rrd2/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.51s /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:84 linux-system-roles.storage : Get required packages ---------------------- 4.41s /WORKDIR/git-main_stratis-support-2zs40rrd2/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.39s /WORKDIR/git-main_stratis-support-2zs40rrd2/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.17s /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:84 linux-system-roles.storage : Make sure required packages are installed --- 2.74s /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:41 Ensure cryptsetup is present -------------------------------------------- 2.72s /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-encryption.yml:12 linux-system-roles.storage : Make sure required packages are installed --- 2.68s /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:41 Ensure cryptsetup is present -------------------------------------------- 2.68s /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-encryption.yml:10 Ensure cryptsetup is present -------------------------------------------- 2.65s /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-encryption.yml:10 Ensure cryptsetup is present -------------------------------------------- 2.65s /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-encryption.yml:10 Ensure test packages ---------------------------------------------------- 2.63s /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/get_unused_disk.yml:2 ------- Ensure cryptsetup is present -------------------------------------------- 2.59s /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/verify-pool-member-encryption.yml:12 Ensure cryptsetup is present -------------------------------------------- 2.58s /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-encryption.yml:10 Ensure cryptsetup is present -------------------------------------------- 2.57s /WORKDIR/git-main_stratis-support-2zs40rrd2/tests/test-verify-volume-encryption.yml:10 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---