David Teigland
708eca39ea
test: process-each-duplicate-pvs
...
Update for new duplicate processing.
2016-05-06 09:00:00 -05:00
Zdenek Kabelac
08aeea6a12
tests: do not use EPOCH for get wrapper
...
Avoid poluting filesystem with debug.log_DEBUG for get wrapper
2016-05-05 23:55:20 +02:00
Zdenek Kabelac
07c1694ff5
tests: update aux raid support
...
For raid1 use chunksize as bitmap-chunk specification.
Always enforce usage of bitmap - getting comparable outcome
as lvm2 raid support uses.
Add udev_wait after stopping md array - as in fact leg-device
are still in use by target even command has finished.
(mdadm --stop causes WATCH rule wakeup, and
ioctl(STOP_ARRAY) returns IMHO to early - it should finish
and fsync work on leg devices first).
2016-05-05 23:55:20 +02:00
Zdenek Kabelac
7bb39af036
tests: check default policy is used when unspecified
...
If the policy is not given with policy settings we assume
the default one is going to be used - it's users responsibility
to pair them properly.
2016-05-05 23:55:20 +02:00
Zdenek Kabelac
95f0e25601
tests: check for thin tools
...
Test needs repair utils to be available.
2016-05-05 23:55:20 +02:00
Zdenek Kabelac
31b11d0228
tests: drop cluster testing with pvmove
...
Unwanteadly enabled in previous check-in.
2016-04-22 14:15:36 +02:00
Zdenek Kabelac
2dc6b97856
tests: make test independent on usage [] for hidden LVs
2016-04-22 12:53:09 +02:00
Zdenek Kabelac
69c2f56005
tests: keep using [] for hidden volumes
...
Figure out which test needs to see hidden volumes without [].
But normally use [] for debug printing in tests.
It's confusing otherwise.
2016-04-22 01:14:56 +02:00
Zdenek Kabelac
11dd362454
tests: GLIBC decided to obsolete readdir_r
...
Keep the code compilatible without warnings on newer glibc.
2016-04-21 17:48:19 +02:00
Zdenek Kabelac
7ce486e881
tests: minor update
2016-04-21 00:34:01 +02:00
Zdenek Kabelac
545b58542c
tests: still show systems stas when command has not produced debug.log file
...
When no debug.log* file is present whole stacktracking was skipped.
Add extra test the file exists to catch this case.
2016-04-21 00:34:01 +02:00
Zdenek Kabelac
22a71e1119
tests: document make parametr for tracing aux scripts
2016-04-21 00:34:01 +02:00
David Teigland
9553260673
test: lvmetad-override
...
Fix test case where a warning appears when it's not expected.
2016-04-19 14:26:05 -05:00
David Teigland
fa904a844f
test: lvmetad-warning
...
The test was a weak attempt at verifying the special
combination of lvchange/vgchange -aay --sysinit, but
was only looking for lvmetad connection warnings.
Update the warning checks, and check the LV activation
state directly which is the main point.
Rename the test to reflect its purpose of checking
the -aay --sysinit combination.
2016-04-19 11:45:24 -05:00
David Teigland
6b1c0a4190
test: lvmetad-override
2016-04-19 11:45:24 -05:00
David Teigland
c5cd5b4b69
test: lvmetad-no-cluster
...
Update warning message check
2016-04-19 11:45:24 -05:00
David Teigland
a5722ed7e7
test: update lvmetad-disabled
...
Update the check about lvmetad running but not used.
Also add tests related to the new lvmetad disabled state.
lvm1 metadata is used here to test the disabled state
because lvm1 metadata is the first condition using the
disabled state.
2016-04-19 11:45:24 -05:00
David Teigland
c9cf85f606
test: update lvm1 test
...
Make it a generic lvm1 test, which should work
with or without lvmetad now that lvmetad is just
disabled when lvm1 is used.
2016-04-19 11:45:19 -05:00
Zdenek Kabelac
50633039bf
tests: use should for failing test
...
It's better to use 'should' for failing test before it gets fixed,
when we ignore failing result.
2016-04-18 23:12:05 +02:00
Zdenek Kabelac
59b0bd7b64
tests: use bigger raid size
...
To avoid problem with report of array in-sync use for now bigger
raid size 64M.
2016-04-18 23:09:17 +02:00
David Teigland
662090e358
tests: fix check_lvmlockd_test
2016-04-15 12:35:20 -05:00
David Teigland
9a299d2d7a
tests: lvmetad-lvm1 fix
...
workaround this test failure until the proper
lvmetad/lvm1 fixes arrive shortly.
2016-04-13 15:07:53 -05:00
Marian Csontos
e6768997e1
test: Fix testing of installed lvmdbusd
...
If lvmdbusd is missing expression triggers ERR trap instead of skipping
the test.
2016-04-08 16:26:25 +02:00
Zdenek Kabelac
248f47d489
tests: require newer cache target
...
Older cache target is likely not updating status at all...
2016-04-08 00:04:26 +02:00
Zdenek Kabelac
9ab53dddf5
tests: use mkfs.ext3
...
mkfs.ext4 is not really needed so use more widespread mkfs.ext3
so test runs on older system.
2016-04-07 22:32:09 +02:00
Zdenek Kabelac
307ab2c179
tests: do not break teardown on failing losetup
...
Ignore failing 'losetup -d' - i.e. device may have disappeared...
2016-04-06 11:54:37 +02:00
Zdenek Kabelac
07c25429e2
tests: verify repair of failing mirror
...
Improved test script to verify lost mirror image does not
cause mirror corruption while mirror is in use.
TODO: add more cases (lost mlog...), lost image from 3leg mirror...
2016-04-06 11:54:36 +02:00
Zdenek Kabelac
c577984630
tests: fixed cache target reacts faster
...
After kernel fixed in 4.6 cache target reacts promptly
and switches to Fail-ed state when disk error is detected.
Handle both cases in test...
2016-03-31 12:21:40 +02:00
Zdenek Kabelac
bc5376b151
tests: do not test settings when MQ is emulated by SMQ
2016-03-31 12:21:40 +02:00
Peter Rajnoha
fe7ae37f5e
tests: vg-check-devs-used requires driver version 4.15 at least
2016-03-31 10:38:05 +02:00
Marian Csontos
bc0372cf9d
test: Add missing directory
...
Fix commit bb93a28bc1
2016-03-29 08:24:52 +02:00
Marian Csontos
82d92009ae
test: Move bus configuration to prepare function
2016-03-23 12:27:34 +01:00
Marian Csontos
1b0775916b
test: Remove pidfile after killing the process
...
Though unlikely keeping files in place may result in random process
killed.
2016-03-23 12:25:18 +01:00
Marian Csontos
bb93a28bc1
test: Fix lvmdbusd tests to work with installed testsuite
2016-03-23 11:59:04 +01:00
Marian Csontos
c1d376b1ab
test: Fix checks to skip lvmdbusd tests
...
The executable is always present in the tree, need to check the
runtime dependencies.
2016-03-23 11:58:48 +01:00
Peter Rajnoha
3d26d283ea
tests: update vg-check-devs-used.sh
...
Snapshot needs to be activated exclusively in cluster...
2016-03-22 11:18:22 +01:00
Peter Rajnoha
6a915270fc
tests: update vg-check-devs-used.sh
2016-03-22 11:13:28 +01:00
Peter Rajnoha
cc57cd39ab
tests: add vg-check-devs-used.sh
2016-03-21 16:21:30 +01:00
Marian Csontos
ca7bac53cf
test: Turn on dbus test
...
(cherry picked from commit f1ea96c6c1dc6414169bda1a18cf14cd9ebb1493)
2016-03-21 15:22:58 +01:00
Zdenek Kabelac
464ebe04db
tests: stacked resize of thin on raid
2016-03-15 23:22:52 +01:00
Zdenek Kabelac
746f8af2a8
tests: update lvconvert test
2016-03-14 23:46:08 +01:00
Zdenek Kabelac
0d5b9deff2
tests: use own PID path for lvmetad checking
...
Do not try to check PID of running lvmetad and use own path.
2016-03-14 23:45:45 +01:00
Zdenek Kabelac
5bfc0edd12
tests: uncache with missing PV
...
For now repair of cache with missing PVs via usage of --uncache.
More will follow later.
2016-03-10 18:38:54 +01:00
Marian Csontos
18291fd016
test: Remove work-in-progress code from dbustest
...
(cherry picked from commit 3189d4d50492f5b78cf3920a7f499fd1020983c6)
2016-03-09 14:04:28 +01:00
Ondrej Kozina
55d1105fc9
test: skip unrelated tests while testing lvmpolld
2016-03-09 12:59:45 +01:00
Ondrej Kozina
5434e9f5ea
test: fix inverted condition
2016-03-09 12:59:42 +01:00
Marian Csontos
e655ccb418
test: Add prepare_lvmdbusd
...
- Check for running lvmdbusd at start
- Add teardown for lvmdbusd
2016-03-09 10:58:21 +01:00
Marian Csontos
cb968ee875
test: Comment out incorrect lockd setup
2016-03-09 10:58:21 +01:00
Marian Csontos
c6e1845f76
test: Move udev-lvmlockd-test to check_system
2016-03-09 10:58:21 +01:00
Marian Csontos
2cf13b701a
test: Update kernels to skip thin-flags with
...
See ed5e5c38b5
2016-03-09 10:09:29 +01:00