| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Add info about space usage on devices after the test.
Add some more skipped dirs.
|
|
|
|
|
|
|
| |
Keep backups within test_dir instead of dev_dir (so it doesn't
leak large files there if the tests are run over real /dev dir).
Move restoring of dm_mirror throttling before test_dir is removed.
|
|
|
|
|
| |
Since the strip in raid4 might be XOR - we might eventually end
with 2 blocks of 'B' on 2 disks - so will rest of stripe with 'b'.
|
| |
|
|
|
|
|
|
| |
Not quite sure if this helps anything, some of testing
machines can't reliably remove scsi_debug, reporting
they are in use - but it's not easily reproducible...
|
|
|
|
|
|
|
|
|
| |
aux wait_pvmove_lv_ready() now handles multiple pvmove LVs
at one go - which allows a bit fast checking - although
at some point we may need to switch to use delayed devs
since mirror throttling seems to be no longer working well,
as CPU are getting so fast, that most of data are already
pvmoved before throttling has any chance to do something...
|
|
|
|
| |
Skip irelevant tests for polld & lockd pass.
|
|
|
|
|
|
|
|
|
|
|
| |
When 'brd' device can be removed (is unused AKA not opened),
remove such device and use again for testing.
Let's assume user has no unused brd device left in the system.
When the 'tests' sometimes fail to cleanup devices, with this
change futher cleanup from some next test may evenually release
brd device and make it available for testing.
|
| |
|
|
|
|
|
|
| |
With raid tests it's important we don't get spread of 4K file
across 1K block on a multiple disk stripe - so use 4K block size
for ext4 fs.
|
|
|
|
|
| |
To avoid logging unsupported WRITE_ZEROES with loop,
disable usage for this backend device.
|
|
|
|
| |
Hide unneeded dev nodes.
|
|
|
|
| |
rpm testing missed config files.
|
|
|
|
| |
Use aux function.
|
|
|
|
| |
Modify test to check same properties with less demanding ext4.
|
|
|
|
|
| |
Actually oseek comes only with rawhide's version,
just use the standard option name.
|
| |
|
|
|
|
| |
Share function across tests.
|
|
|
|
|
|
|
|
|
|
|
| |
Convert test to use only ext4 instead of 300M demanding XFS.
Shorten 'B' files to 4K and use 4K strip size with >raid1 arrays
so we do not risk spreading of the file across stripe.
Also use easier 'aux corrupt_dev()' method to introduce a bit
corruption into a block device with integrity.
TODO: shorten _wait_recalc (should't be needed).
|
|
|
|
| |
Use wrapper over 'blkdiscard -z'
|
|
|
|
|
|
|
| |
Add function to corrupt some bytes in give file path presenting
a device. 1st. patern in just once replaced with 2nd. pattern.
Usable to simulate some bit corruption for integrity devices.
|
|
|
|
|
| |
Function that will use 'blkdiscard -z' and fallbacks
to 'dd' when such option is not available.
|
| |
|
|
|
|
|
| |
Creating a snapshot of a cache LV with a cachevol would fail
because cache_check was not being skipped.
|
| |
|
|
|
|
|
|
|
|
| |
Convert test to use a single skeleton and only different pieces
keep in separate tests.
Lower raid disk usage to smaller size and switch to ext4
as way less demanding fileystem.
|
|
|
|
| |
Allow writecache|cache over raid+integrity LV.
|
|
|
|
|
| |
wait_recalc was mistakenly being called on raid without integrity
wait_recalc loop was exiting without error
|
|
|
|
|
|
| |
This test was broken by commit 69ea2e3f9
"vg_read: keep MISSING_PV when device with no mda reappears"
Change the test to match the new behavior.
|
|
|
|
| |
Signed-off-by: Tony Asleson <tasleson@redhat.com>
|
|
|
|
|
| |
Not doing this by default for automated build testing as it generates a
lot of output and slows things down by another ~10%.
|
|
|
|
|
| |
This is currently need if we are collecting code coverage data as we don't
handle this unit test correctly.
|
| |
|
| |
|
|
|
|
|
| |
Make the error injection wrapper handle the exit case, so that we can
clean up gracefully when instructed to do so.
|
|
|
|
|
|
| |
Previously we were injecting a missing key in the lv, vg, and pv.
Given the order of processing in lvmdbusd, this prevented us from
exercising all the error paths. Change to returning just 1 instead.
|
| |
|
|
|
|
| |
So we retain the log across fork & exec and lvm shell testing.
|
|
|
|
| |
add more checks and expand comments explaining behavior
|
|
|
|
|
|
| |
Different sequences of steps that could be used to handle raid LVs
after VG takeover (what would happen in cluster failover) combined
with the loss of a disk.
|
|
|
|
|
|
| |
when used with --majoritypvs. This allows the fail-over
of a VG between systems by changing the VG system ID when
a PV is missing.
|
| |
|
| |
|
|
|
|
| |
During lvm testing they use an alternative tmp directory.
|
| |
|
| |
|
|
|
|
| |
This feature has only been in python since 10/2021.
|
|
|
|
|
|
|
|
|
|
| |
Replace spaces with \040 in directory paths from getmntent (mtab).
The recent commit 5374a44c5712 compares mount point directory paths
from /etc/mtab and /proc/mounts, in order to detect when a mounted
LV has been renamed. The directory path comparison does not work
correctly when the path contains spaces because getmntent uses
ascii space chars and proc replaces spaces with \040.
|
|
|
|
| |
Skip lvmdbus testing with too old python.
|
|
|
|
|
|
| |
Add quotes around paths and also add fixme for checking
system is actually usable for a test with all running
services.
|