scoutfs-tests: more dmesg filters

Add some more filters for device-mapper output and keep up with the lock
recovery messages in the kernel.

Signed-off-by: Zach Brown <zab@versity.com>
This commit is contained in:
Zach Brown
2019-08-16 14:15:06 -07:00
parent b9bd7d1293
commit 3981f944dd

View File

@@ -24,6 +24,8 @@ t_filter_dmesg()
# dm swizzling
re="$re|device doesn't appear to be in the dev hash table"
re="$re|device-mapper:.*uevent:.*version"
re="$re|device-mapper:.*ioctl:.*initialised"
# some tests try invalid devices
re="$re|scoutfs .* error reading super block"
@@ -48,7 +50,8 @@ t_filter_dmesg()
# tests that drop unmount io triggers fencing
re="$re|scoutfs .* error: fencing "
re="$re|scoutfs .* warning: waiting for .* lock clients"
re="$re|scoutfs .*: waiting for .* lock clients"
re="$re|scoutfs .*: all lock clients recovered"
re="$re|scoutfs .* error: client rid.*lock recovery timed out"
egrep -v "($re)"