Added support for NVME and SCSI HW test setup
This change serves to cover the gap in testing until CI rework is complete.
CI currently does not support creation of multiple VMs to run the tests
with different hardware settings. To overcome this, provision.fmf
will now create
single VM with triple the amount of disks - additional disks will use NVME and SCSI respectively.
find_unused_disk
will filter its results by specified interface.
New script generate_tests.py
was added. It automatically generates new test playbooks based
on discovered tests_*.yml files.
Two additional scripts in /tests/scripts
directory pre-commit
and post-commit
are prepared
git hooks that ensure that tests are properly generated and added to each new commit.
However these two scripts have to be manually copied to <storage_role_repo>/.git/hooks/ and made
executable for the hook to work.
skip vdo test if kernel module is not loadable
The vdo kernel module is an "out of tree" module which means that it
may not be available if the vdo module version does not match the
current kernel version. In that case, skip the vdo test so that we
don't get a false positive test result.
Add support for percentage-based volume sizes.
Volume sizes of the form 'XX%' (where 'XX' is an integer no greater
than 100) will be intepreted as a percentage of the size of the pool
that will contain the volume.