# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_lvm_errors_scsi_generated.yml ********************************** 2 plays in /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/tests_lvm_errors_scsi_generated.yml PLAY [Run test tests_lvm_errors.yml for scsi] ********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/tests_lvm_errors_scsi_generated.yml:3 Monday 06 May 2024 22:45:23 +0000 (0:00:00.012) 0:00:00.012 ************ ok: [sut] META: ran handlers TASK [Set disk interface for test] ********************************************* task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/tests_lvm_errors_scsi_generated.yml:8 Monday 06 May 2024 22:45:24 +0000 (0:00:00.825) 0:00:00.837 ************ ok: [sut] => { "ansible_facts": { "storage_test_use_interface": "scsi" }, "changed": false } META: ran handlers META: ran handlers PLAY [Test lvm errors] ********************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/tests_lvm_errors.yml:2 Monday 06 May 2024 22:45:24 +0000 (0:00:00.011) 0:00:00.849 ************ ok: [sut] META: ran handlers TASK [Run the role] ************************************************************ task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/tests_lvm_errors.yml:18 Monday 06 May 2024 22:45:25 +0000 (0:00:00.437) 0:00:01.286 ************ TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Monday 06 May 2024 22:45:25 +0000 (0:00:00.027) 0:00:01.314 ************ included: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for sut TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Monday 06 May 2024 22:45:25 +0000 (0:00:00.023) 0:00:01.337 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Monday 06 May 2024 22:45:25 +0000 (0:00:00.019) 0:00:01.357 ************ skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Check if system is ostree] ****************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:26 Monday 06 May 2024 22:45:25 +0000 (0:00:00.033) 0:00:01.390 ************ ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.storage : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:31 Monday 06 May 2024 22:45:25 +0000 (0:00:00.189) 0:00:01.580 ************ ok: [sut] => { "ansible_facts": { "__storage_is_ostree": false }, "changed": false } TASK [linux-system-roles.storage : Define an empty list of pools to be used in testing] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Monday 06 May 2024 22:45:25 +0000 (0:00:00.023) 0:00:01.603 ************ ok: [sut] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : Define an empty list of volumes to be used in testing] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Monday 06 May 2024 22:45:25 +0000 (0:00:00.011) 0:00:01.614 ************ ok: [sut] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : Include the appropriate provider tasks] ***** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Monday 06 May 2024 22:45:25 +0000 (0:00:00.010) 0:00:01.625 ************ included: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for sut TASK [linux-system-roles.storage : Make sure blivet is available] ************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Monday 06 May 2024 22:45:25 +0000 (0:00:00.041) 0:00:01.667 ************ changed: [sut] => { "changed": true, "changes": { "installed": [ "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "rc": 0, "results": [ "python-enum34-1.0.4-1.el7.noarch providing python-enum34 is already installed", "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: download.cf.centos.org\n * extras: download.cf.centos.org\n * updates: download.cf.centos.org\nResolving Dependencies\n--> Running transaction check\n---> Package libblockdev-crypto.x86_64 0:2.18-5.el7 will be installed\n--> Processing Dependency: libblockdev-utils(x86-64) = 2.18-5.el7 for package: libblockdev-crypto-2.18-5.el7.x86_64\n--> Processing Dependency: libvolume_key.so.1()(64bit) for package: libblockdev-crypto-2.18-5.el7.x86_64\n--> Processing Dependency: libbd_utils.so.2()(64bit) for package: libblockdev-crypto-2.18-5.el7.x86_64\n---> Package libblockdev-dm.x86_64 0:2.18-5.el7 will be installed\n--> Processing Dependency: libdmraid.so.1(Base)(64bit) for package: libblockdev-dm-2.18-5.el7.x86_64\n--> Processing Dependency: dmraid for package: libblockdev-dm-2.18-5.el7.x86_64\n--> Processing Dependency: libdmraid.so.1()(64bit) for package: libblockdev-dm-2.18-5.el7.x86_64\n---> Package libblockdev-lvm.x86_64 0:2.18-5.el7 will be installed\n--> Processing Dependency: lvm2 for package: libblockdev-lvm-2.18-5.el7.x86_64\n--> Processing Dependency: device-mapper-persistent-data for package: libblockdev-lvm-2.18-5.el7.x86_64\n---> Package libblockdev-mdraid.x86_64 0:2.18-5.el7 will be installed\n--> Processing Dependency: mdadm for package: libblockdev-mdraid-2.18-5.el7.x86_64\n--> Processing Dependency: libbytesize.so.1()(64bit) for package: libblockdev-mdraid-2.18-5.el7.x86_64\n---> Package libblockdev-swap.x86_64 0:2.18-5.el7 will be installed\n---> Package python2-blivet3.noarch 1:3.1.3-3.el7 will be installed\n--> Processing Dependency: blivet3-data = 1:3.1.3-3.el7 for package: 1:python2-blivet3-3.1.3-3.el7.noarch\n--> Processing Dependency: python2-bytesize >= 0.3 for package: 1:python2-blivet3-3.1.3-3.el7.noarch\n--> Processing Dependency: python2-blockdev >= 2.17 for package: 1:python2-blivet3-3.1.3-3.el7.noarch\n--> Processing Dependency: pyparted >= 3.9 for package: 1:python2-blivet3-3.1.3-3.el7.noarch\n--> Processing Dependency: lsof for package: 1:python2-blivet3-3.1.3-3.el7.noarch\n--> Running transaction check\n---> Package blivet3-data.noarch 1:3.1.3-3.el7 will be installed\n---> Package device-mapper-persistent-data.x86_64 0:0.8.5-3.el7_9.2 will be installed\n--> Processing Dependency: libaio.so.1(LIBAIO_0.4)(64bit) for package: device-mapper-persistent-data-0.8.5-3.el7_9.2.x86_64\n--> Processing Dependency: libaio.so.1(LIBAIO_0.1)(64bit) for package: device-mapper-persistent-data-0.8.5-3.el7_9.2.x86_64\n--> Processing Dependency: libaio.so.1()(64bit) for package: device-mapper-persistent-data-0.8.5-3.el7_9.2.x86_64\n---> Package dmraid.x86_64 0:1.0.0.rc16-28.el7 will be installed\n--> Processing Dependency: libdevmapper-event.so.1.02(Base)(64bit) for package: dmraid-1.0.0.rc16-28.el7.x86_64\n--> Processing Dependency: dmraid-events for package: dmraid-1.0.0.rc16-28.el7.x86_64\n--> Processing Dependency: libdevmapper-event.so.1.02()(64bit) for package: dmraid-1.0.0.rc16-28.el7.x86_64\n---> Package libblockdev-utils.x86_64 0:2.18-5.el7 will be installed\n---> Package libbytesize.x86_64 0:1.2-1.el7 will be installed\n---> Package lsof.x86_64 0:4.87-6.el7 will be installed\n---> Package lvm2.x86_64 7:2.02.187-6.el7_9.5 will be installed\n--> Processing Dependency: lvm2-libs = 7:2.02.187-6.el7_9.5 for package: 7:lvm2-2.02.187-6.el7_9.5.x86_64\n--> Processing Dependency: liblvm2app.so.2.2(Base)(64bit) for package: 7:lvm2-2.02.187-6.el7_9.5.x86_64\n--> Processing Dependency: liblvm2app.so.2.2()(64bit) for package: 7:lvm2-2.02.187-6.el7_9.5.x86_64\n---> Package mdadm.x86_64 0:4.1-9.el7_9 will be installed\n---> Package pyparted.x86_64 1:3.9-15.el7 will be installed\n---> Package python2-blockdev.x86_64 0:2.18-5.el7 will be installed\n--> Processing Dependency: libblockdev(x86-64) = 2.18-5.el7 for package: python2-blockdev-2.18-5.el7.x86_64\n---> Package python2-bytesize.x86_64 0:1.2-1.el7 will be installed\n---> Package volume_key-libs.x86_64 0:0.3.9-9.el7 will be installed\n--> Running transaction check\n---> Package device-mapper-event-libs.x86_64 7:1.02.170-6.el7_9.5 will be installed\n---> Package dmraid-events.x86_64 0:1.0.0.rc16-28.el7 will be installed\n--> Processing Dependency: sgpio for package: dmraid-events-1.0.0.rc16-28.el7.x86_64\n--> Processing Dependency: device-mapper-event for package: dmraid-events-1.0.0.rc16-28.el7.x86_64\n---> Package libaio.x86_64 0:0.3.109-13.el7 will be installed\n---> Package libblockdev.x86_64 0:2.18-5.el7 will be installed\n---> Package lvm2-libs.x86_64 7:2.02.187-6.el7_9.5 will be installed\n--> Running transaction check\n---> Package device-mapper-event.x86_64 7:1.02.170-6.el7_9.5 will be installed\n---> Package sgpio.x86_64 0:1.2.0.10-13.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository\n Size\n================================================================================\nInstalling:\n libblockdev-crypto x86_64 2.18-5.el7 base 60 k\n libblockdev-dm x86_64 2.18-5.el7 base 54 k\n libblockdev-lvm x86_64 2.18-5.el7 base 62 k\n libblockdev-mdraid x86_64 2.18-5.el7 base 57 k\n libblockdev-swap x86_64 2.18-5.el7 base 52 k\n python2-blivet3 noarch 1:3.1.3-3.el7 base 851 k\nInstalling for dependencies:\n blivet3-data noarch 1:3.1.3-3.el7 base 77 k\n device-mapper-event x86_64 7:1.02.170-6.el7_9.5 updates 192 k\n device-mapper-event-libs x86_64 7:1.02.170-6.el7_9.5 updates 192 k\n device-mapper-persistent-data x86_64 0.8.5-3.el7_9.2 updates 423 k\n dmraid x86_64 1.0.0.rc16-28.el7 base 151 k\n dmraid-events x86_64 1.0.0.rc16-28.el7 base 21 k\n libaio x86_64 0.3.109-13.el7 base 24 k\n libblockdev x86_64 2.18-5.el7 base 119 k\n libblockdev-utils x86_64 2.18-5.el7 base 58 k\n libbytesize x86_64 1.2-1.el7 base 52 k\n lsof x86_64 4.87-6.el7 base 331 k\n lvm2 x86_64 7:2.02.187-6.el7_9.5 updates 1.3 M\n lvm2-libs x86_64 7:2.02.187-6.el7_9.5 updates 1.1 M\n mdadm x86_64 4.1-9.el7_9 updates 439 k\n pyparted x86_64 1:3.9-15.el7 base 195 k\n python2-blockdev x86_64 2.18-5.el7 base 61 k\n python2-bytesize x86_64 1.2-1.el7 base 22 k\n sgpio x86_64 1.2.0.10-13.el7 base 13 k\n volume_key-libs x86_64 0.3.9-9.el7 base 141 k\n\nTransaction Summary\n================================================================================\nInstall 6 Packages (+19 Dependent packages)\n\nTotal download size: 6.0 M\nInstalled size: 16 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 4.5 MB/s | 6.0 MB 00:01 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : libblockdev-utils-2.18-5.el7.x86_64 1/25 \n Installing : 7:device-mapper-event-libs-1.02.170-6.el7_9.5.x86_64 2/25 \n Installing : libaio-0.3.109-13.el7.x86_64 3/25 \n Installing : device-mapper-persistent-data-0.8.5-3.el7_9.2.x86_64 4/25 \n Installing : 7:device-mapper-event-1.02.170-6.el7_9.5.x86_64 5/25 \n Installing : libbytesize-1.2-1.el7.x86_64 6/25 \n Installing : python2-bytesize-1.2-1.el7.x86_64 7/25 \n Installing : 7:lvm2-libs-2.02.187-6.el7_9.5.x86_64 8/25 \n Installing : 7:lvm2-2.02.187-6.el7_9.5.x86_64 9/25 \n Installing : libblockdev-2.18-5.el7.x86_64 10/25 \n Installing : python2-blockdev-2.18-5.el7.x86_64 11/25 \n Installing : 1:pyparted-3.9-15.el7.x86_64 12/25 \n Installing : sgpio-1.2.0.10-13.el7.x86_64 13/25 \n Installing : dmraid-1.0.0.rc16-28.el7.x86_64 14/25 \n Installing : dmraid-events-1.0.0.rc16-28.el7.x86_64 15/25 \n Installing : mdadm-4.1-9.el7_9.x86_64 16/25 \n Installing : volume_key-libs-0.3.9-9.el7.x86_64 17/25 \n Installing : 1:blivet3-data-3.1.3-3.el7.noarch 18/25 \n Installing : lsof-4.87-6.el7.x86_64 19/25 \n Installing : 1:python2-blivet3-3.1.3-3.el7.noarch 20/25 \n Installing : libblockdev-crypto-2.18-5.el7.x86_64 21/25 \n Installing : libblockdev-mdraid-2.18-5.el7.x86_64 22/25 \n Installing : libblockdev-dm-2.18-5.el7.x86_64 23/25 \n Installing : libblockdev-lvm-2.18-5.el7.x86_64 24/25 \n Installing : libblockdev-swap-2.18-5.el7.x86_64 25/25 \n Verifying : 7:device-mapper-event-1.02.170-6.el7_9.5.x86_64 1/25 \n Verifying : libblockdev-swap-2.18-5.el7.x86_64 2/25 \n Verifying : libblockdev-lvm-2.18-5.el7.x86_64 3/25 \n Verifying : lsof-4.87-6.el7.x86_64 4/25 \n Verifying : libblockdev-mdraid-2.18-5.el7.x86_64 5/25 \n Verifying : 1:blivet3-data-3.1.3-3.el7.noarch 6/25 \n Verifying : dmraid-events-1.0.0.rc16-28.el7.x86_64 7/25 \n Verifying : python2-blockdev-2.18-5.el7.x86_64 8/25 \n Verifying : libblockdev-dm-2.18-5.el7.x86_64 9/25 \n Verifying : libaio-0.3.109-13.el7.x86_64 10/25 \n Verifying : 7:lvm2-libs-2.02.187-6.el7_9.5.x86_64 11/25 \n Verifying : python2-bytesize-1.2-1.el7.x86_64 12/25 \n Verifying : libblockdev-2.18-5.el7.x86_64 13/25 \n Verifying : libbytesize-1.2-1.el7.x86_64 14/25 \n Verifying : 7:device-mapper-event-libs-1.02.170-6.el7_9.5.x86_64 15/25 \n Verifying : 7:lvm2-2.02.187-6.el7_9.5.x86_64 16/25 \n Verifying : libblockdev-utils-2.18-5.el7.x86_64 17/25 \n Verifying : volume_key-libs-0.3.9-9.el7.x86_64 18/25 \n Verifying : device-mapper-persistent-data-0.8.5-3.el7_9.2.x86_64 19/25 \n Verifying : 1:python2-blivet3-3.1.3-3.el7.noarch 20/25 \n Verifying : dmraid-1.0.0.rc16-28.el7.x86_64 21/25 \n Verifying : mdadm-4.1-9.el7_9.x86_64 22/25 \n Verifying : sgpio-1.2.0.10-13.el7.x86_64 23/25 \n Verifying : libblockdev-crypto-2.18-5.el7.x86_64 24/25 \n Verifying : 1:pyparted-3.9-15.el7.x86_64 25/25 \n\nInstalled:\n libblockdev-crypto.x86_64 0:2.18-5.el7 libblockdev-dm.x86_64 0:2.18-5.el7 \n libblockdev-lvm.x86_64 0:2.18-5.el7 libblockdev-mdraid.x86_64 0:2.18-5.el7\n libblockdev-swap.x86_64 0:2.18-5.el7 python2-blivet3.noarch 1:3.1.3-3.el7 \n\nDependency Installed:\n blivet3-data.noarch 1:3.1.3-3.el7 \n device-mapper-event.x86_64 7:1.02.170-6.el7_9.5 \n device-mapper-event-libs.x86_64 7:1.02.170-6.el7_9.5 \n device-mapper-persistent-data.x86_64 0:0.8.5-3.el7_9.2 \n dmraid.x86_64 0:1.0.0.rc16-28.el7 \n dmraid-events.x86_64 0:1.0.0.rc16-28.el7 \n libaio.x86_64 0:0.3.109-13.el7 \n libblockdev.x86_64 0:2.18-5.el7 \n libblockdev-utils.x86_64 0:2.18-5.el7 \n libbytesize.x86_64 0:1.2-1.el7 \n lsof.x86_64 0:4.87-6.el7 \n lvm2.x86_64 7:2.02.187-6.el7_9.5 \n lvm2-libs.x86_64 7:2.02.187-6.el7_9.5 \n mdadm.x86_64 0:4.1-9.el7_9 \n pyparted.x86_64 1:3.9-15.el7 \n python2-blockdev.x86_64 0:2.18-5.el7 \n python2-bytesize.x86_64 0:1.2-1.el7 \n sgpio.x86_64 0:1.2.0.10-13.el7 \n volume_key-libs.x86_64 0:0.3.9-9.el7 \n\nComplete!\n" ] } TASK [linux-system-roles.storage : Show storage_pools] ************************* task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:11 Monday 06 May 2024 22:45:36 +0000 (0:00:10.639) 0:00:12.306 ************ ok: [sut] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : Show storage_volumes] *********************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:16 Monday 06 May 2024 22:45:36 +0000 (0:00:00.020) 0:00:12.327 ************ ok: [sut] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : Get required packages] ********************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:21 Monday 06 May 2024 22:45:36 +0000 (0:00:00.020) 0:00:12.348 ************ ok: [sut] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [linux-system-roles.storage : Enable copr repositories if needed] ********* task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:34 Monday 06 May 2024 22:45:36 +0000 (0:00:00.546) 0:00:12.895 ************ included: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml for sut TASK [linux-system-roles.storage : Check if the COPR support packages should be installed] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:2 Monday 06 May 2024 22:45:36 +0000 (0:00:00.034) 0:00:12.929 ************ TASK [linux-system-roles.storage : Make sure COPR support packages are present] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:13 Monday 06 May 2024 22:45:36 +0000 (0:00:00.009) 0:00:12.939 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Enable COPRs] ******************************* task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:20 Monday 06 May 2024 22:45:36 +0000 (0:00:00.010) 0:00:12.949 ************ TASK [linux-system-roles.storage : Make sure required packages are installed] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:41 Monday 06 May 2024 22:45:36 +0000 (0:00:00.008) 0:00:12.958 ************ ok: [sut] => { "changed": false, "rc": 0, "results": [ "kpartx-0.4.9-136.el7_9.x86_64 providing kpartx is already installed" ] } TASK [linux-system-roles.storage : Get service facts] ************************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:57 Monday 06 May 2024 22:45:37 +0000 (0:00:00.406) 0:00:13.364 ************ 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" }, "arp-ethers.service": { "name": "arp-ethers.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "auditd.service": { "name": "auditd.service", "source": "systemd", "state": "running", "status": "enabled" }, "auth-rpcgss-module.service": { "name": "auth-rpcgss-module.service", "source": "systemd", "state": "stopped", "status": "static" }, "autovt@.service": { "name": "autovt@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "blivet.service": { "name": "blivet.service", "source": "systemd", "state": "inactive", "status": "static" }, "blk-availability.service": { "name": "blk-availability.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "brandbot.service": { "name": "brandbot.service", "source": "systemd", "state": "inactive", "status": "static" }, "chrony-dnssrv@.service": { "name": "chrony-dnssrv@.service", "source": "systemd", "state": "unknown", "status": "static" }, "chrony-wait.service": { "name": "chrony-wait.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "chronyd.service": { "name": "chronyd.service", "source": "systemd", "state": "running", "status": "enabled" }, "cloud-config.service": { "name": "cloud-config.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-final.service": { "name": "cloud-final.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init-local.service": { "name": "cloud-init-local.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init.service": { "name": "cloud-init.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "console-getty.service": { "name": "console-getty.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "console-shell.service": { "name": "console-shell.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.import1.service": { "name": "dbus-org.freedesktop.import1.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.machine1.service": { "name": "dbus-org.freedesktop.machine1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.nm-dispatcher.service": { "name": "dbus-org.freedesktop.nm-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "dbus-org.freedesktop.timedate1.service": { "name": "dbus-org.freedesktop.timedate1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus.service": { "name": "dbus.service", "source": "systemd", "state": "running", "status": "static" }, "debug-shell.service": { "name": "debug-shell.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "dm-event.service": { "name": "dm-event.service", "source": "systemd", "state": "stopped", "status": "static" }, "dmraid-activation.service": { "name": "dmraid-activation.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "dracut-cmdline.service": { "name": "dracut-cmdline.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-initqueue.service": { "name": "dracut-initqueue.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-mount.service": { "name": "dracut-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-mount.service": { "name": "dracut-pre-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-pivot.service": { "name": "dracut-pre-pivot.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-trigger.service": { "name": "dracut-pre-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-udev.service": { "name": "dracut-pre-udev.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-shutdown.service": { "name": "dracut-shutdown.service", "source": "systemd", "state": "stopped", "status": "static" }, "ebtables.service": { "name": "ebtables.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "emergency.service": { "name": "emergency.service", "source": "systemd", "state": "stopped", "status": "static" }, "firewalld.service": { "name": "firewalld.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "fstrim.service": { "name": "fstrim.service", "source": "systemd", "state": "inactive", "status": "static" }, "getty@.service": { "name": "getty@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "getty@tty1.service": { "name": "getty@tty1.service", "source": "systemd", "state": "running", "status": "unknown" }, "gssproxy.service": { "name": "gssproxy.service", "source": "systemd", "state": "running", "status": "disabled" }, "halt-local.service": { "name": "halt-local.service", "source": "systemd", "state": "inactive", "status": "static" }, "initrd-cleanup.service": { "name": "initrd-cleanup.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-parse-etc.service": { "name": "initrd-parse-etc.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-switch-root.service": { "name": "initrd-switch-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-udevadm-cleanup-db.service": { "name": "initrd-udevadm-cleanup-db.service", "source": "systemd", "state": "stopped", "status": "static" }, "iprdump.service": { "name": "iprdump.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "iprinit.service": { "name": "iprinit.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "iprupdate.service": { "name": "iprupdate.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "irqbalance.service": { "name": "irqbalance.service", "source": "systemd", "state": "running", "status": "enabled" }, "kdump.service": { "name": "kdump.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "kmod-static-nodes.service": { "name": "kmod-static-nodes.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-lvmetad.service": { "name": "lvm2-lvmetad.service", "source": "systemd", "state": "running", "status": "static" }, "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" }, "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" }, "netconsole": { "name": "netconsole", "source": "sysv", "state": "stopped", "status": "disabled" }, "network": { "name": "network", "source": "sysv", "state": "running", "status": "enabled" }, "network.service": { "name": "network.service", "source": "systemd", "state": "stopped", "status": "unknown" }, "nfs-blkmap.service": { "name": "nfs-blkmap.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-config.service": { "name": "nfs-config.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-idmap.service": { "name": "nfs-idmap.service", "source": "systemd", "state": "inactive", "status": "static" }, "nfs-idmapd.service": { "name": "nfs-idmapd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-lock.service": { "name": "nfs-lock.service", "source": "systemd", "state": "inactive", "status": "static" }, "nfs-mountd.service": { "name": "nfs-mountd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-rquotad.service": { "name": "nfs-rquotad.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-secure.service": { "name": "nfs-secure.service", "source": "systemd", "state": "inactive", "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" }, "nfs.service": { "name": "nfs.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfslock.service": { "name": "nfslock.service", "source": "systemd", "state": "inactive", "status": "static" }, "ntpdate.service": { "name": "ntpdate.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "plymouth-halt.service": { "name": "plymouth-halt.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "plymouth-kexec.service": { "name": "plymouth-kexec.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "plymouth-poweroff.service": { "name": "plymouth-poweroff.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "plymouth-quit-wait.service": { "name": "plymouth-quit-wait.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "plymouth-quit.service": { "name": "plymouth-quit.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "plymouth-read-write.service": { "name": "plymouth-read-write.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "plymouth-reboot.service": { "name": "plymouth-reboot.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "plymouth-start.service": { "name": "plymouth-start.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "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" }, "postfix.service": { "name": "postfix.service", "source": "systemd", "state": "running", "status": "enabled" }, "qemu-guest-agent.service": { "name": "qemu-guest-agent.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "quotaon.service": { "name": "quotaon.service", "source": "systemd", "state": "inactive", "status": "static" }, "rc-local.service": { "name": "rc-local.service", "source": "systemd", "state": "stopped", "status": "static" }, "rdisc.service": { "name": "rdisc.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rescue.service": { "name": "rescue.service", "source": "systemd", "state": "stopped", "status": "static" }, "restraintd.service": { "name": "restraintd.service", "source": "systemd", "state": "running", "status": "enabled" }, "rhel-autorelabel-mark.service": { "name": "rhel-autorelabel-mark.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-autorelabel.service": { "name": "rhel-autorelabel.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-configure.service": { "name": "rhel-configure.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-dmesg.service": { "name": "rhel-dmesg.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-domainname.service": { "name": "rhel-domainname.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-import-state.service": { "name": "rhel-import-state.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-loadmodules.service": { "name": "rhel-loadmodules.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-readonly.service": { "name": "rhel-readonly.service", "source": "systemd", "state": "stopped", "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-rquotad.service": { "name": "rpc-rquotad.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "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" }, "rpcgssd.service": { "name": "rpcgssd.service", "source": "systemd", "state": "inactive", "status": "static" }, "rpcidmapd.service": { "name": "rpcidmapd.service", "source": "systemd", "state": "inactive", "status": "static" }, "rsyncd.service": { "name": "rsyncd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rsyncd@.service": { "name": "rsyncd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "rsyslog.service": { "name": "rsyslog.service", "source": "systemd", "state": "running", "status": "enabled" }, "selinux-policy-migrate-local-changes@.service": { "name": "selinux-policy-migrate-local-changes@.service", "source": "systemd", "state": "unknown", "status": "static" }, "selinux-policy-migrate-local-changes@targeted.service": { "name": "selinux-policy-migrate-local-changes@targeted.service", "source": "systemd", "state": "stopped", "status": "unknown" }, "serial-getty@.service": { "name": "serial-getty@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "sshd-keygen.service": { "name": "sshd-keygen.service", "source": "systemd", "state": "stopped", "status": "static" }, "sshd.service": { "name": "sshd.service", "source": "systemd", "state": "running", "status": "enabled" }, "sshd@.service": { "name": "sshd@.service", "source": "systemd", "state": "unknown", "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-bootchart.service": { "name": "systemd-bootchart.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "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-importd.service": { "name": "systemd-importd.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-machined.service": { "name": "systemd-machined.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-modules-load.service": { "name": "systemd-modules-load.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-nspawn@.service": { "name": "systemd-nspawn@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "systemd-poweroff.service": { "name": "systemd-poweroff.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-quotacheck.service": { "name": "systemd-quotacheck.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-random-seed.service": { "name": "systemd-random-seed.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-readahead-collect.service": { "name": "systemd-readahead-collect.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "systemd-readahead-done.service": { "name": "systemd-readahead-done.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "systemd-readahead-drop.service": { "name": "systemd-readahead-drop.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "systemd-readahead-replay.service": { "name": "systemd-readahead-replay.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "systemd-reboot.service": { "name": "systemd-reboot.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-remount-fs.service": { "name": "systemd-remount-fs.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-rfkill@.service": { "name": "systemd-rfkill@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-shutdownd.service": { "name": "systemd-shutdownd.service", "source": "systemd", "state": "stopped", "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-timedated.service": { "name": "systemd-timedated.service", "source": "systemd", "state": "inactive", "status": "static" }, "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" }, "target.service": { "name": "target.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "targetclid.service": { "name": "targetclid.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "teamd@.service": { "name": "teamd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "tuned.service": { "name": "tuned.service", "source": "systemd", "state": "running", "status": "enabled" }, "wpa_supplicant.service": { "name": "wpa_supplicant.service", "source": "systemd", "state": "inactive", "status": "disabled" } } }, "changed": false } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:64 Monday 06 May 2024 22:45:38 +0000 (0:00:00.970) 0:00:14.335 ************ ok: [sut] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:78 Monday 06 May 2024 22:45:38 +0000 (0:00:00.019) 0:00:14.354 ************ TASK [linux-system-roles.storage : Manage the pools and volumes to match the specified state] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:84 Monday 06 May 2024 22:45:38 +0000 (0:00:00.010) 0:00:14.365 ************ ok: [sut] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:98 Monday 06 May 2024 22:45:38 +0000 (0:00:00.306) 0:00:14.672 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:110 Monday 06 May 2024 22:45:38 +0000 (0:00:00.012) 0:00:14.684 ************ TASK [linux-system-roles.storage : Show blivet_output] ************************* task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:116 Monday 06 May 2024 22:45:38 +0000 (0:00:00.010) 0:00:14.695 ************ ok: [sut] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } } TASK [linux-system-roles.storage : Set the list of pools for test verification] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:125 Monday 06 May 2024 22:45:38 +0000 (0:00:00.013) 0:00:14.708 ************ ok: [sut] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : Set the list of volumes for test verification] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:129 Monday 06 May 2024 22:45:38 +0000 (0:00:00.011) 0:00:14.720 ************ ok: [sut] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : Remove obsolete mounts] ********************* task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:145 Monday 06 May 2024 22:45:38 +0000 (0:00:00.012) 0:00:14.733 ************ TASK [linux-system-roles.storage : Tell systemd to refresh its view of /etc/fstab] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:157 Monday 06 May 2024 22:45:38 +0000 (0:00:00.025) 0:00:14.758 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set up new/current mounts] ****************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:162 Monday 06 May 2024 22:45:38 +0000 (0:00:00.012) 0:00:14.770 ************ TASK [linux-system-roles.storage : Manage mount ownership/permissions] ********* task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:174 Monday 06 May 2024 22:45:38 +0000 (0:00:00.010) 0:00:14.781 ************ TASK [linux-system-roles.storage : Tell systemd to refresh its view of /etc/fstab] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:189 Monday 06 May 2024 22:45:38 +0000 (0:00:00.010) 0:00:14.792 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Retrieve facts for the /etc/crypttab file] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:197 Monday 06 May 2024 22:45:38 +0000 (0:00:00.010) 0:00:14.803 ************ ok: [sut] => { "changed": false, "stat": { "atime": 1715034656.6401625, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1714465739.653, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 131079, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1714465489.206, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "1979845102", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : Manage /etc/crypttab to account for changes we just made] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:202 Monday 06 May 2024 22:45:38 +0000 (0:00:00.146) 0:00:14.949 ************ TASK [linux-system-roles.storage : Update facts] ******************************* task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:224 Monday 06 May 2024 22:45:38 +0000 (0:00:00.011) 0:00:14.960 ************ ok: [sut] TASK [Mark tasks to be skipped] ************************************************ task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/tests_lvm_errors.yml:22 Monday 06 May 2024 22:45:39 +0000 (0:00:00.525) 0:00:15.485 ************ ok: [sut] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "packages_installed", "service_facts" ] }, "changed": false } TASK [Get unused disks] ******************************************************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/tests_lvm_errors.yml:31 Monday 06 May 2024 22:45:39 +0000 (0:00:00.015) 0:00:15.501 ************ included: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/get_unused_disk.yml for sut TASK [Ensure test packages] **************************************************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/get_unused_disk.yml:2 Monday 06 May 2024 22:45:39 +0000 (0:00:00.016) 0:00:15.517 ************ ok: [sut] => { "changed": false, "rc": 0, "results": [ "util-linux-2.23.2-65.el7_9.1.x86_64 providing util-linux is already installed" ] } TASK [Find unused disks in the system] ***************************************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/get_unused_disk.yml:16 Monday 06 May 2024 22:45:39 +0000 (0:00:00.410) 0:00:15.928 ************ ok: [sut] => { "changed": false, "disks": [ "sdh" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/get_unused_disk.yml:24 Monday 06 May 2024 22:45:41 +0000 (0:00:01.230) 0:00:17.159 ************ ok: [sut] => { "ansible_facts": { "unused_disks": [ "sdh" ] }, "changed": false } TASK [Exit playbook when there's not enough unused disks in the system] ******** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/get_unused_disk.yml:29 Monday 06 May 2024 22:45:41 +0000 (0:00:00.014) 0:00:17.174 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print unused disks] ****************************************************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/get_unused_disk.yml:34 Monday 06 May 2024 22:45:41 +0000 (0:00:00.012) 0:00:17.186 ************ ok: [sut] => { "unused_disks": [ "sdh" ] } TASK [Test for correct handling of invalid disk specifications.] *************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/tests_lvm_errors.yml:37 Monday 06 May 2024 22:45:41 +0000 (0:00:00.012) 0:00:17.198 ************ included: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/verify-role-failed.yml for sut TASK [Store global variable value copy] **************************************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/verify-role-failed.yml:4 Monday 06 May 2024 22:45:41 +0000 (0:00:00.017) 0:00:17.216 ************ ok: [sut] => { "ansible_facts": { "storage_pools_global": [], "storage_safe_mode_global": true, "storage_volumes_global": [] }, "changed": false } TASK [Verify role raises correct error] **************************************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/verify-role-failed.yml:10 Monday 06 May 2024 22:45:41 +0000 (0:00:00.014) 0:00:17.230 ************ TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Monday 06 May 2024 22:45:41 +0000 (0:00:00.018) 0:00:17.249 ************ included: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for sut TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Monday 06 May 2024 22:45:41 +0000 (0:00:00.016) 0:00:17.265 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Monday 06 May 2024 22:45:41 +0000 (0:00:00.014) 0:00:17.280 ************ skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Check if system is ostree] ****************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:26 Monday 06 May 2024 22:45:41 +0000 (0:00:00.029) 0:00:17.310 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:31 Monday 06 May 2024 22:45:41 +0000 (0:00:00.012) 0:00:17.322 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Define an empty list of pools to be used in testing] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Monday 06 May 2024 22:45:41 +0000 (0:00:00.011) 0:00:17.334 ************ ok: [sut] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : Define an empty list of volumes to be used in testing] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Monday 06 May 2024 22:45:41 +0000 (0:00:00.010) 0:00:17.345 ************ ok: [sut] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : Include the appropriate provider tasks] ***** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Monday 06 May 2024 22:45:41 +0000 (0:00:00.010) 0:00:17.356 ************ included: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for sut TASK [linux-system-roles.storage : Make sure blivet is available] ************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Monday 06 May 2024 22:45:41 +0000 (0:00:00.025) 0:00:17.381 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Show storage_pools] ************************* task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:11 Monday 06 May 2024 22:45:41 +0000 (0:00:00.028) 0:00:17.410 ************ ok: [sut] => { "storage_pools": [ { "disks": [ "/non/existent/disk" ], "name": "foo", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } TASK [linux-system-roles.storage : Show storage_volumes] *********************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:16 Monday 06 May 2024 22:45:41 +0000 (0:00:00.017) 0:00:17.427 ************ ok: [sut] => { "storage_volumes": [] } TASK [linux-system-roles.storage : Get required packages] ********************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:21 Monday 06 May 2024 22:45:41 +0000 (0:00:00.015) 0:00:17.443 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Enable copr repositories if needed] ********* task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:34 Monday 06 May 2024 22:45:41 +0000 (0:00:00.012) 0:00:17.455 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Make sure required packages are installed] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:41 Monday 06 May 2024 22:45:41 +0000 (0:00:00.012) 0:00:17.467 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Get service facts] ************************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:57 Monday 06 May 2024 22:45:41 +0000 (0:00:00.012) 0:00:17.479 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:64 Monday 06 May 2024 22:45:41 +0000 (0:00:00.013) 0:00:17.492 ************ ok: [sut] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:78 Monday 06 May 2024 22:45:41 +0000 (0:00:00.019) 0:00:17.511 ************ TASK [linux-system-roles.storage : Manage the pools and volumes to match the specified state] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:84 Monday 06 May 2024 22:45:41 +0000 (0:00:00.010) 0:00:17.522 ************ fatal: [sut]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: unable to resolve any disks specified for pool 'foo' (['/non/existent/disk']) TASK [linux-system-roles.storage : Failed message] ***************************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:106 Monday 06 May 2024 22:45:45 +0000 (0:00:04.384) 0:00:21.906 ************ fatal: [sut]: FAILED! => { "changed": false } MSG: {'crypts': [], 'mounts': [], 'leaves': [], 'changed': False, 'actions': [], 'failed': True, 'volumes': [], 'invocation': {'module_args': {'packages_only': False, 'disklabel_type': None, 'diskvolume_mkfs_option_map': {'ext4': '-F', 'ext3': '-F', 'ext2': '-F'}, 'safe_mode': True, 'pools': [{'name': 'foo', 'encryption_password': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_key_size': None, 'disks': ['/non/existent/disk'], 'encryption_key': None, 'encryption_luks_version': None, 'raid_device_count': None, 'state': 'present', 'volumes': [{'fs_type': None, 'mount_options': None, 'size': '5g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, 'encryption': None, 'raid_level': None, 'state': 'present', 'vdo_pool_size': None, 'mount_mode': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'deduplication': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': None, 'encryption_luks_version': None, 'raid_stripe_size': None, 'mount_user': None, 'name': 'test1', 'cache_mode': None, 'raid_disks': [], 'mount_group': None, 'type': None, 'cached': None, 'thin': False, 'cache_size': None, 'cache_devices': [], 'fs_create_options': None}], 'encryption_cipher': None, 'shared': False, 'raid_level': None, 'type': 'lvm', 'grow_to_fill': False, 'raid_spare_count': None, 'raid_chunk_size': None}], 'volumes': [], 'pool_defaults': {'encryption_password': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_cipher': None, 'disks': [], 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_device_count': None, 'state': 'present', 'volumes': [], 'shared': False, 'raid_level': None, 'type': 'lvm', 'grow_to_fill': False, 'raid_spare_count': None, 'raid_chunk_size': None}, 'volume_defaults': {'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'size': 0, 'mount_point': '', 'compression': None, 'encryption_password': None, 'encryption': False, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'fs_overwrite_existing': True, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'raid_stripe_size': None, 'cache_size': 0, 'raid_spare_count': None, 'cache_mode': None, 'cache_devices': [], 'deduplication': None, 'cached': False, 'type': 'lvm', 'disks': [], 'thin': None, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'thin_pool_size': None, 'fs_create_options': ''}, 'use_partitions': None}}, 'pools': [], 'packages': [], 'msg': "unable to resolve any disks specified for pool 'foo' (['/non/existent/disk'])", '_ansible_no_log': False} TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:110 Monday 06 May 2024 22:45:45 +0000 (0:00:00.015) 0:00:21.922 ************ TASK [Check that we failed in the role] **************************************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/verify-role-failed.yml:29 Monday 06 May 2024 22:45:45 +0000 (0:00:00.011) 0:00:21.933 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the blivet output and error message are correct] ****************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/verify-role-failed.yml:34 Monday 06 May 2024 22:45:45 +0000 (0:00:00.014) 0:00:21.947 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify correct exception or error message] ******************************* task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/verify-role-failed.yml:45 Monday 06 May 2024 22:45:45 +0000 (0:00:00.018) 0:00:21.965 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Test for correct handling of invalid size specification.] **************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/tests_lvm_errors.yml:51 Monday 06 May 2024 22:45:45 +0000 (0:00:00.012) 0:00:21.977 ************ included: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/verify-role-failed.yml for sut TASK [Store global variable value copy] **************************************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/verify-role-failed.yml:4 Monday 06 May 2024 22:45:45 +0000 (0:00:00.018) 0:00:21.996 ************ ok: [sut] => { "ansible_facts": { "storage_pools_global": [], "storage_safe_mode_global": true, "storage_volumes_global": [] }, "changed": false } TASK [Verify role raises correct error] **************************************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/verify-role-failed.yml:10 Monday 06 May 2024 22:45:45 +0000 (0:00:00.015) 0:00:22.012 ************ TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Monday 06 May 2024 22:45:45 +0000 (0:00:00.017) 0:00:22.029 ************ included: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for sut TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Monday 06 May 2024 22:45:45 +0000 (0:00:00.016) 0:00:22.046 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Monday 06 May 2024 22:45:45 +0000 (0:00:00.013) 0:00:22.059 ************ skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Check if system is ostree] ****************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:26 Monday 06 May 2024 22:45:46 +0000 (0:00:00.030) 0:00:22.090 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:31 Monday 06 May 2024 22:45:46 +0000 (0:00:00.012) 0:00:22.102 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Define an empty list of pools to be used in testing] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Monday 06 May 2024 22:45:46 +0000 (0:00:00.010) 0:00:22.113 ************ ok: [sut] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : Define an empty list of volumes to be used in testing] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Monday 06 May 2024 22:45:46 +0000 (0:00:00.010) 0:00:22.124 ************ ok: [sut] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : Include the appropriate provider tasks] ***** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Monday 06 May 2024 22:45:46 +0000 (0:00:00.010) 0:00:22.134 ************ included: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for sut TASK [linux-system-roles.storage : Make sure blivet is available] ************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Monday 06 May 2024 22:45:46 +0000 (0:00:00.025) 0:00:22.160 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Show storage_pools] ************************* task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:11 Monday 06 May 2024 22:45:46 +0000 (0:00:00.012) 0:00:22.172 ************ ok: [sut] => { "storage_pools": [ { "disks": [ "sdh" ], "name": "foo", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "xyz GiB" } ] } ] } TASK [linux-system-roles.storage : Show storage_volumes] *********************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:16 Monday 06 May 2024 22:45:46 +0000 (0:00:00.015) 0:00:22.188 ************ ok: [sut] => { "storage_volumes": [] } TASK [linux-system-roles.storage : Get required packages] ********************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:21 Monday 06 May 2024 22:45:46 +0000 (0:00:00.015) 0:00:22.203 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Enable copr repositories if needed] ********* task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:34 Monday 06 May 2024 22:45:46 +0000 (0:00:00.011) 0:00:22.215 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Make sure required packages are installed] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:41 Monday 06 May 2024 22:45:46 +0000 (0:00:00.012) 0:00:22.228 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Get service facts] ************************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:57 Monday 06 May 2024 22:45:46 +0000 (0:00:00.011) 0:00:22.240 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:64 Monday 06 May 2024 22:45:46 +0000 (0:00:00.012) 0:00:22.252 ************ ok: [sut] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:78 Monday 06 May 2024 22:45:46 +0000 (0:00:00.018) 0:00:22.271 ************ TASK [linux-system-roles.storage : Manage the pools and volumes to match the specified state] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:84 Monday 06 May 2024 22:45:46 +0000 (0:00:00.009) 0:00:22.281 ************ fatal: [sut]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: invalid size specification 'xyz GiB' in pool 'foo' TASK [linux-system-roles.storage : Failed message] ***************************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:106 Monday 06 May 2024 22:45:50 +0000 (0:00:04.139) 0:00:26.420 ************ fatal: [sut]: FAILED! => { "changed": false } MSG: {'crypts': [], 'mounts': [], 'leaves': [], 'changed': False, 'actions': [], 'failed': True, 'volumes': [], 'invocation': {'module_args': {'packages_only': False, 'disklabel_type': None, 'diskvolume_mkfs_option_map': {'ext4': '-F', 'ext3': '-F', 'ext2': '-F'}, 'safe_mode': True, 'pools': [{'name': 'foo', 'encryption_password': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_key_size': None, 'disks': ['sdh'], 'encryption_key': None, 'encryption_luks_version': None, 'raid_device_count': None, 'state': 'present', 'volumes': [{'fs_type': None, 'mount_options': None, 'size': 'xyz GiB', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, 'encryption': None, 'raid_level': None, 'state': 'present', 'vdo_pool_size': None, 'mount_mode': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'deduplication': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': None, 'encryption_luks_version': None, 'raid_stripe_size': None, 'mount_user': None, 'name': 'test1', 'cache_mode': None, 'raid_disks': [], 'mount_group': None, 'type': None, 'cached': None, 'thin': False, 'cache_size': None, 'cache_devices': [], 'fs_create_options': None}], 'encryption_cipher': None, 'shared': False, 'raid_level': None, 'type': 'lvm', 'grow_to_fill': False, 'raid_spare_count': None, 'raid_chunk_size': None}], 'volumes': [], 'pool_defaults': {'encryption_password': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_cipher': None, 'disks': [], 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_device_count': None, 'state': 'present', 'volumes': [], 'shared': False, 'raid_level': None, 'type': 'lvm', 'grow_to_fill': False, 'raid_spare_count': None, 'raid_chunk_size': None}, 'volume_defaults': {'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'size': 0, 'mount_point': '', 'compression': None, 'encryption_password': None, 'encryption': False, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'fs_overwrite_existing': True, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'raid_stripe_size': None, 'cache_size': 0, 'raid_spare_count': None, 'cache_mode': None, 'cache_devices': [], 'deduplication': None, 'cached': False, 'type': 'lvm', 'disks': [], 'thin': None, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'thin_pool_size': None, 'fs_create_options': ''}, 'use_partitions': None}}, 'pools': [], 'packages': [], 'msg': "invalid size specification 'xyz GiB' in pool 'foo'", '_ansible_no_log': False} TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:110 Monday 06 May 2024 22:45:50 +0000 (0:00:00.015) 0:00:26.435 ************ TASK [Check that we failed in the role] **************************************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/verify-role-failed.yml:29 Monday 06 May 2024 22:45:50 +0000 (0:00:00.011) 0:00:26.446 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the blivet output and error message are correct] ****************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/verify-role-failed.yml:34 Monday 06 May 2024 22:45:50 +0000 (0:00:00.013) 0:00:26.460 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify correct exception or error message] ******************************* task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/verify-role-failed.yml:45 Monday 06 May 2024 22:45:50 +0000 (0:00:00.017) 0:00:26.477 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Test for correct handling of missing disk specification.] **************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/tests_lvm_errors.yml:65 Monday 06 May 2024 22:45:50 +0000 (0:00:00.013) 0:00:26.491 ************ included: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/verify-role-failed.yml for sut TASK [Store global variable value copy] **************************************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/verify-role-failed.yml:4 Monday 06 May 2024 22:45:50 +0000 (0:00:00.039) 0:00:26.530 ************ ok: [sut] => { "ansible_facts": { "storage_pools_global": [], "storage_safe_mode_global": true, "storage_volumes_global": [] }, "changed": false } TASK [Verify role raises correct error] **************************************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/verify-role-failed.yml:10 Monday 06 May 2024 22:45:50 +0000 (0:00:00.016) 0:00:26.547 ************ TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Monday 06 May 2024 22:45:50 +0000 (0:00:00.017) 0:00:26.564 ************ included: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for sut TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Monday 06 May 2024 22:45:50 +0000 (0:00:00.018) 0:00:26.582 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Monday 06 May 2024 22:45:50 +0000 (0:00:00.014) 0:00:26.597 ************ skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Check if system is ostree] ****************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:26 Monday 06 May 2024 22:45:50 +0000 (0:00:00.029) 0:00:26.626 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:31 Monday 06 May 2024 22:45:50 +0000 (0:00:00.012) 0:00:26.638 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Define an empty list of pools to be used in testing] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Monday 06 May 2024 22:45:50 +0000 (0:00:00.012) 0:00:26.651 ************ ok: [sut] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : Define an empty list of volumes to be used in testing] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Monday 06 May 2024 22:45:50 +0000 (0:00:00.012) 0:00:26.663 ************ ok: [sut] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : Include the appropriate provider tasks] ***** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Monday 06 May 2024 22:45:50 +0000 (0:00:00.010) 0:00:26.674 ************ included: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for sut TASK [linux-system-roles.storage : Make sure blivet is available] ************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Monday 06 May 2024 22:45:50 +0000 (0:00:00.025) 0:00:26.699 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Show storage_pools] ************************* task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:11 Monday 06 May 2024 22:45:50 +0000 (0:00:00.012) 0:00:26.712 ************ ok: [sut] => { "storage_pools": [ { "disks": [], "name": "foo", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } TASK [linux-system-roles.storage : Show storage_volumes] *********************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:16 Monday 06 May 2024 22:45:50 +0000 (0:00:00.015) 0:00:26.727 ************ ok: [sut] => { "storage_volumes": [] } TASK [linux-system-roles.storage : Get required packages] ********************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:21 Monday 06 May 2024 22:45:50 +0000 (0:00:00.014) 0:00:26.742 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Enable copr repositories if needed] ********* task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:34 Monday 06 May 2024 22:45:50 +0000 (0:00:00.012) 0:00:26.755 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Make sure required packages are installed] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:41 Monday 06 May 2024 22:45:50 +0000 (0:00:00.012) 0:00:26.767 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Get service facts] ************************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:57 Monday 06 May 2024 22:45:50 +0000 (0:00:00.012) 0:00:26.779 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:64 Monday 06 May 2024 22:45:50 +0000 (0:00:00.013) 0:00:26.793 ************ ok: [sut] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:78 Monday 06 May 2024 22:45:50 +0000 (0:00:00.018) 0:00:26.811 ************ TASK [linux-system-roles.storage : Manage the pools and volumes to match the specified state] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:84 Monday 06 May 2024 22:45:50 +0000 (0:00:00.010) 0:00:26.822 ************ fatal: [sut]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: no disks specified for pool 'foo' TASK [linux-system-roles.storage : Failed message] ***************************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:106 Monday 06 May 2024 22:45:55 +0000 (0:00:04.538) 0:00:31.360 ************ fatal: [sut]: FAILED! => { "changed": false } MSG: {'crypts': [], 'mounts': [], 'leaves': [], 'changed': False, 'actions': [], 'failed': True, 'volumes': [], 'invocation': {'module_args': {'packages_only': False, 'disklabel_type': None, 'diskvolume_mkfs_option_map': {'ext4': '-F', 'ext3': '-F', 'ext2': '-F'}, 'safe_mode': True, 'pools': [{'name': 'foo', 'encryption_password': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_key_size': None, 'disks': [], 'encryption_key': None, 'encryption_luks_version': None, 'raid_device_count': None, 'state': 'present', 'volumes': [{'fs_type': None, 'mount_options': None, 'size': '5g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, 'encryption': None, 'raid_level': None, 'state': 'present', 'vdo_pool_size': None, 'mount_mode': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'deduplication': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': None, 'encryption_luks_version': None, 'raid_stripe_size': None, 'mount_user': None, 'name': 'test1', 'cache_mode': None, 'raid_disks': [], 'mount_group': None, 'type': None, 'cached': None, 'thin': False, 'cache_size': None, 'cache_devices': [], 'fs_create_options': None}], 'encryption_cipher': None, 'shared': False, 'raid_level': None, 'type': 'lvm', 'grow_to_fill': False, 'raid_spare_count': None, 'raid_chunk_size': None}], 'volumes': [], 'pool_defaults': {'encryption_password': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_cipher': None, 'disks': [], 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_device_count': None, 'state': 'present', 'volumes': [], 'shared': False, 'raid_level': None, 'type': 'lvm', 'grow_to_fill': False, 'raid_spare_count': None, 'raid_chunk_size': None}, 'volume_defaults': {'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'size': 0, 'mount_point': '', 'compression': None, 'encryption_password': None, 'encryption': False, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'fs_overwrite_existing': True, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'raid_stripe_size': None, 'cache_size': 0, 'raid_spare_count': None, 'cache_mode': None, 'cache_devices': [], 'deduplication': None, 'cached': False, 'type': 'lvm', 'disks': [], 'thin': None, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'thin_pool_size': None, 'fs_create_options': ''}, 'use_partitions': None}}, 'pools': [], 'packages': [], 'msg': "no disks specified for pool 'foo'", '_ansible_no_log': False} TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:110 Monday 06 May 2024 22:45:55 +0000 (0:00:00.016) 0:00:31.377 ************ TASK [Check that we failed in the role] **************************************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/verify-role-failed.yml:29 Monday 06 May 2024 22:45:55 +0000 (0:00:00.011) 0:00:31.388 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the blivet output and error message are correct] ****************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/verify-role-failed.yml:34 Monday 06 May 2024 22:45:55 +0000 (0:00:00.013) 0:00:31.401 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify correct exception or error message] ******************************* task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/verify-role-failed.yml:45 Monday 06 May 2024 22:45:55 +0000 (0:00:00.017) 0:00:31.419 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Test for correct handling of LVM volume not defined within a pool.] ****** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/tests_lvm_errors.yml:79 Monday 06 May 2024 22:45:55 +0000 (0:00:00.011) 0:00:31.431 ************ included: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/verify-role-failed.yml for sut TASK [Store global variable value copy] **************************************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/verify-role-failed.yml:4 Monday 06 May 2024 22:45:55 +0000 (0:00:00.021) 0:00:31.452 ************ ok: [sut] => { "ansible_facts": { "storage_pools_global": [], "storage_safe_mode_global": true, "storage_volumes_global": [] }, "changed": false } TASK [Verify role raises correct error] **************************************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/verify-role-failed.yml:10 Monday 06 May 2024 22:45:55 +0000 (0:00:00.015) 0:00:31.468 ************ TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Monday 06 May 2024 22:45:55 +0000 (0:00:00.016) 0:00:31.484 ************ included: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for sut TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Monday 06 May 2024 22:45:55 +0000 (0:00:00.017) 0:00:31.501 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Monday 06 May 2024 22:45:55 +0000 (0:00:00.033) 0:00:31.535 ************ skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Check if system is ostree] ****************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:26 Monday 06 May 2024 22:45:55 +0000 (0:00:00.030) 0:00:31.565 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:31 Monday 06 May 2024 22:45:55 +0000 (0:00:00.012) 0:00:31.578 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Define an empty list of pools to be used in testing] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Monday 06 May 2024 22:45:55 +0000 (0:00:00.012) 0:00:31.590 ************ ok: [sut] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : Define an empty list of volumes to be used in testing] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Monday 06 May 2024 22:45:55 +0000 (0:00:00.012) 0:00:31.603 ************ ok: [sut] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : Include the appropriate provider tasks] ***** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Monday 06 May 2024 22:45:55 +0000 (0:00:00.011) 0:00:31.614 ************ included: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for sut TASK [linux-system-roles.storage : Make sure blivet is available] ************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Monday 06 May 2024 22:45:55 +0000 (0:00:00.025) 0:00:31.640 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Show storage_pools] ************************* task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:11 Monday 06 May 2024 22:45:55 +0000 (0:00:00.012) 0:00:31.652 ************ ok: [sut] => { "storage_pools": [] } TASK [linux-system-roles.storage : Show storage_volumes] *********************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:16 Monday 06 May 2024 22:45:55 +0000 (0:00:00.014) 0:00:31.667 ************ ok: [sut] => { "storage_volumes": [ { "disks": [], "mount_point": "/opt/test1", "name": "test1", "size": "5g", "type": "lvm" } ] } TASK [linux-system-roles.storage : Get required packages] ********************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:21 Monday 06 May 2024 22:45:55 +0000 (0:00:00.015) 0:00:31.682 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Enable copr repositories if needed] ********* task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:34 Monday 06 May 2024 22:45:55 +0000 (0:00:00.012) 0:00:31.694 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Make sure required packages are installed] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:41 Monday 06 May 2024 22:45:55 +0000 (0:00:00.011) 0:00:31.706 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Get service facts] ************************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:57 Monday 06 May 2024 22:45:55 +0000 (0:00:00.012) 0:00:31.718 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:64 Monday 06 May 2024 22:45:55 +0000 (0:00:00.011) 0:00:31.730 ************ ok: [sut] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:78 Monday 06 May 2024 22:45:55 +0000 (0:00:00.019) 0:00:31.749 ************ TASK [linux-system-roles.storage : Manage the pools and volumes to match the specified state] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:84 Monday 06 May 2024 22:45:55 +0000 (0:00:00.018) 0:00:31.767 ************ fatal: [sut]: FAILED! => { "changed": false, "rc": 1 } MSG: MODULE FAILURE See stdout/stderr for the exact error MODULE_STDERR: ** (process:13008): WARNING **: 22:45:55.900: failed to load module btrfs: libbd_btrfs.so.2: cannot open shared object file: No such file or directory ** (process:13008): WARNING **: 22:45:55.900: failed to load module loop: libbd_loop.so.2: cannot open shared object file: No such file or directory ** (process:13008): WARNING **: 22:45:55.902: failed to load module mpath: libbd_mpath.so.2: cannot open shared object file: No such file or directory ** (process:13008): WARNING **: 22:45:55.903: failed to load module nvdimm: libbd_nvdimm.so.2: cannot open shared object file: No such file or directory Traceback (most recent call last): File "", line 102, in File "", line 94, in _ansiballz_main File "", line 40, in invoke_module File "/usr/lib64/python2.7/runpy.py", line 176, in run_module fname, loader, pkg_name) File "/usr/lib64/python2.7/runpy.py", line 82, in _run_module_code mod_name, mod_fname, mod_loader, pkg_name) File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "/tmp/ansible_blivet_payload_jf1l57/ansible_blivet_payload.zip/ansible/modules/blivet.py", line 2323, in File "/tmp/ansible_blivet_payload_jf1l57/ansible_blivet_payload.zip/ansible/modules/blivet.py", line 2319, in main File "/tmp/ansible_blivet_payload_jf1l57/ansible_blivet_payload.zip/ansible/modules/blivet.py", line 2280, in run_module File "/tmp/ansible_blivet_payload_jf1l57/ansible_blivet_payload.zip/ansible/modules/blivet.py", line 1854, in manage_volume File "/tmp/ansible_blivet_payload_jf1l57/ansible_blivet_payload.zip/ansible/modules/blivet.py", line 853, in manage File "/tmp/ansible_blivet_payload_jf1l57/ansible_blivet_payload.zip/ansible/modules/blivet.py", line 620, in _look_up_device File "/tmp/ansible_blivet_payload_jf1l57/ansible_blivet_payload.zip/ansible/modules/blivet.py", line 980, in _get_device_id AttributeError: 'NoneType' object has no attribute '_device' TASK [linux-system-roles.storage : Failed message] ***************************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:106 Monday 06 May 2024 22:45:59 +0000 (0:00:03.995) 0:00:35.763 ************ fatal: [sut]: FAILED! => { "changed": false } MSG: {'failed': True, 'module_stdout': '', 'module_stderr': '\n** (process:13008): WARNING **: 22:45:55.900: failed to load module btrfs: libbd_btrfs.so.2: cannot open shared object file: No such file or directory\n\n** (process:13008): WARNING **: 22:45:55.900: failed to load module loop: libbd_loop.so.2: cannot open shared object file: No such file or directory\n\n** (process:13008): WARNING **: 22:45:55.902: failed to load module mpath: libbd_mpath.so.2: cannot open shared object file: No such file or directory\n\n** (process:13008): WARNING **: 22:45:55.903: failed to load module nvdimm: libbd_nvdimm.so.2: cannot open shared object file: No such file or directory\nTraceback (most recent call last):\n File "", line 102, in \n File "", line 94, in _ansiballz_main\n File "", line 40, in invoke_module\n File "/usr/lib64/python2.7/runpy.py", line 176, in run_module\n fname, loader, pkg_name)\n File "/usr/lib64/python2.7/runpy.py", line 82, in _run_module_code\n mod_name, mod_fname, mod_loader, pkg_name)\n File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code\n exec code in run_globals\n File "/tmp/ansible_blivet_payload_jf1l57/ansible_blivet_payload.zip/ansible/modules/blivet.py", line 2323, in \n File "/tmp/ansible_blivet_payload_jf1l57/ansible_blivet_payload.zip/ansible/modules/blivet.py", line 2319, in main\n File "/tmp/ansible_blivet_payload_jf1l57/ansible_blivet_payload.zip/ansible/modules/blivet.py", line 2280, in run_module\n File "/tmp/ansible_blivet_payload_jf1l57/ansible_blivet_payload.zip/ansible/modules/blivet.py", line 1854, in manage_volume\n File "/tmp/ansible_blivet_payload_jf1l57/ansible_blivet_payload.zip/ansible/modules/blivet.py", line 853, in manage\n File "/tmp/ansible_blivet_payload_jf1l57/ansible_blivet_payload.zip/ansible/modules/blivet.py", line 620, in _look_up_device\n File "/tmp/ansible_blivet_payload_jf1l57/ansible_blivet_payload.zip/ansible/modules/blivet.py", line 980, in _get_device_id\nAttributeError: \'NoneType\' object has no attribute \'_device\'\n', 'msg': 'MODULE FAILURE\nSee stdout/stderr for the exact error', 'rc': 1, '_ansible_no_log': False, 'changed': False} TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:110 Monday 06 May 2024 22:45:59 +0000 (0:00:00.013) 0:00:35.777 ************ TASK [Check that we failed in the role] **************************************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/verify-role-failed.yml:29 Monday 06 May 2024 22:45:59 +0000 (0:00:00.011) 0:00:35.788 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the blivet output and error message are correct] ****************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/verify-role-failed.yml:34 Monday 06 May 2024 22:45:59 +0000 (0:00:00.014) 0:00:35.802 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify correct exception or error message] ******************************* task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/verify-role-failed.yml:45 Monday 06 May 2024 22:45:59 +0000 (0:00:00.011) 0:00:35.814 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test for correct handling of duplicate pool names] *********************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/tests_lvm_errors.yml:92 Monday 06 May 2024 22:45:59 +0000 (0:00:00.018) 0:00:35.833 ************ included: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/verify-role-failed.yml for sut TASK [Store global variable value copy] **************************************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/verify-role-failed.yml:4 Monday 06 May 2024 22:45:59 +0000 (0:00:00.020) 0:00:35.854 ************ ok: [sut] => { "ansible_facts": { "storage_pools_global": [], "storage_safe_mode_global": true, "storage_volumes_global": [] }, "changed": false } TASK [Verify role raises correct error] **************************************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/verify-role-failed.yml:10 Monday 06 May 2024 22:45:59 +0000 (0:00:00.014) 0:00:35.869 ************ TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Monday 06 May 2024 22:45:59 +0000 (0:00:00.015) 0:00:35.884 ************ included: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for sut TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Monday 06 May 2024 22:45:59 +0000 (0:00:00.016) 0:00:35.901 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Monday 06 May 2024 22:45:59 +0000 (0:00:00.014) 0:00:35.915 ************ skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Check if system is ostree] ****************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:26 Monday 06 May 2024 22:45:59 +0000 (0:00:00.029) 0:00:35.945 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:31 Monday 06 May 2024 22:45:59 +0000 (0:00:00.012) 0:00:35.957 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Define an empty list of pools to be used in testing] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Monday 06 May 2024 22:45:59 +0000 (0:00:00.011) 0:00:35.969 ************ ok: [sut] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : Define an empty list of volumes to be used in testing] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Monday 06 May 2024 22:45:59 +0000 (0:00:00.010) 0:00:35.980 ************ ok: [sut] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : Include the appropriate provider tasks] ***** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Monday 06 May 2024 22:45:59 +0000 (0:00:00.011) 0:00:35.991 ************ included: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for sut TASK [linux-system-roles.storage : Make sure blivet is available] ************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Monday 06 May 2024 22:45:59 +0000 (0:00:00.024) 0:00:36.016 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Show storage_pools] ************************* task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:11 Monday 06 May 2024 22:45:59 +0000 (0:00:00.029) 0:00:36.046 ************ ok: [sut] => { "storage_pools": [ { "disks": [ "sdh" ], "name": "pool1", "type": "lvm" }, { "disks": [ "sdh" ], "name": "pool1", "type": "lvm" } ] } TASK [linux-system-roles.storage : Show storage_volumes] *********************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:16 Monday 06 May 2024 22:45:59 +0000 (0:00:00.016) 0:00:36.062 ************ ok: [sut] => { "storage_volumes": [] } TASK [linux-system-roles.storage : Get required packages] ********************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:21 Monday 06 May 2024 22:45:59 +0000 (0:00:00.014) 0:00:36.076 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Enable copr repositories if needed] ********* task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:34 Monday 06 May 2024 22:46:00 +0000 (0:00:00.012) 0:00:36.088 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Make sure required packages are installed] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:41 Monday 06 May 2024 22:46:00 +0000 (0:00:00.012) 0:00:36.101 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Get service facts] ************************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:57 Monday 06 May 2024 22:46:00 +0000 (0:00:00.012) 0:00:36.113 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:64 Monday 06 May 2024 22:46:00 +0000 (0:00:00.013) 0:00:36.126 ************ ok: [sut] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:78 Monday 06 May 2024 22:46:00 +0000 (0:00:00.018) 0:00:36.145 ************ TASK [linux-system-roles.storage : Manage the pools and volumes to match the specified state] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:84 Monday 06 May 2024 22:46:00 +0000 (0:00:00.010) 0:00:36.156 ************ fatal: [sut]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: multiple pools with the same name: pool1 TASK [linux-system-roles.storage : Failed message] ***************************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:106 Monday 06 May 2024 22:46:04 +0000 (0:00:03.997) 0:00:40.153 ************ fatal: [sut]: FAILED! => { "changed": false } MSG: {'crypts': [], 'mounts': [], 'leaves': [], 'changed': False, 'actions': [], 'failed': True, 'volumes': [], 'invocation': {'module_args': {'packages_only': False, 'disklabel_type': None, 'diskvolume_mkfs_option_map': {'ext4': '-F', 'ext3': '-F', 'ext2': '-F'}, 'safe_mode': True, 'pools': [{'name': 'pool1', 'encryption_password': None, 'raid_metadata_version': None, 'encryption': None, 'encryption_key_size': None, 'disks': ['sdh'], 'encryption_key': None, 'encryption_luks_version': None, 'raid_device_count': None, 'state': 'present', 'volumes': [], 'encryption_cipher': None, 'shared': None, 'raid_level': None, 'type': 'lvm', 'grow_to_fill': None, 'raid_spare_count': None, 'raid_chunk_size': None}, {'name': 'pool1', 'encryption_password': None, 'raid_metadata_version': None, 'encryption': None, 'encryption_key_size': None, 'disks': ['sdh'], 'encryption_key': None, 'encryption_luks_version': None, 'raid_device_count': None, 'state': 'present', 'volumes': [], 'encryption_cipher': None, 'shared': None, 'raid_level': None, 'type': 'lvm', 'grow_to_fill': None, 'raid_spare_count': None, 'raid_chunk_size': None}], 'volumes': [], 'pool_defaults': {'encryption_password': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_cipher': None, 'disks': [], 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_device_count': None, 'state': 'present', 'volumes': [], 'shared': False, 'raid_level': None, 'type': 'lvm', 'grow_to_fill': False, 'raid_spare_count': None, 'raid_chunk_size': None}, 'volume_defaults': {'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'size': 0, 'mount_point': '', 'compression': None, 'encryption_password': None, 'encryption': False, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'fs_overwrite_existing': True, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'raid_stripe_size': None, 'cache_size': 0, 'raid_spare_count': None, 'cache_mode': None, 'cache_devices': [], 'deduplication': None, 'cached': False, 'type': 'lvm', 'disks': [], 'thin': None, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'thin_pool_size': None, 'fs_create_options': ''}, 'use_partitions': None}}, 'pools': [], 'packages': [], 'msg': 'multiple pools with the same name: pool1', '_ansible_no_log': False} TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:110 Monday 06 May 2024 22:46:04 +0000 (0:00:00.016) 0:00:40.169 ************ TASK [Check that we failed in the role] **************************************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/verify-role-failed.yml:29 Monday 06 May 2024 22:46:04 +0000 (0:00:00.011) 0:00:40.180 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the blivet output and error message are correct] ****************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/verify-role-failed.yml:34 Monday 06 May 2024 22:46:04 +0000 (0:00:00.013) 0:00:40.194 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify correct exception or error message] ******************************* task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/verify-role-failed.yml:45 Monday 06 May 2024 22:46:04 +0000 (0:00:00.018) 0:00:40.213 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Test for correct handling of duplicate volume names within a pool] ******* task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/tests_lvm_errors.yml:107 Monday 06 May 2024 22:46:04 +0000 (0:00:00.011) 0:00:40.224 ************ included: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/verify-role-failed.yml for sut TASK [Store global variable value copy] **************************************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/verify-role-failed.yml:4 Monday 06 May 2024 22:46:04 +0000 (0:00:00.023) 0:00:40.248 ************ ok: [sut] => { "ansible_facts": { "storage_pools_global": [], "storage_safe_mode_global": true, "storage_volumes_global": [] }, "changed": false } TASK [Verify role raises correct error] **************************************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/verify-role-failed.yml:10 Monday 06 May 2024 22:46:04 +0000 (0:00:00.015) 0:00:40.264 ************ TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Monday 06 May 2024 22:46:04 +0000 (0:00:00.018) 0:00:40.282 ************ included: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for sut TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Monday 06 May 2024 22:46:04 +0000 (0:00:00.018) 0:00:40.301 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Monday 06 May 2024 22:46:04 +0000 (0:00:00.015) 0:00:40.316 ************ skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Check if system is ostree] ****************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:26 Monday 06 May 2024 22:46:04 +0000 (0:00:00.031) 0:00:40.347 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:31 Monday 06 May 2024 22:46:04 +0000 (0:00:00.013) 0:00:40.361 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Define an empty list of pools to be used in testing] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Monday 06 May 2024 22:46:04 +0000 (0:00:00.012) 0:00:40.373 ************ ok: [sut] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : Define an empty list of volumes to be used in testing] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Monday 06 May 2024 22:46:04 +0000 (0:00:00.011) 0:00:40.384 ************ ok: [sut] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : Include the appropriate provider tasks] ***** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Monday 06 May 2024 22:46:04 +0000 (0:00:00.011) 0:00:40.395 ************ included: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for sut TASK [linux-system-roles.storage : Make sure blivet is available] ************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Monday 06 May 2024 22:46:04 +0000 (0:00:00.025) 0:00:40.421 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Show storage_pools] ************************* task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:11 Monday 06 May 2024 22:46:04 +0000 (0:00:00.012) 0:00:40.433 ************ ok: [sut] => { "storage_pools": [ { "disks": [ "sdh" ], "name": "pool1", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "5g", "type": "lvm" }, { "mount_point": "/opt/test2", "name": "test1", "size": "2g", "type": "lvm" } ] } ] } TASK [linux-system-roles.storage : Show storage_volumes] *********************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:16 Monday 06 May 2024 22:46:04 +0000 (0:00:00.016) 0:00:40.450 ************ ok: [sut] => { "storage_volumes": [] } TASK [linux-system-roles.storage : Get required packages] ********************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:21 Monday 06 May 2024 22:46:04 +0000 (0:00:00.015) 0:00:40.465 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Enable copr repositories if needed] ********* task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:34 Monday 06 May 2024 22:46:04 +0000 (0:00:00.011) 0:00:40.477 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Make sure required packages are installed] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:41 Monday 06 May 2024 22:46:04 +0000 (0:00:00.013) 0:00:40.491 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Get service facts] ************************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:57 Monday 06 May 2024 22:46:04 +0000 (0:00:00.012) 0:00:40.503 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:64 Monday 06 May 2024 22:46:04 +0000 (0:00:00.012) 0:00:40.516 ************ ok: [sut] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:78 Monday 06 May 2024 22:46:04 +0000 (0:00:00.018) 0:00:40.535 ************ TASK [linux-system-roles.storage : Manage the pools and volumes to match the specified state] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:84 Monday 06 May 2024 22:46:04 +0000 (0:00:00.010) 0:00:40.545 ************ fatal: [sut]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: multiple volumes in pool 'pool1' with the same name: test1 TASK [linux-system-roles.storage : Failed message] ***************************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:106 Monday 06 May 2024 22:46:08 +0000 (0:00:04.071) 0:00:44.617 ************ fatal: [sut]: FAILED! => { "changed": false } MSG: {'crypts': [], 'mounts': [], 'leaves': [], 'changed': False, 'actions': [], 'failed': True, 'volumes': [], 'invocation': {'module_args': {'packages_only': False, 'disklabel_type': None, 'diskvolume_mkfs_option_map': {'ext4': '-F', 'ext3': '-F', 'ext2': '-F'}, 'safe_mode': True, 'pools': [{'name': 'pool1', 'encryption_password': None, 'raid_metadata_version': None, 'encryption': None, 'encryption_key_size': None, 'disks': ['sdh'], 'encryption_key': None, 'encryption_luks_version': None, 'raid_device_count': None, 'state': 'present', 'volumes': [{'fs_type': None, 'mount_options': None, 'size': '5g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, 'encryption': None, 'raid_level': None, 'state': 'present', 'vdo_pool_size': None, 'mount_mode': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'deduplication': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': None, 'encryption_luks_version': None, 'raid_stripe_size': None, 'mount_user': None, 'name': 'test1', 'cache_mode': None, 'raid_disks': [], 'mount_group': None, 'type': 'lvm', 'cached': None, 'thin': False, 'cache_size': None, 'cache_devices': [], 'fs_create_options': None}, {'fs_type': None, 'mount_options': None, 'size': '2g', 'mount_point': '/opt/test2', 'compression': None, 'encryption_password': None, 'encryption': None, 'raid_level': None, 'state': 'present', 'vdo_pool_size': None, 'mount_mode': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'deduplication': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': None, 'encryption_luks_version': None, 'raid_stripe_size': None, 'mount_user': None, 'name': 'test1', 'cache_mode': None, 'raid_disks': [], 'mount_group': None, 'type': 'lvm', 'cached': None, 'thin': False, 'cache_size': None, 'cache_devices': [], 'fs_create_options': None}], 'encryption_cipher': None, 'shared': None, 'raid_level': None, 'type': 'lvm', 'grow_to_fill': None, 'raid_spare_count': None, 'raid_chunk_size': None}], 'volumes': [], 'pool_defaults': {'encryption_password': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_cipher': None, 'disks': [], 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_device_count': None, 'state': 'present', 'volumes': [], 'shared': False, 'raid_level': None, 'type': 'lvm', 'grow_to_fill': False, 'raid_spare_count': None, 'raid_chunk_size': None}, 'volume_defaults': {'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'size': 0, 'mount_point': '', 'compression': None, 'encryption_password': None, 'encryption': False, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'fs_overwrite_existing': True, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'raid_stripe_size': None, 'cache_size': 0, 'raid_spare_count': None, 'cache_mode': None, 'cache_devices': [], 'deduplication': None, 'cached': False, 'type': 'lvm', 'disks': [], 'thin': None, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'thin_pool_size': None, 'fs_create_options': ''}, 'use_partitions': None}}, 'pools': [], 'packages': [], 'msg': "multiple volumes in pool 'pool1' with the same name: test1", '_ansible_no_log': False} TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:110 Monday 06 May 2024 22:46:08 +0000 (0:00:00.040) 0:00:44.657 ************ TASK [Check that we failed in the role] **************************************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/verify-role-failed.yml:29 Monday 06 May 2024 22:46:08 +0000 (0:00:00.012) 0:00:44.670 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the blivet output and error message are correct] ****************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/verify-role-failed.yml:34 Monday 06 May 2024 22:46:08 +0000 (0:00:00.015) 0:00:44.685 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify correct exception or error message] ******************************* task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/verify-role-failed.yml:45 Monday 06 May 2024 22:46:08 +0000 (0:00:00.018) 0:00:44.704 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create a pool] *********************************************************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/tests_lvm_errors.yml:128 Monday 06 May 2024 22:46:08 +0000 (0:00:00.012) 0:00:44.717 ************ TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Monday 06 May 2024 22:46:08 +0000 (0:00:00.031) 0:00:44.748 ************ included: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for sut TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Monday 06 May 2024 22:46:08 +0000 (0:00:00.023) 0:00:44.772 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Monday 06 May 2024 22:46:08 +0000 (0:00:00.019) 0:00:44.791 ************ skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Check if system is ostree] ****************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:26 Monday 06 May 2024 22:46:08 +0000 (0:00:00.033) 0:00:44.825 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:31 Monday 06 May 2024 22:46:08 +0000 (0:00:00.013) 0:00:44.838 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Define an empty list of pools to be used in testing] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Monday 06 May 2024 22:46:08 +0000 (0:00:00.012) 0:00:44.851 ************ ok: [sut] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : Define an empty list of volumes to be used in testing] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Monday 06 May 2024 22:46:08 +0000 (0:00:00.017) 0:00:44.869 ************ ok: [sut] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : Include the appropriate provider tasks] ***** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Monday 06 May 2024 22:46:08 +0000 (0:00:00.011) 0:00:44.880 ************ included: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for sut TASK [linux-system-roles.storage : Make sure blivet is available] ************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Monday 06 May 2024 22:46:08 +0000 (0:00:00.025) 0:00:44.905 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Show storage_pools] ************************* task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:11 Monday 06 May 2024 22:46:08 +0000 (0:00:00.013) 0:00:44.919 ************ ok: [sut] => { "storage_pools": [ { "disks": [ "sdh" ], "name": "testpool1", "type": "lvm", "volumes": [ { "fs_type": "ext4", "name": "testvol1", "size": "1g" } ] } ] } TASK [linux-system-roles.storage : Show storage_volumes] *********************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:16 Monday 06 May 2024 22:46:08 +0000 (0:00:00.014) 0:00:44.934 ************ ok: [sut] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : Get required packages] ********************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:21 Monday 06 May 2024 22:46:08 +0000 (0:00:00.014) 0:00:44.948 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Enable copr repositories if needed] ********* task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:34 Monday 06 May 2024 22:46:08 +0000 (0:00:00.012) 0:00:44.960 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Make sure required packages are installed] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:41 Monday 06 May 2024 22:46:08 +0000 (0:00:00.014) 0:00:44.974 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Get service facts] ************************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:57 Monday 06 May 2024 22:46:08 +0000 (0:00:00.012) 0:00:44.987 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:64 Monday 06 May 2024 22:46:08 +0000 (0:00:00.012) 0:00:44.999 ************ ok: [sut] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:78 Monday 06 May 2024 22:46:08 +0000 (0:00:00.019) 0:00:45.019 ************ TASK [linux-system-roles.storage : Manage the pools and volumes to match the specified state] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:84 Monday 06 May 2024 22:46:08 +0000 (0:00:00.010) 0:00:45.029 ************ changed: [sut] => { "actions": [ { "action": "create format", "device": "/dev/sdh", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/testpool1", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/testpool1-testvol1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/testpool1-testvol1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/sdd", "/dev/sde", "/dev/sdf", "/dev/sdg", "/dev/sdi", "/dev/xvda1", "/dev/mapper/testpool1-testvol1" ], "mounts": [], "packages": [ "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "sdh" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "grow_to_fill": false, "name": "testpool1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "shared": false, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/testpool1-testvol1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/testpool1-testvol1", "_raw_device": "/dev/mapper/testpool1-testvol1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_group": null, "mount_mode": null, "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "mount_user": null, "name": "testvol1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "raid_stripe_size": null, "size": "1g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:98 Monday 06 May 2024 22:46:13 +0000 (0:00:04.617) 0:00:49.646 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:110 Monday 06 May 2024 22:46:13 +0000 (0:00:00.012) 0:00:49.659 ************ TASK [linux-system-roles.storage : Show blivet_output] ************************* task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:116 Monday 06 May 2024 22:46:13 +0000 (0:00:00.010) 0:00:49.670 ************ ok: [sut] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sdh", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/testpool1", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/testpool1-testvol1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/testpool1-testvol1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/sdd", "/dev/sde", "/dev/sdf", "/dev/sdg", "/dev/sdi", "/dev/xvda1", "/dev/mapper/testpool1-testvol1" ], "mounts": [], "packages": [ "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "sdh" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "grow_to_fill": false, "name": "testpool1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "shared": false, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/testpool1-testvol1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/testpool1-testvol1", "_raw_device": "/dev/mapper/testpool1-testvol1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_group": null, "mount_mode": null, "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "mount_user": null, "name": "testvol1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "raid_stripe_size": null, "size": "1g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : Set the list of pools for test verification] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:125 Monday 06 May 2024 22:46:13 +0000 (0:00:00.015) 0:00:49.685 ************ ok: [sut] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sdh" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "grow_to_fill": false, "name": "testpool1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "shared": false, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/testpool1-testvol1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/testpool1-testvol1", "_raw_device": "/dev/mapper/testpool1-testvol1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_group": null, "mount_mode": null, "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "mount_user": null, "name": "testvol1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "raid_stripe_size": null, "size": "1g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : Set the list of volumes for test verification] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:129 Monday 06 May 2024 22:46:13 +0000 (0:00:00.013) 0:00:49.699 ************ ok: [sut] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : Remove obsolete mounts] ********************* task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:145 Monday 06 May 2024 22:46:13 +0000 (0:00:00.013) 0:00:49.712 ************ TASK [linux-system-roles.storage : Tell systemd to refresh its view of /etc/fstab] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:157 Monday 06 May 2024 22:46:13 +0000 (0:00:00.010) 0:00:49.723 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set up new/current mounts] ****************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:162 Monday 06 May 2024 22:46:13 +0000 (0:00:00.012) 0:00:49.735 ************ TASK [linux-system-roles.storage : Manage mount ownership/permissions] ********* task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:174 Monday 06 May 2024 22:46:13 +0000 (0:00:00.010) 0:00:49.746 ************ TASK [linux-system-roles.storage : Tell systemd to refresh its view of /etc/fstab] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:189 Monday 06 May 2024 22:46:13 +0000 (0:00:00.011) 0:00:49.758 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Retrieve facts for the /etc/crypttab file] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:197 Monday 06 May 2024 22:46:13 +0000 (0:00:00.012) 0:00:49.770 ************ ok: [sut] => { "changed": false, "stat": { "atime": 1715034656.6401625, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1714465739.653, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 131079, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1714465489.206, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "1979845102", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : Manage /etc/crypttab to account for changes we just made] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:202 Monday 06 May 2024 22:46:13 +0000 (0:00:00.140) 0:00:49.911 ************ TASK [linux-system-roles.storage : Update facts] ******************************* task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:224 Monday 06 May 2024 22:46:13 +0000 (0:00:00.011) 0:00:49.922 ************ ok: [sut] TASK [Test for correct handling of safe_mode] ********************************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/tests_lvm_errors.yml:141 Monday 06 May 2024 22:46:14 +0000 (0:00:00.553) 0:00:50.476 ************ included: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/verify-role-failed.yml for sut TASK [Store global variable value copy] **************************************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/verify-role-failed.yml:4 Monday 06 May 2024 22:46:14 +0000 (0:00:00.044) 0:00:50.521 ************ ok: [sut] => { "ansible_facts": { "storage_pools_global": [], "storage_safe_mode_global": true, "storage_volumes_global": [] }, "changed": false } TASK [Verify role raises correct error] **************************************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/verify-role-failed.yml:10 Monday 06 May 2024 22:46:14 +0000 (0:00:00.016) 0:00:50.537 ************ TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Monday 06 May 2024 22:46:14 +0000 (0:00:00.015) 0:00:50.553 ************ included: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for sut TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Monday 06 May 2024 22:46:14 +0000 (0:00:00.017) 0:00:50.570 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Monday 06 May 2024 22:46:14 +0000 (0:00:00.014) 0:00:50.584 ************ skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Check if system is ostree] ****************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:26 Monday 06 May 2024 22:46:14 +0000 (0:00:00.029) 0:00:50.614 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:31 Monday 06 May 2024 22:46:14 +0000 (0:00:00.012) 0:00:50.626 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Define an empty list of pools to be used in testing] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Monday 06 May 2024 22:46:14 +0000 (0:00:00.011) 0:00:50.637 ************ ok: [sut] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : Define an empty list of volumes to be used in testing] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Monday 06 May 2024 22:46:14 +0000 (0:00:00.011) 0:00:50.648 ************ ok: [sut] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : Include the appropriate provider tasks] ***** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Monday 06 May 2024 22:46:14 +0000 (0:00:00.012) 0:00:50.661 ************ included: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for sut TASK [linux-system-roles.storage : Make sure blivet is available] ************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Monday 06 May 2024 22:46:14 +0000 (0:00:00.025) 0:00:50.686 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Show storage_pools] ************************* task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:11 Monday 06 May 2024 22:46:14 +0000 (0:00:00.012) 0:00:50.698 ************ ok: [sut] => { "storage_pools": [ { "disks": [ "sdh" ], "name": "testpool1", "type": "lvm", "volumes": [ { "fs_type": "ext3", "name": "testvol1", "size": "1g" } ] } ] } TASK [linux-system-roles.storage : Show storage_volumes] *********************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:16 Monday 06 May 2024 22:46:14 +0000 (0:00:00.015) 0:00:50.714 ************ ok: [sut] => { "storage_volumes": [] } TASK [linux-system-roles.storage : Get required packages] ********************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:21 Monday 06 May 2024 22:46:14 +0000 (0:00:00.014) 0:00:50.728 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Enable copr repositories if needed] ********* task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:34 Monday 06 May 2024 22:46:14 +0000 (0:00:00.012) 0:00:50.740 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Make sure required packages are installed] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:41 Monday 06 May 2024 22:46:14 +0000 (0:00:00.012) 0:00:50.753 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Get service facts] ************************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:57 Monday 06 May 2024 22:46:14 +0000 (0:00:00.012) 0:00:50.765 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:64 Monday 06 May 2024 22:46:14 +0000 (0:00:00.012) 0:00:50.777 ************ ok: [sut] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:78 Monday 06 May 2024 22:46:14 +0000 (0:00:00.020) 0:00:50.797 ************ TASK [linux-system-roles.storage : Manage the pools and volumes to match the specified state] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:84 Monday 06 May 2024 22:46:14 +0000 (0:00:00.011) 0:00:50.809 ************ fatal: [sut]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: cannot remove existing formatting on volume 'testvol1' in safe mode TASK [linux-system-roles.storage : Failed message] ***************************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:106 Monday 06 May 2024 22:46:19 +0000 (0:00:04.539) 0:00:55.348 ************ fatal: [sut]: FAILED! => { "changed": false } MSG: {'crypts': [], 'mounts': [], 'leaves': [], 'changed': False, 'actions': [], 'failed': True, 'volumes': [], 'invocation': {'module_args': {'packages_only': False, 'disklabel_type': None, 'diskvolume_mkfs_option_map': {'ext4': '-F', 'ext3': '-F', 'ext2': '-F'}, 'safe_mode': True, 'pools': [{'name': 'testpool1', 'encryption_password': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_key_size': None, 'disks': ['sdh'], 'encryption_key': None, 'encryption_luks_version': None, 'raid_device_count': None, 'state': 'present', 'volumes': [{'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'ext3', 'mount_options': 'defaults', 'type': 'lvm', 'size': '1g', 'mount_point': None, 'compression': None, 'encryption_password': None, 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'testvol1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'mount_mode': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'raid_stripe_size': None, 'cache_size': 0, 'mount_user': None, 'raid_spare_count': None, 'raid_disks': [], 'cache_mode': None, 'deduplication': None, 'mount_group': None, 'fs_overwrite_existing': True, 'disks': ['sdh'], 'cached': False, 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}], 'encryption_cipher': None, 'shared': False, 'raid_level': None, 'type': 'lvm', 'grow_to_fill': False, 'raid_spare_count': None, 'raid_chunk_size': None}], 'volumes': [], 'pool_defaults': {'encryption_password': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_cipher': None, 'disks': [], 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_device_count': None, 'state': 'present', 'volumes': [], 'shared': False, 'raid_level': None, 'type': 'lvm', 'grow_to_fill': False, 'raid_spare_count': None, 'raid_chunk_size': None}, 'volume_defaults': {'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'size': 0, 'mount_point': '', 'compression': None, 'encryption_password': None, 'encryption': False, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'fs_overwrite_existing': True, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'raid_stripe_size': None, 'cache_size': 0, 'raid_spare_count': None, 'cache_mode': None, 'cache_devices': [], 'deduplication': None, 'cached': False, 'type': 'lvm', 'disks': [], 'thin': None, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'thin_pool_size': None, 'fs_create_options': ''}, 'use_partitions': None}}, 'pools': [], 'packages': [], 'msg': "cannot remove existing formatting on volume 'testvol1' in safe mode", '_ansible_no_log': False} TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:110 Monday 06 May 2024 22:46:19 +0000 (0:00:00.016) 0:00:55.364 ************ TASK [Check that we failed in the role] **************************************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/verify-role-failed.yml:29 Monday 06 May 2024 22:46:19 +0000 (0:00:00.011) 0:00:55.376 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the blivet output and error message are correct] ****************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/verify-role-failed.yml:34 Monday 06 May 2024 22:46:19 +0000 (0:00:00.013) 0:00:55.389 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify correct exception or error message] ******************************* task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/verify-role-failed.yml:45 Monday 06 May 2024 22:46:19 +0000 (0:00:00.019) 0:00:55.408 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Test for correct handling of safe_mode with existing pool] *************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/tests_lvm_errors.yml:158 Monday 06 May 2024 22:46:19 +0000 (0:00:00.012) 0:00:55.421 ************ included: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/verify-role-failed.yml for sut TASK [Store global variable value copy] **************************************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/verify-role-failed.yml:4 Monday 06 May 2024 22:46:19 +0000 (0:00:00.023) 0:00:55.444 ************ ok: [sut] => { "ansible_facts": { "storage_pools_global": [], "storage_safe_mode_global": true, "storage_volumes_global": [] }, "changed": false } TASK [Verify role raises correct error] **************************************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/verify-role-failed.yml:10 Monday 06 May 2024 22:46:19 +0000 (0:00:00.016) 0:00:55.461 ************ TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Monday 06 May 2024 22:46:19 +0000 (0:00:00.036) 0:00:55.497 ************ included: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for sut TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Monday 06 May 2024 22:46:19 +0000 (0:00:00.029) 0:00:55.527 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Monday 06 May 2024 22:46:19 +0000 (0:00:00.013) 0:00:55.541 ************ skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Check if system is ostree] ****************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:26 Monday 06 May 2024 22:46:19 +0000 (0:00:00.031) 0:00:55.572 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:31 Monday 06 May 2024 22:46:19 +0000 (0:00:00.012) 0:00:55.584 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Define an empty list of pools to be used in testing] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Monday 06 May 2024 22:46:19 +0000 (0:00:00.012) 0:00:55.597 ************ ok: [sut] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : Define an empty list of volumes to be used in testing] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Monday 06 May 2024 22:46:19 +0000 (0:00:00.011) 0:00:55.608 ************ ok: [sut] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : Include the appropriate provider tasks] ***** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Monday 06 May 2024 22:46:19 +0000 (0:00:00.011) 0:00:55.620 ************ included: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for sut TASK [linux-system-roles.storage : Make sure blivet is available] ************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Monday 06 May 2024 22:46:19 +0000 (0:00:00.028) 0:00:55.648 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Show storage_pools] ************************* task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:11 Monday 06 May 2024 22:46:19 +0000 (0:00:00.014) 0:00:55.662 ************ ok: [sut] => { "storage_pools": [ { "disks": [ "sdh" ], "name": "foo", "type": "lvm" } ] } TASK [linux-system-roles.storage : Show storage_volumes] *********************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:16 Monday 06 May 2024 22:46:19 +0000 (0:00:00.033) 0:00:55.696 ************ ok: [sut] => { "storage_volumes": [] } TASK [linux-system-roles.storage : Get required packages] ********************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:21 Monday 06 May 2024 22:46:19 +0000 (0:00:00.019) 0:00:55.716 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Enable copr repositories if needed] ********* task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:34 Monday 06 May 2024 22:46:19 +0000 (0:00:00.014) 0:00:55.730 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Make sure required packages are installed] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:41 Monday 06 May 2024 22:46:19 +0000 (0:00:00.016) 0:00:55.747 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Get service facts] ************************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:57 Monday 06 May 2024 22:46:19 +0000 (0:00:00.020) 0:00:55.767 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:64 Monday 06 May 2024 22:46:19 +0000 (0:00:00.030) 0:00:55.797 ************ ok: [sut] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:78 Monday 06 May 2024 22:46:19 +0000 (0:00:00.021) 0:00:55.819 ************ TASK [linux-system-roles.storage : Manage the pools and volumes to match the specified state] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:84 Monday 06 May 2024 22:46:19 +0000 (0:00:00.011) 0:00:55.830 ************ fatal: [sut]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: cannot remove existing formatting (lvmpv) and/or devices on disk 'sdh' (pool 'foo') in safe mode TASK [linux-system-roles.storage : Failed message] ***************************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:106 Monday 06 May 2024 22:46:24 +0000 (0:00:04.386) 0:01:00.217 ************ fatal: [sut]: FAILED! => { "changed": false } MSG: {'crypts': [], 'mounts': [], 'leaves': [], 'changed': False, 'actions': [], 'failed': True, 'volumes': [], 'invocation': {'module_args': {'packages_only': False, 'disklabel_type': None, 'diskvolume_mkfs_option_map': {'ext4': '-F', 'ext3': '-F', 'ext2': '-F'}, 'safe_mode': True, 'pools': [{'name': 'foo', 'encryption_password': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_key_size': None, 'disks': ['sdh'], 'encryption_key': None, 'encryption_luks_version': None, 'raid_device_count': None, 'state': 'present', 'volumes': [], 'encryption_cipher': None, 'shared': False, 'raid_level': None, 'type': 'lvm', 'grow_to_fill': False, 'raid_spare_count': None, 'raid_chunk_size': None}], 'volumes': [], 'pool_defaults': {'encryption_password': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_cipher': None, 'disks': [], 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_device_count': None, 'state': 'present', 'volumes': [], 'shared': False, 'raid_level': None, 'type': 'lvm', 'grow_to_fill': False, 'raid_spare_count': None, 'raid_chunk_size': None}, 'volume_defaults': {'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'size': 0, 'mount_point': '', 'compression': None, 'encryption_password': None, 'encryption': False, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'fs_overwrite_existing': True, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'raid_stripe_size': None, 'cache_size': 0, 'raid_spare_count': None, 'cache_mode': None, 'cache_devices': [], 'deduplication': None, 'cached': False, 'type': 'lvm', 'disks': [], 'thin': None, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'thin_pool_size': None, 'fs_create_options': ''}, 'use_partitions': None}}, 'pools': [], 'packages': [], 'msg': "cannot remove existing formatting (lvmpv) and/or devices on disk 'sdh' (pool 'foo') in safe mode", '_ansible_no_log': False} TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:110 Monday 06 May 2024 22:46:24 +0000 (0:00:00.032) 0:01:00.249 ************ TASK [Check that we failed in the role] **************************************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/verify-role-failed.yml:29 Monday 06 May 2024 22:46:24 +0000 (0:00:00.041) 0:01:00.291 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the blivet output and error message are correct] ****************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/verify-role-failed.yml:34 Monday 06 May 2024 22:46:24 +0000 (0:00:00.018) 0:01:00.310 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify correct exception or error message] ******************************* task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/verify-role-failed.yml:45 Monday 06 May 2024 22:46:24 +0000 (0:00:00.040) 0:01:00.351 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Test for correct handling of safe_mode] ********************************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/tests_lvm_errors.yml:172 Monday 06 May 2024 22:46:24 +0000 (0:00:00.028) 0:01:00.380 ************ included: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/verify-role-failed.yml for sut TASK [Store global variable value copy] **************************************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/verify-role-failed.yml:4 Monday 06 May 2024 22:46:24 +0000 (0:00:00.028) 0:01:00.408 ************ ok: [sut] => { "ansible_facts": { "storage_pools_global": [], "storage_safe_mode_global": true, "storage_volumes_global": [] }, "changed": false } TASK [Verify role raises correct error] **************************************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/verify-role-failed.yml:10 Monday 06 May 2024 22:46:24 +0000 (0:00:00.019) 0:01:00.427 ************ TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Monday 06 May 2024 22:46:24 +0000 (0:00:00.016) 0:01:00.444 ************ included: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for sut TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Monday 06 May 2024 22:46:24 +0000 (0:00:00.017) 0:01:00.461 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Monday 06 May 2024 22:46:24 +0000 (0:00:00.053) 0:01:00.515 ************ skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Check if system is ostree] ****************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:26 Monday 06 May 2024 22:46:24 +0000 (0:00:00.032) 0:01:00.548 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:31 Monday 06 May 2024 22:46:24 +0000 (0:00:00.012) 0:01:00.561 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Define an empty list of pools to be used in testing] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Monday 06 May 2024 22:46:24 +0000 (0:00:00.019) 0:01:00.581 ************ ok: [sut] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : Define an empty list of volumes to be used in testing] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Monday 06 May 2024 22:46:24 +0000 (0:00:00.017) 0:01:00.598 ************ ok: [sut] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : Include the appropriate provider tasks] ***** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Monday 06 May 2024 22:46:24 +0000 (0:00:00.017) 0:01:00.616 ************ included: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for sut TASK [linux-system-roles.storage : Make sure blivet is available] ************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Monday 06 May 2024 22:46:24 +0000 (0:00:00.028) 0:01:00.645 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Show storage_pools] ************************* task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:11 Monday 06 May 2024 22:46:24 +0000 (0:00:00.014) 0:01:00.659 ************ ok: [sut] => { "storage_pools": [] } TASK [linux-system-roles.storage : Show storage_volumes] *********************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:16 Monday 06 May 2024 22:46:24 +0000 (0:00:00.019) 0:01:00.678 ************ ok: [sut] => { "storage_volumes": [ { "disks": [ "sdh" ], "fs_type": "ext3", "name": "test1", "type": "disk" } ] } TASK [linux-system-roles.storage : Get required packages] ********************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:21 Monday 06 May 2024 22:46:24 +0000 (0:00:00.023) 0:01:00.702 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Enable copr repositories if needed] ********* task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:34 Monday 06 May 2024 22:46:24 +0000 (0:00:00.014) 0:01:00.716 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Make sure required packages are installed] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:41 Monday 06 May 2024 22:46:24 +0000 (0:00:00.028) 0:01:00.744 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Get service facts] ************************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:57 Monday 06 May 2024 22:46:24 +0000 (0:00:00.012) 0:01:00.757 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:64 Monday 06 May 2024 22:46:24 +0000 (0:00:00.013) 0:01:00.770 ************ ok: [sut] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:78 Monday 06 May 2024 22:46:24 +0000 (0:00:00.025) 0:01:00.796 ************ TASK [linux-system-roles.storage : Manage the pools and volumes to match the specified state] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:84 Monday 06 May 2024 22:46:24 +0000 (0:00:00.011) 0:01:00.807 ************ fatal: [sut]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: cannot remove existing formatting on volume 'test1' in safe mode TASK [linux-system-roles.storage : Failed message] ***************************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:106 Monday 06 May 2024 22:46:29 +0000 (0:00:04.452) 0:01:05.260 ************ fatal: [sut]: FAILED! => { "changed": false } MSG: {'crypts': [], 'mounts': [], 'leaves': [], 'changed': False, 'actions': [], 'failed': True, 'volumes': [], 'invocation': {'module_args': {'packages_only': False, 'disklabel_type': None, 'diskvolume_mkfs_option_map': {'ext4': '-F', 'ext3': '-F', 'ext2': '-F'}, 'safe_mode': True, 'pools': [], 'volumes': [{'raid_metadata_version': None, 'raid_chunk_size': None, 'fs_type': 'ext3', 'mount_options': 'defaults', 'size': 10737418240, 'mount_point': None, 'compression': None, 'encryption_password': None, 'encryption': False, 'raid_level': None, 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'mount_mode': None, 'thin_pool_name': None, 'type': 'disk', 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'raid_stripe_size': None, 'mount_device_identifier': 'uuid', 'mount_user': None, 'raid_spare_count': None, 'name': 'test1', 'cache_mode': None, 'deduplication': None, 'mount_group': None, 'fs_overwrite_existing': True, 'disks': ['sdh'], 'cached': False, 'thin_pool_size': None, 'thin': None, 'mount_check': 0, 'mount_passno': 0, 'cache_size': 0, 'cache_devices': [], 'fs_create_options': ''}], 'pool_defaults': {'encryption_password': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_cipher': None, 'disks': [], 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_device_count': None, 'state': 'present', 'volumes': [], 'shared': False, 'raid_level': None, 'type': 'lvm', 'grow_to_fill': False, 'raid_spare_count': None, 'raid_chunk_size': None}, 'volume_defaults': {'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'size': 0, 'mount_point': '', 'compression': None, 'encryption_password': None, 'encryption': False, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'fs_overwrite_existing': True, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'raid_stripe_size': None, 'cache_size': 0, 'raid_spare_count': None, 'cache_mode': None, 'cache_devices': [], 'deduplication': None, 'cached': False, 'type': 'lvm', 'disks': [], 'thin': None, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'thin_pool_size': None, 'fs_create_options': ''}, 'use_partitions': None}}, 'pools': [], 'packages': [], 'msg': "cannot remove existing formatting on volume 'test1' in safe mode", '_ansible_no_log': False} TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:110 Monday 06 May 2024 22:46:29 +0000 (0:00:00.018) 0:01:05.279 ************ TASK [Check that we failed in the role] **************************************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/verify-role-failed.yml:29 Monday 06 May 2024 22:46:29 +0000 (0:00:00.012) 0:01:05.291 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the blivet output and error message are correct] ****************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/verify-role-failed.yml:34 Monday 06 May 2024 22:46:29 +0000 (0:00:00.015) 0:01:05.306 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify correct exception or error message] ******************************* task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/verify-role-failed.yml:45 Monday 06 May 2024 22:46:29 +0000 (0:00:00.019) 0:01:05.325 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up] **************************************************************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/tests_lvm_errors.yml:187 Monday 06 May 2024 22:46:29 +0000 (0:00:00.022) 0:01:05.348 ************ TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Monday 06 May 2024 22:46:29 +0000 (0:00:00.043) 0:01:05.391 ************ included: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for sut TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Monday 06 May 2024 22:46:29 +0000 (0:00:00.022) 0:01:05.413 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Monday 06 May 2024 22:46:29 +0000 (0:00:00.025) 0:01:05.439 ************ skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Check if system is ostree] ****************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:26 Monday 06 May 2024 22:46:29 +0000 (0:00:00.030) 0:01:05.470 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:31 Monday 06 May 2024 22:46:29 +0000 (0:00:00.013) 0:01:05.483 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Define an empty list of pools to be used in testing] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Monday 06 May 2024 22:46:29 +0000 (0:00:00.019) 0:01:05.503 ************ ok: [sut] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : Define an empty list of volumes to be used in testing] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Monday 06 May 2024 22:46:29 +0000 (0:00:00.020) 0:01:05.524 ************ ok: [sut] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : Include the appropriate provider tasks] ***** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Monday 06 May 2024 22:46:29 +0000 (0:00:00.014) 0:01:05.539 ************ included: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for sut TASK [linux-system-roles.storage : Make sure blivet is available] ************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Monday 06 May 2024 22:46:29 +0000 (0:00:00.027) 0:01:05.566 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Show storage_pools] ************************* task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:11 Monday 06 May 2024 22:46:29 +0000 (0:00:00.014) 0:01:05.580 ************ ok: [sut] => { "storage_pools": [ { "disks": [ "sdh" ], "name": "testpool1", "state": "absent", "type": "lvm" } ] } TASK [linux-system-roles.storage : Show storage_volumes] *********************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:16 Monday 06 May 2024 22:46:29 +0000 (0:00:00.041) 0:01:05.622 ************ ok: [sut] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : Get required packages] ********************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:21 Monday 06 May 2024 22:46:29 +0000 (0:00:00.014) 0:01:05.636 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Enable copr repositories if needed] ********* task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:34 Monday 06 May 2024 22:46:29 +0000 (0:00:00.014) 0:01:05.650 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Make sure required packages are installed] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:41 Monday 06 May 2024 22:46:29 +0000 (0:00:00.012) 0:01:05.662 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Get service facts] ************************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:57 Monday 06 May 2024 22:46:29 +0000 (0:00:00.012) 0:01:05.675 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:64 Monday 06 May 2024 22:46:29 +0000 (0:00:00.012) 0:01:05.687 ************ ok: [sut] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:78 Monday 06 May 2024 22:46:29 +0000 (0:00:00.036) 0:01:05.724 ************ TASK [linux-system-roles.storage : Manage the pools and volumes to match the specified state] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:84 Monday 06 May 2024 22:46:29 +0000 (0:00:00.014) 0:01:05.738 ************ changed: [sut] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/testpool1-testvol1", "fs_type": "ext4" }, { "action": "destroy device", "device": "/dev/mapper/testpool1-testvol1", "fs_type": null }, { "action": "destroy device", "device": "/dev/testpool1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdh", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/sdd", "/dev/sde", "/dev/sdf", "/dev/sdg", "/dev/sdh", "/dev/sdi", "/dev/xvda1" ], "mounts": [], "packages": [ "e2fsprogs" ], "pools": [ { "disks": [ "sdh" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "grow_to_fill": false, "name": "testpool1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "shared": false, "state": "absent", "type": "lvm", "volumes": [] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:98 Monday 06 May 2024 22:46:34 +0000 (0:00:04.621) 0:01:10.359 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:110 Monday 06 May 2024 22:46:34 +0000 (0:00:00.012) 0:01:10.372 ************ TASK [linux-system-roles.storage : Show blivet_output] ************************* task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:116 Monday 06 May 2024 22:46:34 +0000 (0:00:00.011) 0:01:10.383 ************ ok: [sut] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/testpool1-testvol1", "fs_type": "ext4" }, { "action": "destroy device", "device": "/dev/mapper/testpool1-testvol1", "fs_type": null }, { "action": "destroy device", "device": "/dev/testpool1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdh", "fs_type": "lvmpv" } ], "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" ], "mounts": [], "packages": [ "e2fsprogs" ], "pools": [ { "disks": [ "sdh" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "grow_to_fill": false, "name": "testpool1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "shared": false, "state": "absent", "type": "lvm", "volumes": [] } ], "volumes": [] } } TASK [linux-system-roles.storage : Set the list of pools for test verification] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:125 Monday 06 May 2024 22:46:34 +0000 (0:00:00.013) 0:01:10.397 ************ ok: [sut] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sdh" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "grow_to_fill": false, "name": "testpool1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "shared": false, "state": "absent", "type": "lvm", "volumes": [] } ] }, "changed": false } TASK [linux-system-roles.storage : Set the list of volumes for test verification] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:129 Monday 06 May 2024 22:46:34 +0000 (0:00:00.013) 0:01:10.410 ************ ok: [sut] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : Remove obsolete mounts] ********************* task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:145 Monday 06 May 2024 22:46:34 +0000 (0:00:00.013) 0:01:10.424 ************ TASK [linux-system-roles.storage : Tell systemd to refresh its view of /etc/fstab] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:157 Monday 06 May 2024 22:46:34 +0000 (0:00:00.011) 0:01:10.435 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set up new/current mounts] ****************** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:162 Monday 06 May 2024 22:46:34 +0000 (0:00:00.012) 0:01:10.447 ************ TASK [linux-system-roles.storage : Manage mount ownership/permissions] ********* task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:174 Monday 06 May 2024 22:46:34 +0000 (0:00:00.012) 0:01:10.460 ************ TASK [linux-system-roles.storage : Tell systemd to refresh its view of /etc/fstab] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:189 Monday 06 May 2024 22:46:34 +0000 (0:00:00.019) 0:01:10.479 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Retrieve facts for the /etc/crypttab file] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:197 Monday 06 May 2024 22:46:34 +0000 (0:00:00.013) 0:01:10.493 ************ ok: [sut] => { "changed": false, "stat": { "atime": 1715034656.6401625, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1714465739.653, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 131079, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1714465489.206, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "1979845102", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : Manage /etc/crypttab to account for changes we just made] *** task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:202 Monday 06 May 2024 22:46:34 +0000 (0:00:00.143) 0:01:10.637 ************ TASK [linux-system-roles.storage : Update facts] ******************************* task path: /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:224 Monday 06 May 2024 22:46:34 +0000 (0:00:00.011) 0:01:10.648 ************ ok: [sut] META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=166 changed=3 unreachable=0 failed=9 skipped=147 rescued=9 ignored=0 Monday 06 May 2024 22:46:35 +0000 (0:00:00.486) 0:01:11.135 ************ =============================================================================== linux-system-roles.storage : Make sure blivet is available ------------- 10.64s /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 linux-system-roles.storage : Manage the pools and volumes to match the specified state --- 4.62s /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:84 linux-system-roles.storage : Manage the pools and volumes to match the specified state --- 4.62s /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:84 linux-system-roles.storage : Manage the pools and volumes to match the specified state --- 4.54s /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:84 linux-system-roles.storage : Manage the pools and volumes to match the specified state --- 4.54s /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:84 linux-system-roles.storage : Manage the pools and volumes to match the specified state --- 4.45s /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:84 linux-system-roles.storage : Manage the pools and volumes to match the specified state --- 4.39s /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:84 linux-system-roles.storage : Manage the pools and volumes to match the specified state --- 4.38s /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:84 linux-system-roles.storage : Manage the pools and volumes to match the specified state --- 4.14s /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:84 linux-system-roles.storage : Manage the pools and volumes to match the specified state --- 4.07s /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:84 linux-system-roles.storage : Manage the pools and volumes to match the specified state --- 4.00s /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:84 linux-system-roles.storage : Manage the pools and volumes to match the specified state --- 4.00s /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:84 Find unused disks in the system ----------------------------------------- 1.23s /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/get_unused_disk.yml:16 ------- linux-system-roles.storage : Get service facts -------------------------- 0.97s /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:57 Gathering Facts --------------------------------------------------------- 0.83s /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/tests_lvm_errors_scsi_generated.yml:3 linux-system-roles.storage : Update facts ------------------------------- 0.55s /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:224 linux-system-roles.storage : Get required packages ---------------------- 0.55s /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:21 linux-system-roles.storage : Update facts ------------------------------- 0.53s /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:224 linux-system-roles.storage : Update facts ------------------------------- 0.49s /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:224 Gathering Facts --------------------------------------------------------- 0.44s /WORKDIR/git-main-support_pvresizebzp7fb9v/tests/tests_lvm_errors.yml:2 ------- ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---