# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] 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.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-refactor-ostreetge020r7/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_disk_errors.yml ************************************************ 1 plays in /WORKDIR/git-refactor-ostreetge020r7/tests/tests_disk_errors.yml PLAY [Test disk error handling] ************************************************ TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-refactor-ostreetge020r7/tests/tests_disk_errors.yml:2 Wednesday 22 November 2023 20:03:01 +0000 (0:00:00.015) 0:00:00.015 **** ok: [sut] TASK [Run the role] ************************************************************ task path: /WORKDIR/git-refactor-ostreetge020r7/tests/tests_disk_errors.yml:11 Wednesday 22 November 2023 20:03:02 +0000 (0:00:00.922) 0:00:00.938 **** TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Wednesday 22 November 2023 20:03:02 +0000 (0:00:00.024) 0:00:00.962 **** included: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Wednesday 22 November 2023 20:03:02 +0000 (0:00:00.016) 0:00:00.978 **** skipping: [sut] => { "changed": false, "false_condition": "__storage_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Wednesday 22 November 2023 20:03:02 +0000 (0:00:00.025) 0:00:01.003 **** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [sut] => (item=RedHat_8.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat_8.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Check if system is ostree] *********** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Wednesday 22 November 2023 20:03:02 +0000 (0:00:00.034) 0:00:01.038 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 Wednesday 22 November 2023 20:03:02 +0000 (0:00:00.279) 0:00:01.318 **** ok: [sut] => { "ansible_facts": { "__storage_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.storage : Define an empty list of pools to be used in testing] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Wednesday 22 November 2023 20:03:02 +0000 (0:00:00.018) 0:00:01.337 **** ok: [sut] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Define an empty list of volumes to be used in testing] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Wednesday 22 November 2023 20:03:02 +0000 (0:00:00.011) 0:00:01.349 **** ok: [sut] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Include the appropriate provider tasks] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Wednesday 22 November 2023 20:03:02 +0000 (0:00:00.012) 0:00:01.361 **** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for sut TASK [fedora.linux_system_roles.storage : Make sure blivet is available] ******* task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Wednesday 22 November 2023 20:03:02 +0000 (0:00:00.035) 0:00:01.397 **** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: libblockdev-utils-2.28-4.el8.x86_64", "Installed: libbytesize-1.4-3.el8.x86_64", "Installed: blivet-data-1:3.6.0-7.el8.noarch", "Installed: mdadm-4.2-8.el8.x86_64", "Installed: ndctl-71.1-7.el8.x86_64", "Installed: ndctl-libs-71.1-7.el8.x86_64", "Installed: daxctl-libs-71.1-7.el8.x86_64", "Installed: userspace-rcu-0.10.1-4.el8.x86_64", "Installed: kmod-kvdo-6.2.8.7-92.el8.x86_64", "Installed: vdo-6.2.9.7-14.el8.x86_64", "Installed: device-mapper-event-8:1.02.181-13.el8_9.x86_64", "Installed: device-mapper-event-libs-8:1.02.181-13.el8_9.x86_64", "Installed: device-mapper-multipath-0.8.4-39.el8.x86_64", "Installed: device-mapper-multipath-libs-0.8.4-39.el8.x86_64", "Installed: device-mapper-persistent-data-0.9.0-7.el8.x86_64", "Installed: python3-blivet-1:3.6.0-7.el8.noarch", "Installed: python3-blockdev-2.28-4.el8.x86_64", "Installed: libaio-0.3.112-1.el8.x86_64", "Installed: python3-bytesize-1.4-3.el8.x86_64", "Installed: python3-pyparted-1:3.11.7-4.el8.x86_64", "Installed: volume_key-libs-0.3.11-6.el8.x86_64", "Installed: libblockdev-2.28-4.el8.x86_64", "Installed: libblockdev-crypto-2.28-4.el8.x86_64", "Installed: libblockdev-dm-2.28-4.el8.x86_64", "Installed: libblockdev-fs-2.28-4.el8.x86_64", "Installed: libblockdev-mpath-2.28-4.el8.x86_64", "Installed: libblockdev-kbd-2.28-4.el8.x86_64", "Installed: libblockdev-loop-2.28-4.el8.x86_64", "Installed: lsof-4.93.2-1.el8.x86_64", "Installed: libblockdev-lvm-2.28-4.el8.x86_64", "Installed: lvm2-8:2.03.14-13.el8_9.x86_64", "Installed: libblockdev-mdraid-2.28-4.el8.x86_64", "Installed: lvm2-libs-8:2.03.14-13.el8_9.x86_64", "Installed: libblockdev-nvdimm-2.28-4.el8.x86_64", "Installed: libblockdev-part-2.28-4.el8.x86_64", "Installed: libblockdev-swap-2.28-4.el8.x86_64" ] } TASK [fedora.linux_system_roles.storage : Show storage_pools] ****************** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:9 Wednesday 22 November 2023 20:03:54 +0000 (0:00:51.930) 0:00:53.327 **** ok: [sut] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined. 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : Show storage_volumes] **************** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:14 Wednesday 22 November 2023 20:03:54 +0000 (0:00:00.015) 0:00:53.342 **** ok: [sut] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined. 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : Get required packages] *************** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:19 Wednesday 22 November 2023 20:03:54 +0000 (0:00:00.015) 0:00:53.357 **** ok: [sut] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [fedora.linux_system_roles.storage : Enable copr repositories if needed] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:31 Wednesday 22 November 2023 20:03:55 +0000 (0:00:00.665) 0:00:54.023 **** included: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml for sut TASK [fedora.linux_system_roles.storage : Check if the COPR support packages should be installed] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:2 Wednesday 22 November 2023 20:03:55 +0000 (0:00:00.026) 0:00:54.049 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.storage : Make sure COPR support packages are present] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:13 Wednesday 22 November 2023 20:03:55 +0000 (0:00:00.019) 0:00:54.068 **** skipping: [sut] => { "changed": false, "false_condition": "install_copr | d(false) | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Enable COPRs] ************************ task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:19 Wednesday 22 November 2023 20:03:55 +0000 (0:00:00.020) 0:00:54.089 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.storage : Make sure required packages are installed] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:37 Wednesday 22 November 2023 20:03:55 +0000 (0:00:00.019) 0:00:54.108 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.storage : Get service facts] ******************* task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:51 Wednesday 22 November 2023 20:03:56 +0000 (0:00:01.289) 0:00:55.397 **** 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" }, "auto-cpufreq.service": { "name": "auto-cpufreq.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "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" }, "dbxtool.service": { "name": "dbxtool.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "debug-shell.service": { "name": "debug-shell.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "display-manager.service": { "name": "display-manager.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "dm-event.service": { "name": "dm-event.service", "source": "systemd", "state": "stopped", "status": "static" }, "dnf-makecache.service": { "name": "dnf-makecache.service", "source": "systemd", "state": "stopped", "status": "static" }, "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" }, "fcoe.service": { "name": "fcoe.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "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": "active" }, "grub-boot-indeterminate.service": { "name": "grub-boot-indeterminate.service", "source": "systemd", "state": "inactive", "status": "static" }, "gssproxy.service": { "name": "gssproxy.service", "source": "systemd", "state": "running", "status": "disabled" }, "halt-local.service": { "name": "halt-local.service", "source": "systemd", "state": "inactive", "status": "static" }, "hv_kvp_daemon.service": { "name": "hv_kvp_daemon.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "import-state.service": { "name": "import-state.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "initrd-cleanup.service": { "name": "initrd-cleanup.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-parse-etc.service": { "name": "initrd-parse-etc.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-switch-root.service": { "name": "initrd-switch-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-udevadm-cleanup-db.service": { "name": "initrd-udevadm-cleanup-db.service", "source": "systemd", "state": "stopped", "status": "static" }, "insights-client-boot.service": { "name": "insights-client-boot.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "insights-client-results.service": { "name": "insights-client-results.service", "source": "systemd", "state": "inactive", "status": "static" }, "insights-client.service": { "name": "insights-client.service", "source": "systemd", "state": "inactive", "status": "static" }, "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" }, "iscsi-shutdown.service": { "name": "iscsi-shutdown.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iscsi.service": { "name": "iscsi.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iscsid.service": { "name": "iscsid.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "kdump.service": { "name": "kdump.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "kmod-static-nodes.service": { "name": "kmod-static-nodes.service", "source": "systemd", "state": "stopped", "status": "static" }, "kvm_stat.service": { "name": "kvm_stat.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "ldconfig.service": { "name": "ldconfig.service", "source": "systemd", "state": "stopped", "status": "static" }, "loadmodules.service": { "name": "loadmodules.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "lvm2-activation-early.service": { "name": "lvm2-activation-early.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-activation.service": { "name": "lvm2-activation.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-lvmpolld.service": { "name": "lvm2-lvmpolld.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-monitor.service": { "name": "lvm2-monitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "lvm2-pvscan@.service": { "name": "lvm2-pvscan@.service", "source": "systemd", "state": "unknown", "status": "static" }, "man-db-cache-update.service": { "name": "man-db-cache-update.service", "source": "systemd", "state": "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" }, "modprobe@efi_pstore.service": { "name": "modprobe@efi_pstore.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "multipathd.service": { "name": "multipathd.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "ndctl-monitor.service": { "name": "ndctl-monitor.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "network.service": { "name": "network.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "nfs-blkmap.service": { "name": "nfs-blkmap.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-convert.service": { "name": "nfs-convert.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-idmapd.service": { "name": "nfs-idmapd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-mountd.service": { "name": "nfs-mountd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-server.service": { "name": "nfs-server.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "nfs-utils.service": { "name": "nfs-utils.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfsdcld.service": { "name": "nfsdcld.service", "source": "systemd", "state": "stopped", "status": "static" }, "nftables.service": { "name": "nftables.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nis-domainname.service": { "name": "nis-domainname.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "ntpd.service": { "name": "ntpd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ntpdate.service": { "name": "ntpdate.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "oddjobd.service": { "name": "oddjobd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "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" }, "power-profiles-daemon.service": { "name": "power-profiles-daemon.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "qemu-guest-agent.service": { "name": "qemu-guest-agent.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "quotaon.service": { "name": "quotaon.service", "source": "systemd", "state": "inactive", "status": "static" }, "rbdmap.service": { "name": "rbdmap.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "rc-local.service": { "name": "rc-local.service", "source": "systemd", "state": "stopped", "status": "static" }, "rdisc.service": { "name": "rdisc.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rescue.service": { "name": "rescue.service", "source": "systemd", "state": "stopped", "status": "static" }, "restraintd.service": { "name": "restraintd.service", "source": "systemd", "state": "running", "status": "enabled" }, "rhcd.service": { "name": "rhcd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rhsm-facts.service": { "name": "rhsm-facts.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rhsm.service": { "name": "rhsm.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rhsmcertd.service": { "name": "rhsmcertd.service", "source": "systemd", "state": "running", "status": "enabled" }, "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": "indirect" }, "serial-getty@ttyS0.service": { "name": "serial-getty@ttyS0.service", "source": "systemd", "state": "running", "status": "active" }, "snapd.seeded.service": { "name": "snapd.seeded.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sntp.service": { "name": "sntp.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen.service": { "name": "sshd-keygen.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen@.service": { "name": "sshd-keygen@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "sshd-keygen@ecdsa.service": { "name": "sshd-keygen@ecdsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@ed25519.service": { "name": "sshd-keygen@ed25519.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@rsa.service": { "name": "sshd-keygen@rsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd.service": { "name": "sshd.service", "source": "systemd", "state": "running", "status": "enabled" }, "sshd@.service": { "name": "sshd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "sssd-autofs.service": { "name": "sssd-autofs.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-kcm.service": { "name": "sssd-kcm.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "sssd-nss.service": { "name": "sssd-nss.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pac.service": { "name": "sssd-pac.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pam.service": { "name": "sssd-pam.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-ssh.service": { "name": "sssd-ssh.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-sudo.service": { "name": "sssd-sudo.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd.service": { "name": "sssd.service", "source": "systemd", "state": "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-networkd-wait-online.service": { "name": "systemd-networkd-wait-online.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "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-timesyncd.service": { "name": "systemd-timesyncd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "systemd-tmpfiles-clean.service": { "name": "systemd-tmpfiles-clean.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup-dev.service": { "name": "systemd-tmpfiles-setup-dev.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup.service": { "name": "systemd-tmpfiles-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-settle.service": { "name": "systemd-udev-settle.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-trigger.service": { "name": "systemd-udev-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udevd.service": { "name": "systemd-udevd.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-update-done.service": { "name": "systemd-update-done.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp-runlevel.service": { "name": "systemd-update-utmp-runlevel.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp.service": { "name": "systemd-update-utmp.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-user-sessions.service": { "name": "systemd-user-sessions.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-vconsole-setup.service": { "name": "systemd-vconsole-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-volatile-root.service": { "name": "systemd-volatile-root.service", "source": "systemd", "state": "inactive", "status": "static" }, "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" }, "tlp.service": { "name": "tlp.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "tuned.service": { "name": "tuned.service", "source": "systemd", "state": "running", "status": "enabled" }, "unbound-anchor.service": { "name": "unbound-anchor.service", "source": "systemd", "state": "stopped", "status": "static" }, "user-runtime-dir@.service": { "name": "user-runtime-dir@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user-runtime-dir@0.service": { "name": "user-runtime-dir@0.service", "source": "systemd", "state": "stopped", "status": "active" }, "user@.service": { "name": "user@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user@0.service": { "name": "user@0.service", "source": "systemd", "state": "running", "status": "active" }, "vdo-start-by-dev@.service": { "name": "vdo-start-by-dev@.service", "source": "systemd", "state": "unknown", "status": "static" }, "vdo.service": { "name": "vdo.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "ypbind.service": { "name": "ypbind.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "yppasswdd.service": { "name": "yppasswdd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypserv.service": { "name": "ypserv.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypxfrd.service": { "name": "ypxfrd.service", "source": "systemd", "state": "stopped", "status": "not-found" } } }, "changed": false } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:57 Wednesday 22 November 2023 20:03:58 +0000 (0:00:01.911) 0:00:57.309 **** ok: [sut] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:63 Wednesday 22 November 2023 20:03:58 +0000 (0:00:00.038) 0:00:57.347 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 Wednesday 22 November 2023 20:03:58 +0000 (0:00:00.012) 0:00:57.360 **** ok: [sut] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:83 Wednesday 22 November 2023 20:03:58 +0000 (0:00:00.378) 0:00:57.739 **** skipping: [sut] => { "changed": false, "false_condition": "storage_udevadm_trigger | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:95 Wednesday 22 November 2023 20:03:58 +0000 (0:00:00.024) 0:00:57.763 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.storage : Show blivet_output] ****************** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Wednesday 22 November 2023 20:03:58 +0000 (0:00:00.012) 0:00:57.776 **** ok: [sut] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } } TASK [fedora.linux_system_roles.storage : Set the list of pools for test verification] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:106 Wednesday 22 November 2023 20:03:58 +0000 (0:00:00.015) 0:00:57.791 **** ok: [sut] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Set the list of volumes for test verification] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:110 Wednesday 22 November 2023 20:03:58 +0000 (0:00:00.015) 0:00:57.807 **** ok: [sut] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Remove obsolete mounts] ************** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:126 Wednesday 22 November 2023 20:03:58 +0000 (0:00:00.015) 0:00:57.822 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.storage : Tell systemd to refresh its view of /etc/fstab] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Wednesday 22 November 2023 20:03:58 +0000 (0:00:00.021) 0:00:57.844 **** skipping: [sut] => { "changed": false, "false_condition": "blivet_output['mounts']", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set up new/current mounts] *********** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:142 Wednesday 22 November 2023 20:03:59 +0000 (0:00:00.011) 0:00:57.856 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.storage : Manage mount ownership/permissions] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:153 Wednesday 22 November 2023 20:03:59 +0000 (0:00:00.023) 0:00:57.879 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.storage : Tell systemd to refresh its view of /etc/fstab] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:165 Wednesday 22 November 2023 20:03:59 +0000 (0:00:00.025) 0:00:57.905 **** skipping: [sut] => { "changed": false, "false_condition": "blivet_output['mounts']", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Retrieve facts for the /etc/crypttab file] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:173 Wednesday 22 November 2023 20:03:59 +0000 (0:00:00.012) 0:00:57.917 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : Manage /etc/crypttab to account for changes we just made] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:178 Wednesday 22 November 2023 20:03:59 +0000 (0:00:00.193) 0:00:58.111 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:200 Wednesday 22 November 2023 20:03:59 +0000 (0:00:00.013) 0:00:58.125 **** ok: [sut] TASK [Mark tasks to be skipped] ************************************************ task path: /WORKDIR/git-refactor-ostreetge020r7/tests/tests_disk_errors.yml:15 Wednesday 22 November 2023 20:04:01 +0000 (0:00:01.781) 0:00:59.906 **** ok: [sut] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "packages_installed", "service_facts" ] }, "changed": false } TASK [Get unused disks] ******************************************************** task path: /WORKDIR/git-refactor-ostreetge020r7/tests/tests_disk_errors.yml:22 Wednesday 22 November 2023 20:04:01 +0000 (0:00:00.026) 0:00:59.932 **** included: /WORKDIR/git-refactor-ostreetge020r7/tests/get_unused_disk.yml for sut TASK [Ensure test packages] **************************************************** task path: /WORKDIR/git-refactor-ostreetge020r7/tests/get_unused_disk.yml:2 Wednesday 22 November 2023 20:04:01 +0000 (0:00:00.022) 0:00:59.955 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Find unused disks in the system] ***************************************** task path: /WORKDIR/git-refactor-ostreetge020r7/tests/get_unused_disk.yml:11 Wednesday 22 November 2023 20:04:02 +0000 (0:00:01.313) 0:01:01.269 **** ok: [sut] => { "changed": false, "disks": [ "sda" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /WORKDIR/git-refactor-ostreetge020r7/tests/get_unused_disk.yml:19 Wednesday 22 November 2023 20:04:02 +0000 (0:00:00.319) 0:01:01.588 **** 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-refactor-ostreetge020r7/tests/get_unused_disk.yml:24 Wednesday 22 November 2023 20:04:02 +0000 (0:00:00.017) 0:01:01.606 **** skipping: [sut] => { "changed": false, "false_condition": "unused_disks | d([]) | length < disks_needed | d(1)", "skip_reason": "Conditional result was False" } TASK [Print unused disks] ****************************************************** task path: /WORKDIR/git-refactor-ostreetge020r7/tests/get_unused_disk.yml:29 Wednesday 22 November 2023 20:04:02 +0000 (0:00:00.024) 0:01:01.630 **** ok: [sut] => { "unused_disks": [ "sda" ] } TASK [Verify that the role fails with the expected error message] ************** task path: /WORKDIR/git-refactor-ostreetge020r7/tests/tests_disk_errors.yml:28 Wednesday 22 November 2023 20:04:02 +0000 (0:00:00.015) 0:01:01.645 **** included: /WORKDIR/git-refactor-ostreetge020r7/tests/verify-role-failed.yml for sut TASK [Store global variable value copy] **************************************** task path: /WORKDIR/git-refactor-ostreetge020r7/tests/verify-role-failed.yml:4 Wednesday 22 November 2023 20:04:02 +0000 (0:00:00.024) 0:01:01.670 **** 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-refactor-ostreetge020r7/tests/verify-role-failed.yml:10 Wednesday 22 November 2023 20:04:02 +0000 (0:00:00.030) 0:01:01.701 **** TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Wednesday 22 November 2023 20:04:02 +0000 (0:00:00.030) 0:01:01.731 **** included: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Wednesday 22 November 2023 20:04:02 +0000 (0:00:00.022) 0:01:01.754 **** skipping: [sut] => { "changed": false, "false_condition": "__storage_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Wednesday 22 November 2023 20:04:02 +0000 (0:00:00.028) 0:01:01.783 **** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [sut] => (item=RedHat_8.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat_8.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Check if system is ostree] *********** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Wednesday 22 November 2023 20:04:02 +0000 (0:00:00.037) 0:01:01.821 **** skipping: [sut] => { "changed": false, "false_condition": "not __storage_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 Wednesday 22 November 2023 20:04:02 +0000 (0:00:00.017) 0:01:01.839 **** skipping: [sut] => { "changed": false, "false_condition": "not __storage_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Define an empty list of pools to be used in testing] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Wednesday 22 November 2023 20:04:03 +0000 (0:00:00.016) 0:01:01.855 **** ok: [sut] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Define an empty list of volumes to be used in testing] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Wednesday 22 November 2023 20:04:03 +0000 (0:00:00.015) 0:01:01.871 **** ok: [sut] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Include the appropriate provider tasks] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Wednesday 22 November 2023 20:04:03 +0000 (0:00:00.015) 0:01:01.887 **** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for sut TASK [fedora.linux_system_roles.storage : Make sure blivet is available] ******* task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Wednesday 22 November 2023 20:04:03 +0000 (0:00:00.056) 0:01:01.943 **** skipping: [sut] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"blivet_available\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Show storage_pools] ****************** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:9 Wednesday 22 November 2023 20:04:03 +0000 (0:00:00.018) 0:01:01.962 **** ok: [sut] => { "storage_pools": [] } TASK [fedora.linux_system_roles.storage : Show storage_volumes] **************** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:14 Wednesday 22 November 2023 20:04:03 +0000 (0:00:00.018) 0:01:01.980 **** ok: [sut] => { "storage_volumes": [ { "disks": [ "/dev/surelyidonotexist" ], "mount_point": "/opt/test1", "name": "test1", "type": "disk" } ] } TASK [fedora.linux_system_roles.storage : Get required packages] *************** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:19 Wednesday 22 November 2023 20:04:03 +0000 (0:00:00.020) 0:01:02.001 **** skipping: [sut] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"packages_installed\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Enable copr repositories if needed] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:31 Wednesday 22 November 2023 20:04:03 +0000 (0:00:00.021) 0:01:02.022 **** skipping: [sut] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"packages_installed\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Make sure required packages are installed] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:37 Wednesday 22 November 2023 20:04:03 +0000 (0:00:00.019) 0:01:02.042 **** skipping: [sut] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"packages_installed\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Get service facts] ******************* task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:51 Wednesday 22 November 2023 20:04:03 +0000 (0:00:00.019) 0:01:02.061 **** skipping: [sut] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"service_facts\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:57 Wednesday 22 November 2023 20:04:03 +0000 (0:00:00.021) 0:01:02.082 **** ok: [sut] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:63 Wednesday 22 November 2023 20:04:03 +0000 (0:00:00.046) 0:01:02.129 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 Wednesday 22 November 2023 20:04:03 +0000 (0:00:00.013) 0:01:02.143 **** fatal: [sut]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: unable to resolve disk specified for volume 'test1' (['/dev/surelyidonotexist']) TASK [fedora.linux_system_roles.storage : Failed message] ********************** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:91 Wednesday 22 November 2023 20:04:07 +0000 (0:00:04.556) 0:01:06.699 **** fatal: [sut]: FAILED! => { "changed": false } MSG: {'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'msg': "unable to resolve disk specified for volume 'test1' (['/dev/surelyidonotexist'])", 'invocation': {'module_args': {'pools': [], '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': '', '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': None, 'state': 'present', 'type': 'disk', 'disks': ['/dev/surelyidonotexist'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'raid_chunk_size': None}], '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}, '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': None} TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:95 Wednesday 22 November 2023 20:04:07 +0000 (0:00:00.019) 0:01:06.719 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Check that we failed in the role] **************************************** task path: /WORKDIR/git-refactor-ostreetge020r7/tests/verify-role-failed.yml:23 Wednesday 22 November 2023 20:04:07 +0000 (0:00:00.011) 0:01:06.730 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the blivet output and error message are correct] ****************** task path: /WORKDIR/git-refactor-ostreetge020r7/tests/verify-role-failed.yml:28 Wednesday 22 November 2023 20:04:07 +0000 (0:00:00.014) 0:01:06.745 **** skipping: [sut] => { "changed": false, "false_condition": "__storage_failed_regex is defined", "skip_reason": "Conditional result was False" } TASK [Verify correct exception or error message] ******************************* task path: /WORKDIR/git-refactor-ostreetge020r7/tests/verify-role-failed.yml:39 Wednesday 22 November 2023 20:04:07 +0000 (0:00:00.015) 0:01:06.760 **** skipping: [sut] => { "changed": false, "false_condition": "__storage_failed_exception is defined", "skip_reason": "Conditional result was False" } TASK [Test for correct handling of duplicate volume names] ********************* task path: /WORKDIR/git-refactor-ostreetge020r7/tests/tests_disk_errors.yml:38 Wednesday 22 November 2023 20:04:07 +0000 (0:00:00.016) 0:01:06.777 **** included: /WORKDIR/git-refactor-ostreetge020r7/tests/verify-role-failed.yml for sut TASK [Store global variable value copy] **************************************** task path: /WORKDIR/git-refactor-ostreetge020r7/tests/verify-role-failed.yml:4 Wednesday 22 November 2023 20:04:07 +0000 (0:00:00.023) 0:01:06.800 **** 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-refactor-ostreetge020r7/tests/verify-role-failed.yml:10 Wednesday 22 November 2023 20:04:07 +0000 (0:00:00.024) 0:01:06.825 **** TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Wednesday 22 November 2023 20:04:08 +0000 (0:00:00.022) 0:01:06.847 **** included: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Wednesday 22 November 2023 20:04:08 +0000 (0:00:00.019) 0:01:06.867 **** skipping: [sut] => { "changed": false, "false_condition": "__storage_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Wednesday 22 November 2023 20:04:08 +0000 (0:00:00.026) 0:01:06.893 **** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [sut] => (item=RedHat_8.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat_8.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Check if system is ostree] *********** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Wednesday 22 November 2023 20:04:08 +0000 (0:00:00.035) 0:01:06.929 **** skipping: [sut] => { "changed": false, "false_condition": "not __storage_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 Wednesday 22 November 2023 20:04:08 +0000 (0:00:00.016) 0:01:06.945 **** skipping: [sut] => { "changed": false, "false_condition": "not __storage_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Define an empty list of pools to be used in testing] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Wednesday 22 November 2023 20:04:08 +0000 (0:00:00.017) 0:01:06.963 **** ok: [sut] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Define an empty list of volumes to be used in testing] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Wednesday 22 November 2023 20:04:08 +0000 (0:00:00.014) 0:01:06.978 **** ok: [sut] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Include the appropriate provider tasks] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Wednesday 22 November 2023 20:04:08 +0000 (0:00:00.014) 0:01:06.993 **** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for sut TASK [fedora.linux_system_roles.storage : Make sure blivet is available] ******* task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Wednesday 22 November 2023 20:04:08 +0000 (0:00:00.039) 0:01:07.032 **** skipping: [sut] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"blivet_available\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Show storage_pools] ****************** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:9 Wednesday 22 November 2023 20:04:08 +0000 (0:00:00.018) 0:01:07.051 **** ok: [sut] => { "storage_pools": [] } TASK [fedora.linux_system_roles.storage : Show storage_volumes] **************** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:14 Wednesday 22 November 2023 20:04:08 +0000 (0:00:00.019) 0:01:07.071 **** ok: [sut] => { "storage_volumes": [ { "disks": [ "sda" ], "name": "vol1", "type": "disk" }, { "disks": [ "sda" ], "name": "vol1", "type": "disk" } ] } TASK [fedora.linux_system_roles.storage : Get required packages] *************** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:19 Wednesday 22 November 2023 20:04:08 +0000 (0:00:00.019) 0:01:07.090 **** skipping: [sut] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"packages_installed\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Enable copr repositories if needed] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:31 Wednesday 22 November 2023 20:04:08 +0000 (0:00:00.017) 0:01:07.108 **** skipping: [sut] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"packages_installed\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Make sure required packages are installed] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:37 Wednesday 22 November 2023 20:04:08 +0000 (0:00:00.018) 0:01:07.127 **** skipping: [sut] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"packages_installed\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Get service facts] ******************* task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:51 Wednesday 22 November 2023 20:04:08 +0000 (0:00:00.016) 0:01:07.144 **** skipping: [sut] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"service_facts\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:57 Wednesday 22 November 2023 20:04:08 +0000 (0:00:00.018) 0:01:07.163 **** ok: [sut] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:63 Wednesday 22 November 2023 20:04:08 +0000 (0:00:00.041) 0:01:07.204 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 Wednesday 22 November 2023 20:04:08 +0000 (0:00:00.012) 0:01:07.217 **** fatal: [sut]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: multiple volumes with the same name: vol1 TASK [fedora.linux_system_roles.storage : Failed message] ********************** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:91 Wednesday 22 November 2023 20:04:12 +0000 (0:00:04.045) 0:01:11.263 **** fatal: [sut]: FAILED! => { "changed": false } MSG: {'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'msg': 'multiple volumes with the same name: vol1', 'invocation': {'module_args': {'pools': [], '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': '', 'fs_type': None, 'mount_options': None, 'mount_point': None, 'mount_user': None, 'mount_group': None, 'mount_mode': None, 'name': 'vol1', 'raid_level': None, 'size': None, 'state': 'present', 'type': 'disk', 'disks': ['sda'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'raid_chunk_size': None}, {'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': '', 'fs_type': None, 'mount_options': None, 'mount_point': None, 'mount_user': None, 'mount_group': None, 'mount_mode': None, 'name': 'vol1', 'raid_level': None, 'size': None, 'state': 'present', 'type': 'disk', 'disks': ['sda'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'raid_chunk_size': None}], '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}, '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': None} TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:95 Wednesday 22 November 2023 20:04:12 +0000 (0:00:00.021) 0:01:11.284 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Check that we failed in the role] **************************************** task path: /WORKDIR/git-refactor-ostreetge020r7/tests/verify-role-failed.yml:23 Wednesday 22 November 2023 20:04:12 +0000 (0:00:00.013) 0:01:11.298 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the blivet output and error message are correct] ****************** task path: /WORKDIR/git-refactor-ostreetge020r7/tests/verify-role-failed.yml:28 Wednesday 22 November 2023 20:04:12 +0000 (0:00:00.018) 0:01:11.316 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify correct exception or error message] ******************************* task path: /WORKDIR/git-refactor-ostreetge020r7/tests/verify-role-failed.yml:39 Wednesday 22 November 2023 20:04:12 +0000 (0:00:00.023) 0:01:11.340 **** skipping: [sut] => { "changed": false, "false_condition": "__storage_failed_exception is defined", "skip_reason": "Conditional result was False" } TASK [Create a file system on disk] ******************************************** task path: /WORKDIR/git-refactor-ostreetge020r7/tests/tests_disk_errors.yml:53 Wednesday 22 November 2023 20:04:12 +0000 (0:00:00.017) 0:01:11.357 **** TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Wednesday 22 November 2023 20:04:12 +0000 (0:00:00.035) 0:01:11.393 **** included: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Wednesday 22 November 2023 20:04:12 +0000 (0:00:00.021) 0:01:11.415 **** skipping: [sut] => { "changed": false, "false_condition": "__storage_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Wednesday 22 November 2023 20:04:12 +0000 (0:00:00.026) 0:01:11.442 **** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [sut] => (item=RedHat_8.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat_8.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Check if system is ostree] *********** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Wednesday 22 November 2023 20:04:12 +0000 (0:00:00.038) 0:01:11.480 **** skipping: [sut] => { "changed": false, "false_condition": "not __storage_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 Wednesday 22 November 2023 20:04:12 +0000 (0:00:00.018) 0:01:11.499 **** skipping: [sut] => { "changed": false, "false_condition": "not __storage_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Define an empty list of pools to be used in testing] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Wednesday 22 November 2023 20:04:12 +0000 (0:00:00.019) 0:01:11.518 **** ok: [sut] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Define an empty list of volumes to be used in testing] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Wednesday 22 November 2023 20:04:12 +0000 (0:00:00.017) 0:01:11.535 **** ok: [sut] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Include the appropriate provider tasks] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Wednesday 22 November 2023 20:04:12 +0000 (0:00:00.015) 0:01:11.551 **** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for sut TASK [fedora.linux_system_roles.storage : Make sure blivet is available] ******* task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Wednesday 22 November 2023 20:04:12 +0000 (0:00:00.037) 0:01:11.588 **** skipping: [sut] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"blivet_available\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Show storage_pools] ****************** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:9 Wednesday 22 November 2023 20:04:12 +0000 (0:00:00.021) 0:01:11.609 **** ok: [sut] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined. 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : Show storage_volumes] **************** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:14 Wednesday 22 November 2023 20:04:12 +0000 (0:00:00.041) 0:01:11.651 **** ok: [sut] => { "storage_volumes": [ { "disks": [ "sda" ], "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "type": "disk" } ] } TASK [fedora.linux_system_roles.storage : Get required packages] *************** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:19 Wednesday 22 November 2023 20:04:12 +0000 (0:00:00.020) 0:01:11.671 **** skipping: [sut] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"packages_installed\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Enable copr repositories if needed] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:31 Wednesday 22 November 2023 20:04:12 +0000 (0:00:00.021) 0:01:11.693 **** skipping: [sut] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"packages_installed\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Make sure required packages are installed] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:37 Wednesday 22 November 2023 20:04:12 +0000 (0:00:00.023) 0:01:11.716 **** skipping: [sut] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"packages_installed\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Get service facts] ******************* task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:51 Wednesday 22 November 2023 20:04:12 +0000 (0:00:00.018) 0:01:11.735 **** skipping: [sut] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"service_facts\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:57 Wednesday 22 November 2023 20:04:12 +0000 (0:00:00.017) 0:01:11.752 **** ok: [sut] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:63 Wednesday 22 November 2023 20:04:12 +0000 (0:00:00.045) 0:01:11.798 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 Wednesday 22 November 2023 20:04:12 +0000 (0:00:00.012) 0:01:11.810 **** changed: [sut] => { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "ext4" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/sdd", "/dev/sde", "/dev/sdf", "/dev/sdg", "/dev/sdh", "/dev/sdi", "/dev/xvda1", "/dev/xvda2", "/dev/xvda3" ], "mounts": [ { "dump": 0, "fstype": "ext4", "group": null, "mode": null, "opts": "defaults", "owner": null, "passno": 0, "path": "/opt/test1", "src": "UUID=b1387948-1e99-4081-a62e-b79dad035100", "state": "mounted" } ], "packages": [ "e2fsprogs", "xfsprogs", "dosfstools" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=b1387948-1e99-4081-a62e-b79dad035100", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "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": "ext4", "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_level": null, "raid_metadata_version": null, "raid_spare_count": null, "raid_stripe_size": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:83 Wednesday 22 November 2023 20:04:17 +0000 (0:00:04.976) 0:01:16.787 **** skipping: [sut] => { "changed": false, "false_condition": "storage_udevadm_trigger | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:95 Wednesday 22 November 2023 20:04:17 +0000 (0:00:00.032) 0:01:16.820 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.storage : Show blivet_output] ****************** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Wednesday 22 November 2023 20:04:17 +0000 (0:00:00.014) 0:01:16.834 **** ok: [sut] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "ext4" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/sdd", "/dev/sde", "/dev/sdf", "/dev/sdg", "/dev/sdh", "/dev/sdi", "/dev/xvda1", "/dev/xvda2", "/dev/xvda3" ], "mounts": [ { "dump": 0, "fstype": "ext4", "group": null, "mode": null, "opts": "defaults", "owner": null, "passno": 0, "path": "/opt/test1", "src": "UUID=b1387948-1e99-4081-a62e-b79dad035100", "state": "mounted" } ], "packages": [ "e2fsprogs", "xfsprogs", "dosfstools" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=b1387948-1e99-4081-a62e-b79dad035100", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "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": "ext4", "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_level": null, "raid_metadata_version": null, "raid_spare_count": null, "raid_stripe_size": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [fedora.linux_system_roles.storage : Set the list of pools for test verification] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:106 Wednesday 22 November 2023 20:04:18 +0000 (0:00:00.023) 0:01:16.857 **** ok: [sut] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Set the list of volumes for test verification] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:110 Wednesday 22 November 2023 20:04:18 +0000 (0:00:00.026) 0:01:16.884 **** ok: [sut] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=b1387948-1e99-4081-a62e-b79dad035100", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "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": "ext4", "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_level": null, "raid_metadata_version": null, "raid_spare_count": null, "raid_stripe_size": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : Remove obsolete mounts] ************** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:126 Wednesday 22 November 2023 20:04:18 +0000 (0:00:00.021) 0:01:16.905 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.storage : Tell systemd to refresh its view of /etc/fstab] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Wednesday 22 November 2023 20:04:18 +0000 (0:00:00.027) 0:01:16.933 **** ok: [sut] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : Set up new/current mounts] *********** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:142 Wednesday 22 November 2023 20:04:18 +0000 (0:00:00.762) 0:01:17.696 **** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [sut] => (item={'src': 'UUID=b1387948-1e99-4081-a62e-b79dad035100', 'path': '/opt/test1', 'fstype': 'ext4', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted', 'owner': None, 'group': None, 'mode': None}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext4", "mount_info": { "dump": 0, "fstype": "ext4", "group": null, "mode": null, "opts": "defaults", "owner": null, "passno": 0, "path": "/opt/test1", "src": "UUID=b1387948-1e99-4081-a62e-b79dad035100", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "UUID=b1387948-1e99-4081-a62e-b79dad035100" } TASK [fedora.linux_system_roles.storage : Manage mount ownership/permissions] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:153 Wednesday 22 November 2023 20:04:19 +0000 (0:00:00.400) 0:01:18.097 **** skipping: [sut] => (item={'src': 'UUID=b1387948-1e99-4081-a62e-b79dad035100', 'path': '/opt/test1', 'fstype': 'ext4', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted', 'owner': None, 'group': None, 'mode': None}) => { "ansible_loop_var": "mount_info", "changed": false, "false_condition": "mount_info['owner'] != none or mount_info['group'] != none or mount_info['mode'] != none", "mount_info": { "dump": 0, "fstype": "ext4", "group": null, "mode": null, "opts": "defaults", "owner": null, "passno": 0, "path": "/opt/test1", "src": "UUID=b1387948-1e99-4081-a62e-b79dad035100", "state": "mounted" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.storage : Tell systemd to refresh its view of /etc/fstab] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:165 Wednesday 22 November 2023 20:04:19 +0000 (0:00:00.040) 0:01:18.138 **** ok: [sut] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : Retrieve facts for the /etc/crypttab file] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:173 Wednesday 22 November 2023 20:04:19 +0000 (0:00:00.553) 0:01:18.691 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : Manage /etc/crypttab to account for changes we just made] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:178 Wednesday 22 November 2023 20:04:20 +0000 (0:00:00.204) 0:01:18.895 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:200 Wednesday 22 November 2023 20:04:20 +0000 (0:00:00.014) 0:01:18.910 **** ok: [sut] TASK [Create a file] *********************************************************** task path: /WORKDIR/git-refactor-ostreetge020r7/tests/tests_disk_errors.yml:64 Wednesday 22 November 2023 20:04:22 +0000 (0:00:02.809) 0:01:21.720 **** 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-refactor-ostreetge020r7/tests/tests_disk_errors.yml:70 Wednesday 22 November 2023 20:04:23 +0000 (0:00:00.329) 0:01:22.050 **** included: /WORKDIR/git-refactor-ostreetge020r7/tests/verify-role-failed.yml for sut TASK [Store global variable value copy] **************************************** task path: /WORKDIR/git-refactor-ostreetge020r7/tests/verify-role-failed.yml:4 Wednesday 22 November 2023 20:04:23 +0000 (0:00:00.026) 0:01:22.077 **** 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-refactor-ostreetge020r7/tests/verify-role-failed.yml:10 Wednesday 22 November 2023 20:04:23 +0000 (0:00:00.028) 0:01:22.105 **** TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Wednesday 22 November 2023 20:04:23 +0000 (0:00:00.034) 0:01:22.139 **** included: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Wednesday 22 November 2023 20:04:23 +0000 (0:00:00.024) 0:01:22.163 **** skipping: [sut] => { "changed": false, "false_condition": "__storage_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Wednesday 22 November 2023 20:04:23 +0000 (0:00:00.028) 0:01:22.191 **** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [sut] => (item=RedHat_8.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat_8.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Check if system is ostree] *********** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Wednesday 22 November 2023 20:04:23 +0000 (0:00:00.037) 0:01:22.229 **** skipping: [sut] => { "changed": false, "false_condition": "not __storage_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 Wednesday 22 November 2023 20:04:23 +0000 (0:00:00.017) 0:01:22.247 **** skipping: [sut] => { "changed": false, "false_condition": "not __storage_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Define an empty list of pools to be used in testing] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Wednesday 22 November 2023 20:04:23 +0000 (0:00:00.017) 0:01:22.264 **** ok: [sut] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Define an empty list of volumes to be used in testing] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Wednesday 22 November 2023 20:04:23 +0000 (0:00:00.015) 0:01:22.280 **** ok: [sut] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Include the appropriate provider tasks] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Wednesday 22 November 2023 20:04:23 +0000 (0:00:00.015) 0:01:22.296 **** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for sut TASK [fedora.linux_system_roles.storage : Make sure blivet is available] ******* task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Wednesday 22 November 2023 20:04:23 +0000 (0:00:00.041) 0:01:22.337 **** skipping: [sut] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"blivet_available\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Show storage_pools] ****************** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:9 Wednesday 22 November 2023 20:04:23 +0000 (0:00:00.018) 0:01:22.356 **** ok: [sut] => { "storage_pools": [] } TASK [fedora.linux_system_roles.storage : Show storage_volumes] **************** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:14 Wednesday 22 November 2023 20:04:23 +0000 (0:00:00.018) 0:01:22.374 **** ok: [sut] => { "storage_volumes": [ { "disks": [ "sda" ], "fs_type": "ext3", "name": "test1", "type": "disk" } ] } TASK [fedora.linux_system_roles.storage : Get required packages] *************** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:19 Wednesday 22 November 2023 20:04:23 +0000 (0:00:00.017) 0:01:22.392 **** skipping: [sut] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"packages_installed\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Enable copr repositories if needed] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:31 Wednesday 22 November 2023 20:04:23 +0000 (0:00:00.016) 0:01:22.408 **** skipping: [sut] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"packages_installed\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Make sure required packages are installed] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:37 Wednesday 22 November 2023 20:04:23 +0000 (0:00:00.017) 0:01:22.426 **** skipping: [sut] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"packages_installed\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Get service facts] ******************* task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:51 Wednesday 22 November 2023 20:04:23 +0000 (0:00:00.016) 0:01:22.442 **** skipping: [sut] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"service_facts\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:57 Wednesday 22 November 2023 20:04:23 +0000 (0:00:00.017) 0:01:22.460 **** ok: [sut] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:63 Wednesday 22 November 2023 20:04:23 +0000 (0:00:00.038) 0:01:22.498 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 Wednesday 22 November 2023 20:04:23 +0000 (0:00:00.011) 0:01:22.510 **** fatal: [sut]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: cannot remove existing formatting on volume 'test1' in safe mode TASK [fedora.linux_system_roles.storage : Failed message] ********************** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:91 Wednesday 22 November 2023 20:04:28 +0000 (0:00:04.393) 0:01:26.904 **** fatal: [sut]: FAILED! => { "changed": false } MSG: {'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'msg': "cannot remove existing formatting on volume 'test1' in safe mode", 'invocation': {'module_args': {'pools': [], 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': None, 'mount_user': None, 'mount_group': None, 'mount_mode': None, 'name': 'test1', 'raid_level': None, 'size': 10737418240, 'state': 'present', 'type': 'disk', 'disks': ['sda'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'raid_chunk_size': None, 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_stripe_size': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': []}], '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}, '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': None} TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:95 Wednesday 22 November 2023 20:04:28 +0000 (0:00:00.028) 0:01:26.932 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Check that we failed in the role] **************************************** task path: /WORKDIR/git-refactor-ostreetge020r7/tests/verify-role-failed.yml:23 Wednesday 22 November 2023 20:04:28 +0000 (0:00:00.012) 0:01:26.945 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the blivet output and error message are correct] ****************** task path: /WORKDIR/git-refactor-ostreetge020r7/tests/verify-role-failed.yml:28 Wednesday 22 November 2023 20:04:28 +0000 (0:00:00.017) 0:01:26.962 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify correct exception or error message] ******************************* task path: /WORKDIR/git-refactor-ostreetge020r7/tests/verify-role-failed.yml:39 Wednesday 22 November 2023 20:04:28 +0000 (0:00:00.023) 0:01:26.986 **** skipping: [sut] => { "changed": false, "false_condition": "__storage_failed_exception is defined", "skip_reason": "Conditional result was False" } TASK [Unmount file system] ***************************************************** task path: /WORKDIR/git-refactor-ostreetge020r7/tests/tests_disk_errors.yml:84 Wednesday 22 November 2023 20:04:28 +0000 (0:00:00.019) 0:01:27.005 **** TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Wednesday 22 November 2023 20:04:28 +0000 (0:00:00.041) 0:01:27.046 **** included: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Wednesday 22 November 2023 20:04:28 +0000 (0:00:00.022) 0:01:27.069 **** skipping: [sut] => { "changed": false, "false_condition": "__storage_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Wednesday 22 November 2023 20:04:28 +0000 (0:00:00.034) 0:01:27.104 **** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [sut] => (item=RedHat_8.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat_8.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Check if system is ostree] *********** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Wednesday 22 November 2023 20:04:28 +0000 (0:00:00.039) 0:01:27.144 **** skipping: [sut] => { "changed": false, "false_condition": "not __storage_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 Wednesday 22 November 2023 20:04:28 +0000 (0:00:00.038) 0:01:27.182 **** skipping: [sut] => { "changed": false, "false_condition": "not __storage_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Define an empty list of pools to be used in testing] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Wednesday 22 November 2023 20:04:28 +0000 (0:00:00.019) 0:01:27.202 **** ok: [sut] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Define an empty list of volumes to be used in testing] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Wednesday 22 November 2023 20:04:28 +0000 (0:00:00.016) 0:01:27.218 **** ok: [sut] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Include the appropriate provider tasks] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Wednesday 22 November 2023 20:04:28 +0000 (0:00:00.015) 0:01:27.233 **** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for sut TASK [fedora.linux_system_roles.storage : Make sure blivet is available] ******* task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Wednesday 22 November 2023 20:04:28 +0000 (0:00:00.038) 0:01:27.271 **** skipping: [sut] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"blivet_available\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Show storage_pools] ****************** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:9 Wednesday 22 November 2023 20:04:28 +0000 (0:00:00.019) 0:01:27.290 **** ok: [sut] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined. 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : Show storage_volumes] **************** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:14 Wednesday 22 November 2023 20:04:28 +0000 (0:00:00.018) 0:01:27.309 **** ok: [sut] => { "storage_volumes": [ { "disks": [ "sda" ], "fs_type": "ext4", "mount_point": "none", "name": "test1", "type": "disk" } ] } TASK [fedora.linux_system_roles.storage : Get required packages] *************** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:19 Wednesday 22 November 2023 20:04:28 +0000 (0:00:00.018) 0:01:27.327 **** skipping: [sut] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"packages_installed\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Enable copr repositories if needed] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:31 Wednesday 22 November 2023 20:04:28 +0000 (0:00:00.022) 0:01:27.349 **** skipping: [sut] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"packages_installed\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Make sure required packages are installed] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:37 Wednesday 22 November 2023 20:04:28 +0000 (0:00:00.022) 0:01:27.372 **** skipping: [sut] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"packages_installed\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Get service facts] ******************* task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:51 Wednesday 22 November 2023 20:04:28 +0000 (0:00:00.026) 0:01:27.398 **** skipping: [sut] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"service_facts\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:57 Wednesday 22 November 2023 20:04:28 +0000 (0:00:00.027) 0:01:27.426 **** ok: [sut] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:63 Wednesday 22 November 2023 20:04:28 +0000 (0:00:00.044) 0:01:27.470 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 Wednesday 22 November 2023 20:04:28 +0000 (0:00:00.013) 0:01:27.484 **** ok: [sut] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/sdd", "/dev/sde", "/dev/sdf", "/dev/sdg", "/dev/sdh", "/dev/sdi", "/dev/xvda1", "/dev/xvda2", "/dev/xvda3" ], "mounts": [ { "path": "/opt/test1", "state": "absent" } ], "packages": [ "xfsprogs", "e2fsprogs", "dosfstools" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=b1387948-1e99-4081-a62e-b79dad035100", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "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": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_group": null, "mount_mode": null, "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "mount_user": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "raid_stripe_size": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:83 Wednesday 22 November 2023 20:04:33 +0000 (0:00:04.469) 0:01:31.953 **** skipping: [sut] => { "changed": false, "false_condition": "storage_udevadm_trigger | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:95 Wednesday 22 November 2023 20:04:33 +0000 (0:00:00.023) 0:01:31.976 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.storage : Show blivet_output] ****************** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Wednesday 22 November 2023 20:04:33 +0000 (0:00:00.013) 0:01:31.990 **** ok: [sut] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/sdd", "/dev/sde", "/dev/sdf", "/dev/sdg", "/dev/sdh", "/dev/sdi", "/dev/xvda1", "/dev/xvda2", "/dev/xvda3" ], "mounts": [ { "path": "/opt/test1", "state": "absent" } ], "packages": [ "xfsprogs", "e2fsprogs", "dosfstools" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=b1387948-1e99-4081-a62e-b79dad035100", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "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": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_group": null, "mount_mode": null, "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "mount_user": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "raid_stripe_size": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [fedora.linux_system_roles.storage : Set the list of pools for test verification] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:106 Wednesday 22 November 2023 20:04:33 +0000 (0:00:00.018) 0:01:32.008 **** ok: [sut] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Set the list of volumes for test verification] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:110 Wednesday 22 November 2023 20:04:33 +0000 (0:00:00.017) 0:01:32.026 **** ok: [sut] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=b1387948-1e99-4081-a62e-b79dad035100", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "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": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_group": null, "mount_mode": null, "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "mount_user": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "raid_stripe_size": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : Remove obsolete mounts] ************** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:126 Wednesday 22 November 2023 20:04:33 +0000 (0:00:00.017) 0:01:32.043 **** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [sut] => (item={'path': '/opt/test1', 'state': 'absent'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "mount_info": { "path": "/opt/test1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0" } TASK [fedora.linux_system_roles.storage : Tell systemd to refresh its view of /etc/fstab] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Wednesday 22 November 2023 20:04:33 +0000 (0:00:00.369) 0:01:32.412 **** ok: [sut] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : Set up new/current mounts] *********** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:142 Wednesday 22 November 2023 20:04:34 +0000 (0:00:00.529) 0:01:32.941 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.storage : Manage mount ownership/permissions] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:153 Wednesday 22 November 2023 20:04:34 +0000 (0:00:00.032) 0:01:32.974 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.storage : Tell systemd to refresh its view of /etc/fstab] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:165 Wednesday 22 November 2023 20:04:34 +0000 (0:00:00.026) 0:01:33.000 **** ok: [sut] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : Retrieve facts for the /etc/crypttab file] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:173 Wednesday 22 November 2023 20:04:34 +0000 (0:00:00.519) 0:01:33.519 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : Manage /etc/crypttab to account for changes we just made] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:178 Wednesday 22 November 2023 20:04:34 +0000 (0:00:00.196) 0:01:33.716 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:200 Wednesday 22 November 2023 20:04:34 +0000 (0:00:00.013) 0:01:33.729 **** ok: [sut] TASK [Test for correct handling of safe_mode with unmounted filesystem] ******** task path: /WORKDIR/git-refactor-ostreetge020r7/tests/tests_disk_errors.yml:95 Wednesday 22 November 2023 20:04:35 +0000 (0:00:00.789) 0:01:34.519 **** included: /WORKDIR/git-refactor-ostreetge020r7/tests/verify-role-failed.yml for sut TASK [Store global variable value copy] **************************************** task path: /WORKDIR/git-refactor-ostreetge020r7/tests/verify-role-failed.yml:4 Wednesday 22 November 2023 20:04:35 +0000 (0:00:00.029) 0:01:34.549 **** 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-refactor-ostreetge020r7/tests/verify-role-failed.yml:10 Wednesday 22 November 2023 20:04:35 +0000 (0:00:00.028) 0:01:34.578 **** TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Wednesday 22 November 2023 20:04:35 +0000 (0:00:00.026) 0:01:34.604 **** included: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Wednesday 22 November 2023 20:04:35 +0000 (0:00:00.024) 0:01:34.628 **** skipping: [sut] => { "changed": false, "false_condition": "__storage_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Wednesday 22 November 2023 20:04:35 +0000 (0:00:00.028) 0:01:34.656 **** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [sut] => (item=RedHat_8.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat_8.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Check if system is ostree] *********** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Wednesday 22 November 2023 20:04:35 +0000 (0:00:00.041) 0:01:34.698 **** skipping: [sut] => { "changed": false, "false_condition": "not __storage_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 Wednesday 22 November 2023 20:04:35 +0000 (0:00:00.021) 0:01:34.720 **** skipping: [sut] => { "changed": false, "false_condition": "not __storage_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Define an empty list of pools to be used in testing] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Wednesday 22 November 2023 20:04:35 +0000 (0:00:00.019) 0:01:34.739 **** ok: [sut] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Define an empty list of volumes to be used in testing] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Wednesday 22 November 2023 20:04:35 +0000 (0:00:00.016) 0:01:34.756 **** ok: [sut] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Include the appropriate provider tasks] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Wednesday 22 November 2023 20:04:35 +0000 (0:00:00.015) 0:01:34.771 **** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for sut TASK [fedora.linux_system_roles.storage : Make sure blivet is available] ******* task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Wednesday 22 November 2023 20:04:35 +0000 (0:00:00.038) 0:01:34.810 **** skipping: [sut] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"blivet_available\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Show storage_pools] ****************** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:9 Wednesday 22 November 2023 20:04:35 +0000 (0:00:00.017) 0:01:34.828 **** ok: [sut] => { "storage_pools": [] } TASK [fedora.linux_system_roles.storage : Show storage_volumes] **************** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:14 Wednesday 22 November 2023 20:04:35 +0000 (0:00:00.018) 0:01:34.846 **** ok: [sut] => { "storage_volumes": [ { "disks": [ "sda" ], "fs_type": "ext3", "name": "test1", "type": "disk" } ] } TASK [fedora.linux_system_roles.storage : Get required packages] *************** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:19 Wednesday 22 November 2023 20:04:36 +0000 (0:00:00.018) 0:01:34.864 **** skipping: [sut] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"packages_installed\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Enable copr repositories if needed] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:31 Wednesday 22 November 2023 20:04:36 +0000 (0:00:00.019) 0:01:34.883 **** skipping: [sut] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"packages_installed\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Make sure required packages are installed] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:37 Wednesday 22 November 2023 20:04:36 +0000 (0:00:00.017) 0:01:34.901 **** skipping: [sut] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"packages_installed\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Get service facts] ******************* task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:51 Wednesday 22 November 2023 20:04:36 +0000 (0:00:00.016) 0:01:34.918 **** skipping: [sut] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"service_facts\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:57 Wednesday 22 November 2023 20:04:36 +0000 (0:00:00.017) 0:01:34.936 **** ok: [sut] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:63 Wednesday 22 November 2023 20:04:36 +0000 (0:00:00.038) 0:01:34.974 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 Wednesday 22 November 2023 20:04:36 +0000 (0:00:00.011) 0:01:34.986 **** fatal: [sut]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: cannot remove existing formatting on volume 'test1' in safe mode TASK [fedora.linux_system_roles.storage : Failed message] ********************** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:91 Wednesday 22 November 2023 20:04:40 +0000 (0:00:04.309) 0:01:39.296 **** fatal: [sut]: FAILED! => { "changed": false } MSG: {'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'msg': "cannot remove existing formatting on volume 'test1' in safe mode", 'invocation': {'module_args': {'pools': [], 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': None, 'mount_user': None, 'mount_group': None, 'mount_mode': None, 'name': 'test1', 'raid_level': None, 'size': 10737418240, 'state': 'present', 'type': 'disk', 'disks': ['sda'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'raid_chunk_size': None, 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_stripe_size': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': []}], '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}, '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': None} TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:95 Wednesday 22 November 2023 20:04:40 +0000 (0:00:00.020) 0:01:39.316 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Check that we failed in the role] **************************************** task path: /WORKDIR/git-refactor-ostreetge020r7/tests/verify-role-failed.yml:23 Wednesday 22 November 2023 20:04:40 +0000 (0:00:00.011) 0:01:39.328 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the blivet output and error message are correct] ****************** task path: /WORKDIR/git-refactor-ostreetge020r7/tests/verify-role-failed.yml:28 Wednesday 22 November 2023 20:04:40 +0000 (0:00:00.015) 0:01:39.344 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify correct exception or error message] ******************************* task path: /WORKDIR/git-refactor-ostreetge020r7/tests/verify-role-failed.yml:39 Wednesday 22 November 2023 20:04:40 +0000 (0:00:00.023) 0:01:39.368 **** skipping: [sut] => { "changed": false, "false_condition": "__storage_failed_exception is defined", "skip_reason": "Conditional result was False" } TASK [Remount file system] ***************************************************** task path: /WORKDIR/git-refactor-ostreetge020r7/tests/tests_disk_errors.yml:109 Wednesday 22 November 2023 20:04:40 +0000 (0:00:00.020) 0:01:39.388 **** TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Wednesday 22 November 2023 20:04:40 +0000 (0:00:00.071) 0:01:39.460 **** included: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Wednesday 22 November 2023 20:04:40 +0000 (0:00:00.024) 0:01:39.484 **** skipping: [sut] => { "changed": false, "false_condition": "__storage_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Wednesday 22 November 2023 20:04:40 +0000 (0:00:00.033) 0:01:39.518 **** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [sut] => (item=RedHat_8.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat_8.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Check if system is ostree] *********** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Wednesday 22 November 2023 20:04:40 +0000 (0:00:00.049) 0:01:39.568 **** skipping: [sut] => { "changed": false, "false_condition": "not __storage_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 Wednesday 22 November 2023 20:04:40 +0000 (0:00:00.023) 0:01:39.591 **** skipping: [sut] => { "changed": false, "false_condition": "not __storage_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Define an empty list of pools to be used in testing] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Wednesday 22 November 2023 20:04:40 +0000 (0:00:00.023) 0:01:39.614 **** ok: [sut] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Define an empty list of volumes to be used in testing] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Wednesday 22 November 2023 20:04:40 +0000 (0:00:00.017) 0:01:39.632 **** ok: [sut] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Include the appropriate provider tasks] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Wednesday 22 November 2023 20:04:40 +0000 (0:00:00.023) 0:01:39.655 **** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for sut TASK [fedora.linux_system_roles.storage : Make sure blivet is available] ******* task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Wednesday 22 November 2023 20:04:40 +0000 (0:00:00.049) 0:01:39.704 **** skipping: [sut] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"blivet_available\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Show storage_pools] ****************** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:9 Wednesday 22 November 2023 20:04:40 +0000 (0:00:00.020) 0:01:39.725 **** ok: [sut] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined. 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : Show storage_volumes] **************** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:14 Wednesday 22 November 2023 20:04:40 +0000 (0:00:00.018) 0:01:39.743 **** ok: [sut] => { "storage_volumes": [ { "disks": [ "sda" ], "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "type": "disk" } ] } TASK [fedora.linux_system_roles.storage : Get required packages] *************** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:19 Wednesday 22 November 2023 20:04:40 +0000 (0:00:00.019) 0:01:39.763 **** skipping: [sut] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"packages_installed\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Enable copr repositories if needed] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:31 Wednesday 22 November 2023 20:04:40 +0000 (0:00:00.017) 0:01:39.780 **** skipping: [sut] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"packages_installed\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Make sure required packages are installed] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:37 Wednesday 22 November 2023 20:04:40 +0000 (0:00:00.019) 0:01:39.800 **** skipping: [sut] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"packages_installed\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Get service facts] ******************* task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:51 Wednesday 22 November 2023 20:04:40 +0000 (0:00:00.018) 0:01:39.818 **** skipping: [sut] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"service_facts\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:57 Wednesday 22 November 2023 20:04:40 +0000 (0:00:00.021) 0:01:39.839 **** ok: [sut] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:63 Wednesday 22 November 2023 20:04:41 +0000 (0:00:00.043) 0:01:39.883 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 Wednesday 22 November 2023 20:04:41 +0000 (0:00:00.014) 0:01:39.898 **** ok: [sut] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/sdd", "/dev/sde", "/dev/sdf", "/dev/sdg", "/dev/sdh", "/dev/sdi", "/dev/xvda1", "/dev/xvda2", "/dev/xvda3" ], "mounts": [ { "dump": 0, "fstype": "ext4", "group": null, "mode": null, "opts": "defaults", "owner": null, "passno": 0, "path": "/opt/test1", "src": "UUID=b1387948-1e99-4081-a62e-b79dad035100", "state": "mounted" } ], "packages": [ "e2fsprogs", "xfsprogs", "dosfstools" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=b1387948-1e99-4081-a62e-b79dad035100", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "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": "ext4", "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_level": null, "raid_metadata_version": null, "raid_spare_count": null, "raid_stripe_size": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:83 Wednesday 22 November 2023 20:04:45 +0000 (0:00:04.521) 0:01:44.419 **** skipping: [sut] => { "changed": false, "false_condition": "storage_udevadm_trigger | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:95 Wednesday 22 November 2023 20:04:45 +0000 (0:00:00.023) 0:01:44.443 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.storage : Show blivet_output] ****************** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Wednesday 22 November 2023 20:04:45 +0000 (0:00:00.012) 0:01:44.456 **** ok: [sut] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/sdd", "/dev/sde", "/dev/sdf", "/dev/sdg", "/dev/sdh", "/dev/sdi", "/dev/xvda1", "/dev/xvda2", "/dev/xvda3" ], "mounts": [ { "dump": 0, "fstype": "ext4", "group": null, "mode": null, "opts": "defaults", "owner": null, "passno": 0, "path": "/opt/test1", "src": "UUID=b1387948-1e99-4081-a62e-b79dad035100", "state": "mounted" } ], "packages": [ "e2fsprogs", "xfsprogs", "dosfstools" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=b1387948-1e99-4081-a62e-b79dad035100", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "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": "ext4", "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_level": null, "raid_metadata_version": null, "raid_spare_count": null, "raid_stripe_size": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [fedora.linux_system_roles.storage : Set the list of pools for test verification] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:106 Wednesday 22 November 2023 20:04:45 +0000 (0:00:00.019) 0:01:44.475 **** ok: [sut] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Set the list of volumes for test verification] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:110 Wednesday 22 November 2023 20:04:45 +0000 (0:00:00.017) 0:01:44.492 **** ok: [sut] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=b1387948-1e99-4081-a62e-b79dad035100", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "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": "ext4", "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_level": null, "raid_metadata_version": null, "raid_spare_count": null, "raid_stripe_size": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : Remove obsolete mounts] ************** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:126 Wednesday 22 November 2023 20:04:45 +0000 (0:00:00.018) 0:01:44.510 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.storage : Tell systemd to refresh its view of /etc/fstab] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Wednesday 22 November 2023 20:04:45 +0000 (0:00:00.027) 0:01:44.538 **** ok: [sut] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : Set up new/current mounts] *********** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:142 Wednesday 22 November 2023 20:04:46 +0000 (0:00:00.524) 0:01:45.063 **** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [sut] => (item={'src': 'UUID=b1387948-1e99-4081-a62e-b79dad035100', 'path': '/opt/test1', 'fstype': 'ext4', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted', 'owner': None, 'group': None, 'mode': None}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext4", "mount_info": { "dump": 0, "fstype": "ext4", "group": null, "mode": null, "opts": "defaults", "owner": null, "passno": 0, "path": "/opt/test1", "src": "UUID=b1387948-1e99-4081-a62e-b79dad035100", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "UUID=b1387948-1e99-4081-a62e-b79dad035100" } TASK [fedora.linux_system_roles.storage : Manage mount ownership/permissions] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:153 Wednesday 22 November 2023 20:04:46 +0000 (0:00:00.258) 0:01:45.322 **** skipping: [sut] => (item={'src': 'UUID=b1387948-1e99-4081-a62e-b79dad035100', 'path': '/opt/test1', 'fstype': 'ext4', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted', 'owner': None, 'group': None, 'mode': None}) => { "ansible_loop_var": "mount_info", "changed": false, "false_condition": "mount_info['owner'] != none or mount_info['group'] != none or mount_info['mode'] != none", "mount_info": { "dump": 0, "fstype": "ext4", "group": null, "mode": null, "opts": "defaults", "owner": null, "passno": 0, "path": "/opt/test1", "src": "UUID=b1387948-1e99-4081-a62e-b79dad035100", "state": "mounted" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.storage : Tell systemd to refresh its view of /etc/fstab] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:165 Wednesday 22 November 2023 20:04:46 +0000 (0:00:00.034) 0:01:45.356 **** ok: [sut] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : Retrieve facts for the /etc/crypttab file] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:173 Wednesday 22 November 2023 20:04:47 +0000 (0:00:00.519) 0:01:45.875 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : Manage /etc/crypttab to account for changes we just made] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:178 Wednesday 22 November 2023 20:04:47 +0000 (0:00:00.200) 0:01:46.076 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:200 Wednesday 22 November 2023 20:04:47 +0000 (0:00:00.015) 0:01:46.091 **** ok: [sut] TASK [Stat the file] *********************************************************** task path: /WORKDIR/git-refactor-ostreetge020r7/tests/tests_disk_errors.yml:120 Wednesday 22 November 2023 20:04:48 +0000 (0:00:00.788) 0:01:46.880 **** ok: [sut] => { "changed": false, "stat": { "atime": 1700683463.1800778, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1700683463.1800778, "dev": 2048, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12, "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": 1700683463.1800778, "nlink": 1, "path": "/opt/test1/quux", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "version": "1642795826", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Assert file presence] **************************************************** task path: /WORKDIR/git-refactor-ostreetge020r7/tests/tests_disk_errors.yml:125 Wednesday 22 November 2023 20:04:48 +0000 (0:00:00.203) 0:01:47.084 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test for correct handling of safe_mode] ********************************** task path: /WORKDIR/git-refactor-ostreetge020r7/tests/tests_disk_errors.yml:130 Wednesday 22 November 2023 20:04:48 +0000 (0:00:00.020) 0:01:47.104 **** included: /WORKDIR/git-refactor-ostreetge020r7/tests/verify-role-failed.yml for sut TASK [Store global variable value copy] **************************************** task path: /WORKDIR/git-refactor-ostreetge020r7/tests/verify-role-failed.yml:4 Wednesday 22 November 2023 20:04:48 +0000 (0:00:00.033) 0:01:47.138 **** 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-refactor-ostreetge020r7/tests/verify-role-failed.yml:10 Wednesday 22 November 2023 20:04:48 +0000 (0:00:00.027) 0:01:47.165 **** TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Wednesday 22 November 2023 20:04:48 +0000 (0:00:00.025) 0:01:47.191 **** included: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Wednesday 22 November 2023 20:04:48 +0000 (0:00:00.021) 0:01:47.213 **** skipping: [sut] => { "changed": false, "false_condition": "__storage_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Wednesday 22 November 2023 20:04:48 +0000 (0:00:00.026) 0:01:47.240 **** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [sut] => (item=RedHat_8.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat_8.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Check if system is ostree] *********** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Wednesday 22 November 2023 20:04:48 +0000 (0:00:00.046) 0:01:47.286 **** skipping: [sut] => { "changed": false, "false_condition": "not __storage_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 Wednesday 22 November 2023 20:04:48 +0000 (0:00:00.022) 0:01:47.308 **** skipping: [sut] => { "changed": false, "false_condition": "not __storage_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Define an empty list of pools to be used in testing] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Wednesday 22 November 2023 20:04:48 +0000 (0:00:00.019) 0:01:47.328 **** ok: [sut] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Define an empty list of volumes to be used in testing] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Wednesday 22 November 2023 20:04:48 +0000 (0:00:00.015) 0:01:47.344 **** ok: [sut] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Include the appropriate provider tasks] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Wednesday 22 November 2023 20:04:48 +0000 (0:00:00.015) 0:01:47.359 **** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for sut TASK [fedora.linux_system_roles.storage : Make sure blivet is available] ******* task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Wednesday 22 November 2023 20:04:48 +0000 (0:00:00.042) 0:01:47.402 **** skipping: [sut] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"blivet_available\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Show storage_pools] ****************** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:9 Wednesday 22 November 2023 20:04:48 +0000 (0:00:00.022) 0:01:47.424 **** ok: [sut] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "partition" } ] } TASK [fedora.linux_system_roles.storage : Show storage_volumes] **************** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:14 Wednesday 22 November 2023 20:04:48 +0000 (0:00:00.020) 0:01:47.445 **** ok: [sut] => { "storage_volumes": [] } TASK [fedora.linux_system_roles.storage : Get required packages] *************** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:19 Wednesday 22 November 2023 20:04:48 +0000 (0:00:00.019) 0:01:47.464 **** skipping: [sut] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"packages_installed\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Enable copr repositories if needed] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:31 Wednesday 22 November 2023 20:04:48 +0000 (0:00:00.017) 0:01:47.481 **** skipping: [sut] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"packages_installed\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Make sure required packages are installed] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:37 Wednesday 22 November 2023 20:04:48 +0000 (0:00:00.019) 0:01:47.500 **** skipping: [sut] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"packages_installed\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Get service facts] ******************* task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:51 Wednesday 22 November 2023 20:04:48 +0000 (0:00:00.019) 0:01:47.519 **** skipping: [sut] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"service_facts\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:57 Wednesday 22 November 2023 20:04:48 +0000 (0:00:00.045) 0:01:47.565 **** ok: [sut] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:63 Wednesday 22 November 2023 20:04:48 +0000 (0:00:00.041) 0:01:47.607 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 Wednesday 22 November 2023 20:04:48 +0000 (0:00:00.013) 0:01:47.621 **** fatal: [sut]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: cannot remove existing formatting and/or devices on disk 'sda' (pool 'foo') in safe mode TASK [fedora.linux_system_roles.storage : Failed message] ********************** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:91 Wednesday 22 November 2023 20:04:53 +0000 (0:00:04.529) 0:01:52.150 **** fatal: [sut]: FAILED! => { "changed": false } MSG: {'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'msg': "cannot remove existing formatting and/or devices on disk 'sda' (pool 'foo') in safe mode", 'invocation': {'module_args': {'pools': [{'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'raid_chunk_size': None, 'state': 'present', 'type': 'partition', 'volumes': []}], '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}, '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': None} TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:95 Wednesday 22 November 2023 20:04:53 +0000 (0:00:00.020) 0:01:52.171 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Check that we failed in the role] **************************************** task path: /WORKDIR/git-refactor-ostreetge020r7/tests/verify-role-failed.yml:23 Wednesday 22 November 2023 20:04:53 +0000 (0:00:00.012) 0:01:52.183 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the blivet output and error message are correct] ****************** task path: /WORKDIR/git-refactor-ostreetge020r7/tests/verify-role-failed.yml:28 Wednesday 22 November 2023 20:04:53 +0000 (0:00:00.017) 0:01:52.201 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify correct exception or error message] ******************************* task path: /WORKDIR/git-refactor-ostreetge020r7/tests/verify-role-failed.yml:39 Wednesday 22 November 2023 20:04:53 +0000 (0:00:00.022) 0:01:52.223 **** skipping: [sut] => { "changed": false, "false_condition": "__storage_failed_exception is defined", "skip_reason": "Conditional result was False" } TASK [Test for correct handling of safe_mode with existing filesystem] ********* task path: /WORKDIR/git-refactor-ostreetge020r7/tests/tests_disk_errors.yml:143 Wednesday 22 November 2023 20:04:53 +0000 (0:00:00.016) 0:01:52.239 **** included: /WORKDIR/git-refactor-ostreetge020r7/tests/verify-role-failed.yml for sut TASK [Store global variable value copy] **************************************** task path: /WORKDIR/git-refactor-ostreetge020r7/tests/verify-role-failed.yml:4 Wednesday 22 November 2023 20:04:53 +0000 (0:00:00.030) 0:01:52.270 **** 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-refactor-ostreetge020r7/tests/verify-role-failed.yml:10 Wednesday 22 November 2023 20:04:53 +0000 (0:00:00.029) 0:01:52.300 **** TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Wednesday 22 November 2023 20:04:53 +0000 (0:00:00.023) 0:01:52.324 **** included: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Wednesday 22 November 2023 20:04:53 +0000 (0:00:00.021) 0:01:52.345 **** skipping: [sut] => { "changed": false, "false_condition": "__storage_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Wednesday 22 November 2023 20:04:53 +0000 (0:00:00.027) 0:01:52.372 **** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [sut] => (item=RedHat_8.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat_8.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Check if system is ostree] *********** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Wednesday 22 November 2023 20:04:53 +0000 (0:00:00.035) 0:01:52.408 **** skipping: [sut] => { "changed": false, "false_condition": "not __storage_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 Wednesday 22 November 2023 20:04:53 +0000 (0:00:00.017) 0:01:52.425 **** skipping: [sut] => { "changed": false, "false_condition": "not __storage_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Define an empty list of pools to be used in testing] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Wednesday 22 November 2023 20:04:53 +0000 (0:00:00.016) 0:01:52.442 **** ok: [sut] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Define an empty list of volumes to be used in testing] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Wednesday 22 November 2023 20:04:53 +0000 (0:00:00.015) 0:01:52.457 **** ok: [sut] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Include the appropriate provider tasks] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Wednesday 22 November 2023 20:04:53 +0000 (0:00:00.015) 0:01:52.472 **** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for sut TASK [fedora.linux_system_roles.storage : Make sure blivet is available] ******* task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Wednesday 22 November 2023 20:04:53 +0000 (0:00:00.037) 0:01:52.510 **** skipping: [sut] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"blivet_available\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Show storage_pools] ****************** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:9 Wednesday 22 November 2023 20:04:53 +0000 (0:00:00.017) 0:01:52.527 **** ok: [sut] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm" } ] } TASK [fedora.linux_system_roles.storage : Show storage_volumes] **************** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:14 Wednesday 22 November 2023 20:04:53 +0000 (0:00:00.018) 0:01:52.545 **** ok: [sut] => { "storage_volumes": [] } TASK [fedora.linux_system_roles.storage : Get required packages] *************** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:19 Wednesday 22 November 2023 20:04:53 +0000 (0:00:00.018) 0:01:52.564 **** skipping: [sut] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"packages_installed\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Enable copr repositories if needed] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:31 Wednesday 22 November 2023 20:04:53 +0000 (0:00:00.020) 0:01:52.584 **** skipping: [sut] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"packages_installed\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Make sure required packages are installed] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:37 Wednesday 22 November 2023 20:04:53 +0000 (0:00:00.017) 0:01:52.602 **** skipping: [sut] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"packages_installed\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Get service facts] ******************* task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:51 Wednesday 22 November 2023 20:04:53 +0000 (0:00:00.018) 0:01:52.621 **** skipping: [sut] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"service_facts\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:57 Wednesday 22 November 2023 20:04:53 +0000 (0:00:00.018) 0:01:52.639 **** ok: [sut] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:63 Wednesday 22 November 2023 20:04:53 +0000 (0:00:00.041) 0:01:52.680 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 Wednesday 22 November 2023 20:04:53 +0000 (0:00:00.012) 0:01:52.692 **** fatal: [sut]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: cannot remove existing formatting (ext4) and/or devices on disk 'sda' (pool 'foo') in safe mode TASK [fedora.linux_system_roles.storage : Failed message] ********************** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:91 Wednesday 22 November 2023 20:04:58 +0000 (0:00:04.241) 0:01:56.934 **** fatal: [sut]: FAILED! => { "changed": false } MSG: {'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'msg': "cannot remove existing formatting (ext4) and/or devices on disk 'sda' (pool 'foo') in safe mode", 'invocation': {'module_args': {'pools': [{'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'raid_chunk_size': None, 'state': 'present', 'type': 'lvm', 'volumes': []}], '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}, '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': None} TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:95 Wednesday 22 November 2023 20:04:58 +0000 (0:00:00.020) 0:01:56.954 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Check that we failed in the role] **************************************** task path: /WORKDIR/git-refactor-ostreetge020r7/tests/verify-role-failed.yml:23 Wednesday 22 November 2023 20:04:58 +0000 (0:00:00.011) 0:01:56.966 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the blivet output and error message are correct] ****************** task path: /WORKDIR/git-refactor-ostreetge020r7/tests/verify-role-failed.yml:28 Wednesday 22 November 2023 20:04:58 +0000 (0:00:00.015) 0:01:56.982 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify correct exception or error message] ******************************* task path: /WORKDIR/git-refactor-ostreetge020r7/tests/verify-role-failed.yml:39 Wednesday 22 November 2023 20:04:58 +0000 (0:00:00.022) 0:01:57.005 **** skipping: [sut] => { "changed": false, "false_condition": "__storage_failed_exception is defined", "skip_reason": "Conditional result was False" } TASK [Stat the file] *********************************************************** task path: /WORKDIR/git-refactor-ostreetge020r7/tests/tests_disk_errors.yml:157 Wednesday 22 November 2023 20:04:58 +0000 (0:00:00.016) 0:01:57.021 **** ok: [sut] => { "changed": false, "stat": { "atime": 1700683488.208309, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1700683463.1800778, "dev": 2048, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12, "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": 1700683463.1800778, "nlink": 1, "path": "/opt/test1/quux", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "version": "1642795826", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Assert file presence] **************************************************** task path: /WORKDIR/git-refactor-ostreetge020r7/tests/tests_disk_errors.yml:162 Wednesday 22 November 2023 20:04:58 +0000 (0:00:00.215) 0:01:57.237 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Create a partition pool on the disk already containing a file system w/o safe_mode] *** task path: /WORKDIR/git-refactor-ostreetge020r7/tests/tests_disk_errors.yml:167 Wednesday 22 November 2023 20:04:58 +0000 (0:00:00.019) 0:01:57.256 **** TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Wednesday 22 November 2023 20:04:58 +0000 (0:00:00.056) 0:01:57.313 **** included: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Wednesday 22 November 2023 20:04:58 +0000 (0:00:00.021) 0:01:57.335 **** skipping: [sut] => { "changed": false, "false_condition": "__storage_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Wednesday 22 November 2023 20:04:58 +0000 (0:00:00.027) 0:01:57.362 **** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [sut] => (item=RedHat_8.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat_8.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Check if system is ostree] *********** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Wednesday 22 November 2023 20:04:58 +0000 (0:00:00.037) 0:01:57.399 **** skipping: [sut] => { "changed": false, "false_condition": "not __storage_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 Wednesday 22 November 2023 20:04:58 +0000 (0:00:00.019) 0:01:57.419 **** skipping: [sut] => { "changed": false, "false_condition": "not __storage_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Define an empty list of pools to be used in testing] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Wednesday 22 November 2023 20:04:58 +0000 (0:00:00.018) 0:01:57.437 **** ok: [sut] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Define an empty list of volumes to be used in testing] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Wednesday 22 November 2023 20:04:58 +0000 (0:00:00.015) 0:01:57.453 **** ok: [sut] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Include the appropriate provider tasks] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Wednesday 22 November 2023 20:04:58 +0000 (0:00:00.015) 0:01:57.468 **** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for sut TASK [fedora.linux_system_roles.storage : Make sure blivet is available] ******* task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Wednesday 22 November 2023 20:04:58 +0000 (0:00:00.038) 0:01:57.507 **** skipping: [sut] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"blivet_available\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Show storage_pools] ****************** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:9 Wednesday 22 November 2023 20:04:58 +0000 (0:00:00.021) 0:01:57.528 **** ok: [sut] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "partition" } ] } TASK [fedora.linux_system_roles.storage : Show storage_volumes] **************** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:14 Wednesday 22 November 2023 20:04:58 +0000 (0:00:00.020) 0:01:57.548 **** ok: [sut] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined. 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : Get required packages] *************** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:19 Wednesday 22 November 2023 20:04:58 +0000 (0:00:00.017) 0:01:57.566 **** skipping: [sut] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"packages_installed\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Enable copr repositories if needed] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:31 Wednesday 22 November 2023 20:04:58 +0000 (0:00:00.018) 0:01:57.585 **** skipping: [sut] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"packages_installed\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Make sure required packages are installed] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:37 Wednesday 22 November 2023 20:04:58 +0000 (0:00:00.018) 0:01:57.603 **** skipping: [sut] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"packages_installed\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Get service facts] ******************* task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:51 Wednesday 22 November 2023 20:04:58 +0000 (0:00:00.020) 0:01:57.624 **** skipping: [sut] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"service_facts\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:57 Wednesday 22 November 2023 20:04:58 +0000 (0:00:00.020) 0:01:57.645 **** ok: [sut] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:63 Wednesday 22 November 2023 20:04:58 +0000 (0:00:00.099) 0:01:57.744 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 Wednesday 22 November 2023 20:04:58 +0000 (0:00:00.013) 0:01:57.757 **** changed: [sut] => { "actions": [ { "action": "destroy format", "device": "/dev/sda", "fs_type": "ext4" }, { "action": "create format", "device": "/dev/sda", "fs_type": "disklabel" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/sdd", "/dev/sde", "/dev/sdf", "/dev/sdg", "/dev/sdh", "/dev/sdi", "/dev/xvda1", "/dev/xvda2", "/dev/xvda3" ], "mounts": [ { "fstype": "ext4", "path": "/opt/test1", "src": "UUID=b1387948-1e99-4081-a62e-b79dad035100", "state": "absent" } ], "packages": [ "xfsprogs", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "partition", "volumes": [] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:83 Wednesday 22 November 2023 20:05:03 +0000 (0:00:04.754) 0:02:02.512 **** skipping: [sut] => { "changed": false, "false_condition": "storage_udevadm_trigger | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:95 Wednesday 22 November 2023 20:05:03 +0000 (0:00:00.025) 0:02:02.537 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.storage : Show blivet_output] ****************** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Wednesday 22 November 2023 20:05:03 +0000 (0:00:00.012) 0:02:02.549 **** ok: [sut] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/sda", "fs_type": "ext4" }, { "action": "create format", "device": "/dev/sda", "fs_type": "disklabel" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/sdd", "/dev/sde", "/dev/sdf", "/dev/sdg", "/dev/sdh", "/dev/sdi", "/dev/xvda1", "/dev/xvda2", "/dev/xvda3" ], "mounts": [ { "fstype": "ext4", "path": "/opt/test1", "src": "UUID=b1387948-1e99-4081-a62e-b79dad035100", "state": "absent" } ], "packages": [ "xfsprogs", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "partition", "volumes": [] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : Set the list of pools for test verification] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:106 Wednesday 22 November 2023 20:05:03 +0000 (0:00:00.019) 0:02:02.568 **** ok: [sut] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "partition", "volumes": [] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : Set the list of volumes for test verification] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:110 Wednesday 22 November 2023 20:05:03 +0000 (0:00:00.018) 0:02:02.587 **** ok: [sut] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Remove obsolete mounts] ************** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:126 Wednesday 22 November 2023 20:05:03 +0000 (0:00:00.017) 0:02:02.604 **** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [sut] => (item={'src': 'UUID=b1387948-1e99-4081-a62e-b79dad035100', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'ext4'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext4", "mount_info": { "fstype": "ext4", "path": "/opt/test1", "src": "UUID=b1387948-1e99-4081-a62e-b79dad035100", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "UUID=b1387948-1e99-4081-a62e-b79dad035100" } TASK [fedora.linux_system_roles.storage : Tell systemd to refresh its view of /etc/fstab] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Wednesday 22 November 2023 20:05:03 +0000 (0:00:00.232) 0:02:02.837 **** ok: [sut] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : Set up new/current mounts] *********** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:142 Wednesday 22 November 2023 20:05:04 +0000 (0:00:00.533) 0:02:03.371 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.storage : Manage mount ownership/permissions] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:153 Wednesday 22 November 2023 20:05:04 +0000 (0:00:00.028) 0:02:03.400 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.storage : Tell systemd to refresh its view of /etc/fstab] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:165 Wednesday 22 November 2023 20:05:04 +0000 (0:00:00.027) 0:02:03.427 **** ok: [sut] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : Retrieve facts for the /etc/crypttab file] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:173 Wednesday 22 November 2023 20:05:05 +0000 (0:00:00.526) 0:02:03.954 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : Manage /etc/crypttab to account for changes we just made] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:178 Wednesday 22 November 2023 20:05:05 +0000 (0:00:00.198) 0:02:04.153 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:200 Wednesday 22 November 2023 20:05:05 +0000 (0:00:00.012) 0:02:04.165 **** ok: [sut] TASK [Verify the output] ******************************************************* task path: /WORKDIR/git-refactor-ostreetge020r7/tests/tests_disk_errors.yml:179 Wednesday 22 November 2023 20:05:07 +0000 (0:00:01.806) 0:02:05.972 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Clean up] **************************************************************** task path: /WORKDIR/git-refactor-ostreetge020r7/tests/tests_disk_errors.yml:186 Wednesday 22 November 2023 20:05:07 +0000 (0:00:00.019) 0:02:05.992 **** TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Wednesday 22 November 2023 20:05:07 +0000 (0:00:00.061) 0:02:06.054 **** included: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Wednesday 22 November 2023 20:05:07 +0000 (0:00:00.023) 0:02:06.077 **** skipping: [sut] => { "changed": false, "false_condition": "__storage_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Wednesday 22 November 2023 20:05:07 +0000 (0:00:00.027) 0:02:06.104 **** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [sut] => (item=RedHat_8.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat_8.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Check if system is ostree] *********** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Wednesday 22 November 2023 20:05:07 +0000 (0:00:00.039) 0:02:06.144 **** skipping: [sut] => { "changed": false, "false_condition": "not __storage_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 Wednesday 22 November 2023 20:05:07 +0000 (0:00:00.017) 0:02:06.161 **** skipping: [sut] => { "changed": false, "false_condition": "not __storage_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Define an empty list of pools to be used in testing] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Wednesday 22 November 2023 20:05:07 +0000 (0:00:00.017) 0:02:06.179 **** ok: [sut] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Define an empty list of volumes to be used in testing] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Wednesday 22 November 2023 20:05:07 +0000 (0:00:00.017) 0:02:06.196 **** ok: [sut] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Include the appropriate provider tasks] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Wednesday 22 November 2023 20:05:07 +0000 (0:00:00.015) 0:02:06.212 **** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for sut TASK [fedora.linux_system_roles.storage : Make sure blivet is available] ******* task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Wednesday 22 November 2023 20:05:07 +0000 (0:00:00.037) 0:02:06.250 **** skipping: [sut] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"blivet_available\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Show storage_pools] ****************** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:9 Wednesday 22 November 2023 20:05:07 +0000 (0:00:00.018) 0:02:06.268 **** ok: [sut] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "state": "absent", "type": "partition" } ] } TASK [fedora.linux_system_roles.storage : Show storage_volumes] **************** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:14 Wednesday 22 November 2023 20:05:07 +0000 (0:00:00.019) 0:02:06.287 **** ok: [sut] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined. 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : Get required packages] *************** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:19 Wednesday 22 November 2023 20:05:07 +0000 (0:00:00.017) 0:02:06.305 **** skipping: [sut] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"packages_installed\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Enable copr repositories if needed] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:31 Wednesday 22 November 2023 20:05:07 +0000 (0:00:00.018) 0:02:06.323 **** skipping: [sut] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"packages_installed\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Make sure required packages are installed] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:37 Wednesday 22 November 2023 20:05:07 +0000 (0:00:00.018) 0:02:06.341 **** skipping: [sut] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"packages_installed\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Get service facts] ******************* task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:51 Wednesday 22 November 2023 20:05:07 +0000 (0:00:00.017) 0:02:06.359 **** skipping: [sut] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"service_facts\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:57 Wednesday 22 November 2023 20:05:07 +0000 (0:00:00.017) 0:02:06.377 **** ok: [sut] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:63 Wednesday 22 November 2023 20:05:07 +0000 (0:00:00.042) 0:02:06.420 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 Wednesday 22 November 2023 20:05:07 +0000 (0:00:00.012) 0:02:06.432 **** changed: [sut] => { "actions": [ { "action": "destroy format", "device": "/dev/sda", "fs_type": "disklabel" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/sdd", "/dev/sde", "/dev/sdf", "/dev/sdg", "/dev/sdh", "/dev/sdi", "/dev/xvda1", "/dev/xvda2", "/dev/xvda3" ], "mounts": [], "packages": [ "xfsprogs", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "partition", "volumes": [] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:83 Wednesday 22 November 2023 20:05:12 +0000 (0:00:04.478) 0:02:10.911 **** skipping: [sut] => { "changed": false, "false_condition": "storage_udevadm_trigger | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:95 Wednesday 22 November 2023 20:05:12 +0000 (0:00:00.025) 0:02:10.937 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.storage : Show blivet_output] ****************** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Wednesday 22 November 2023 20:05:12 +0000 (0:00:00.012) 0:02:10.950 **** ok: [sut] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/sda", "fs_type": "disklabel" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/sdd", "/dev/sde", "/dev/sdf", "/dev/sdg", "/dev/sdh", "/dev/sdi", "/dev/xvda1", "/dev/xvda2", "/dev/xvda3" ], "mounts": [], "packages": [ "xfsprogs", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "partition", "volumes": [] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : Set the list of pools for test verification] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:106 Wednesday 22 November 2023 20:05:12 +0000 (0:00:00.018) 0:02:10.968 **** ok: [sut] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "partition", "volumes": [] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : Set the list of volumes for test verification] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:110 Wednesday 22 November 2023 20:05:12 +0000 (0:00:00.019) 0:02:10.988 **** ok: [sut] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Remove obsolete mounts] ************** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:126 Wednesday 22 November 2023 20:05:12 +0000 (0:00:00.018) 0:02:11.006 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.storage : Tell systemd to refresh its view of /etc/fstab] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Wednesday 22 November 2023 20:05:12 +0000 (0:00:00.024) 0:02:11.030 **** skipping: [sut] => { "changed": false, "false_condition": "blivet_output['mounts']", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set up new/current mounts] *********** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:142 Wednesday 22 November 2023 20:05:12 +0000 (0:00:00.013) 0:02:11.044 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.storage : Manage mount ownership/permissions] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:153 Wednesday 22 November 2023 20:05:12 +0000 (0:00:00.024) 0:02:11.069 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.storage : Tell systemd to refresh its view of /etc/fstab] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:165 Wednesday 22 November 2023 20:05:12 +0000 (0:00:00.023) 0:02:11.093 **** skipping: [sut] => { "changed": false, "false_condition": "blivet_output['mounts']", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Retrieve facts for the /etc/crypttab file] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:173 Wednesday 22 November 2023 20:05:12 +0000 (0:00:00.020) 0:02:11.114 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : Manage /etc/crypttab to account for changes we just made] *** task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:178 Wednesday 22 November 2023 20:05:12 +0000 (0:00:00.197) 0:02:11.311 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:200 Wednesday 22 November 2023 20:05:12 +0000 (0:00:00.013) 0:02:11.325 **** ok: [sut] PLAY RECAP ********************************************************************* sut : ok=187 changed=9 unreachable=0 failed=0 skipped=154 rescued=12 ignored=0 Wednesday 22 November 2023 20:05:14 +0000 (0:00:01.799) 0:02:13.125 **** =============================================================================== fedora.linux_system_roles.storage : Make sure blivet is available ------ 51.93s /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state --- 4.98s /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state --- 4.75s /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state --- 4.56s /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state --- 4.53s /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state --- 4.52s /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state --- 4.48s /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state --- 4.47s /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state --- 4.39s /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state --- 4.31s /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state --- 4.24s /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state --- 4.05s /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 fedora.linux_system_roles.storage : Update facts ------------------------ 2.81s /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:200 fedora.linux_system_roles.storage : Get service facts ------------------- 1.91s /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:51 fedora.linux_system_roles.storage : Update facts ------------------------ 1.81s /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:200 fedora.linux_system_roles.storage : Update facts ------------------------ 1.80s /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:200 fedora.linux_system_roles.storage : Update facts ------------------------ 1.78s /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:200 Ensure test packages ---------------------------------------------------- 1.31s /WORKDIR/git-refactor-ostreetge020r7/tests/get_unused_disk.yml:2 -------------- fedora.linux_system_roles.storage : Make sure required packages are installed --- 1.29s /WORKDIR/git-refactor-ostreetge020r7/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:37 Gathering Facts --------------------------------------------------------- 0.92s /WORKDIR/git-refactor-ostreetge020r7/tests/tests_disk_errors.yml:2 ------------ ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---