Tony Asleson
b8d4969117
lvmdbustest.py: Add function for lv path check
2019-10-30 10:38:40 -05:00
Tony Asleson
22a22a735f
lvmdbusdtest.py: Use common function for tag add
2019-10-30 10:38:40 -05:00
Tony Asleson
62136c056a
lvmdbustest.py: Remove duplicate setup code
...
Remove the same copy & pasted code which simply creates a VG to
use.
2019-10-30 10:38:40 -05:00
Tony Asleson
bafe5d15b1
lvmdbusd: Add check for reserved name '_vdata'
...
Added for vdo support.
2019-10-30 10:38:40 -05:00
Tony Asleson
b7c64fe8e2
lvmdbustest.py: Add blurb about scan_lvs = 1
...
When developing and testing on a local system, to get the unit
test to pass the test_nesting test, editing the test conf will achieve
the success too.
2019-10-30 10:38:40 -05:00
Joe Thornber
5fdebf9bbf
[bcache] add unit test
...
abort-forces-read
2019-10-29 10:33:31 +00:00
Joe Thornber
2938b4dcca
[bcache] add bcache_abort()
...
This gives us a way to cope with write failures.
2019-10-28 15:00:53 +00:00
Zdenek Kabelac
e88fd2edfd
tests: explicit testing of thin snapshot
...
Check merging of old snapshot of thin LV.
2019-10-26 00:49:16 +02:00
David Teigland
221edf4030
tests: lvmlockd-lv-types handle new cpool renaming
2019-10-24 13:26:33 -05:00
Zdenek Kabelac
b4e87e638e
tests: enable with 6.2.1
...
Package vdo-6.2.2.18 goes with kvdo version 6.2.1
Hopefully will get fixed soon.
Meanwhile to get test coverage...
2019-10-22 16:06:19 +02:00
Zdenek Kabelac
65efacd0e0
tests: more suffixes
2019-10-22 13:39:39 +02:00
Zdenek Kabelac
a0e40bad1d
tests: used cache_pool adds _cpool
2019-10-21 15:32:35 +02:00
David Teigland
5714c8c9cc
pvck: dump metadata search
...
Improve the implementation of extracting all text metadata
copies from the metadata area. Use this for the existing
metadata_all dump option.
Add a new metadata_search dump option which does not use
lvm headers to find metadata, but looks in standard
locations. This is useful if headers are damaged and
can't be used to locate metadata.
Adding '-v' to metadata_all or metadata_search will add
the description and creation_time to the printed list of
metadata instances that are found.
2019-10-18 12:26:29 -05:00
Zdenek Kabelac
4f860f79ff
tests: cachevol needs FORMAT2
...
FORMAT2 is mandatory with cachevols...
2019-10-17 13:03:50 +02:00
Zdenek Kabelac
f07e5c1fe4
tests: skip when raid is not present
2019-10-17 13:03:50 +02:00
David Teigland
55bf692bff
tests: metadata-zero-space long vgnames
...
In the hex dump output, grep for the vgname
followed by one space. This allows for test pids
with up to seven digits, which are used to contruct
the variable vgname used by the test. Otherwise
the long vgname wraps to the next line and fails to
match in grep.
2019-10-16 09:46:48 -05:00
David Teigland
998e7b1075
writecache: add cvol suffix to attached cachevol
...
When an LV is used as a writecache cachevol, give
it the LV name a _cvol suffix. Remove the suffix
when the cachevol is detached, restoring the
original LV name.
2019-10-15 16:03:34 -05:00
Zdenek Kabelac
6666c39346
tests: cvol
2019-10-14 15:20:25 +02:00
Zdenek Kabelac
c70bab7531
tests: drop manipulation with 'internal' LV
...
Cachevol LV is 'internal' LV and should not be 'maintained' this way
while it's being used as cachevol.
2019-10-14 15:20:25 +02:00
Zdenek Kabelac
e6691aa04b
tests: disable caching of VDO
...
Disable until vdo gets fixed, then require fixed version.
Otherwise test kills kernel
2019-10-14 15:13:47 +02:00
Marian Csontos
df26b73b8e
test: Minimize data written by metadata-zero-space
...
The test is checking only 2 megabytes, but is rewriting much more. Bad
for limited ramdisk.
2019-10-09 15:11:03 +02:00
David Teigland
a22729a557
tests: improve lib wipefs_a
...
in wipefs fallback, use limited dd and mdadm --zero-superblock
to avoid writing to entire dev in case dev space is provisioned
on write.
2019-10-04 11:06:38 -05:00
David Teigland
d693041149
tests: add wipefs wrapper
...
which falls back to using dd on old systems without
the wipefs command
2019-10-02 14:11:08 -05:00
David Teigland
c2ff8876f9
tests: update to md dev name
...
Use /dev/md33 instead of /dev/md0 to reduce chances of
conflicting with an existing name.
Only call 'mdadm --stop /dev/md33' for cleanup and don't
use 'mdadm --stop --scan' to avoid stopping other md devs.
2019-10-02 14:09:51 -05:00
Heinz Mauelshagen
b138a87f43
test: increase size of raid10 LV allowing tests to succeed on fast storage
...
Also add health char check.
2019-10-02 15:25:43 +02:00
Heinz Mauelshagen
242e2dccc3
test: add RAID lvextend resynchronization test
...
Due to a dm-raid target flaw fixed in target version 1.15.0,
extents of raid sets don't get resynchronized when new MD bitmp
pages have to be allocated due to the extension.
Introduce lvextend-raid.sh to test this flaw.
Related: rhbz1671964
2019-10-02 15:25:41 +02:00
Heinz Mauelshagen
c4aba47dd0
test: add checks for not 100% sync ratio after initiation of check/repair
...
Related: rhbz1640630
2019-10-02 15:25:30 +02:00
David Teigland
7368cf8e7d
pvck: handle PVs with zero metadata copies
2019-09-30 16:20:17 -05:00
David Teigland
1bfae5bf8e
tests: update duplicate md tests
...
adjust to recent improvements in duplicate handling
2019-09-30 11:38:10 -05:00
David Teigland
fd5b8b72da
tests: mdadm stop in test cleanup
...
try to clear any existing md devs remaining after
a test
2019-09-27 12:51:34 -05:00
David Teigland
9680fd6d78
tests: skip md tests if system not clean
2019-09-27 12:40:42 -05:00
David Teigland
0673d13518
tests: writecache-split check have_writecache
2019-09-26 10:45:53 -05:00
David Teigland
3b36de573e
tests: update cache-single-split
...
add some uncache commands
2019-09-24 15:51:05 -05:00
David Teigland
e35cf0f623
tests: add writecache-split
2019-09-23 16:35:01 -05:00
David Teigland
a353bfdd9f
tests: update cache-single-split
...
enable splitting while LV is active which works
again since the cvol suffix was dropped.
2019-09-23 14:21:09 -05:00
David Teigland
338a60bb41
tests: update cache-single-split
...
the new use of uuid suffixes on internal dm devs
has impacted splitting when an LV is active,
so temporarily disable that until fixed.
2019-09-20 16:36:14 -05:00
David Teigland
8d8b5e4f75
tests: add cache-single-split
2019-09-20 09:59:37 -05:00
Zdenek Kabelac
38a3da532f
tests: check vdo
2019-09-17 13:17:21 +02:00
Zdenek Kabelac
ee6b9b78ec
tests: pool conversion
...
Test conversion of cached LV.
2019-09-17 13:13:49 +02:00
David Teigland
13fb57bbb1
Revert "tests: drop unnecessary pid from LVMTEST prefix"
...
This reverts commit 51c105702f
.
it seems the test system still needs this for some reason
2019-09-16 13:01:50 -05:00
David Teigland
51c105702f
tests: drop unnecessary pid from LVMTEST prefix
2019-09-12 14:52:13 -05:00
David Teigland
df36a8eadf
tests: don't change real test output
2019-09-12 14:45:13 -05:00
David Teigland
196a9ed59f
tests: metadata-zero-space more debugging
2019-09-12 14:38:20 -05:00
David Teigland
39a0de68bd
tests: unnecessary braces causes test failures
2019-09-12 12:55:00 -05:00
David Teigland
585db87274
tests: skip some without wipefs
2019-09-12 11:23:30 -05:00
David Teigland
82b887a4cf
tests: more debug in metadata-zero-space
2019-09-12 11:19:44 -05:00
David Teigland
1fe04f89ef
tests: use standard md devices
2019-09-12 10:11:27 -05:00
David Teigland
772dbb1e39
tests: metadata-zero-space add info for debugging
2019-09-11 14:20:59 -05:00
David Teigland
447ba5f1c2
tests: skip without xxd
2019-09-11 14:01:55 -05:00
David Teigland
31b6a04e4c
tests: open-file-limit skip without prlimit
2019-09-11 14:01:55 -05:00