From 8a22bdd3664f5427bf9c53fce71ad90244a00c87 Mon Sep 17 00:00:00 2001 From: Auke Kok Date: Tue, 17 Sep 2024 09:20:21 -0700 Subject: [PATCH] Ignore device mapper size change dmesg output. In v1.18-10-g5507ee5, we changed the test code away from loopback to device-mapper, which simplified our DUT setup code. However, this results in the occasional `device changed size` messages now being emitted by the `dm` driver instead of the `loop` kernel module. We have to additionally ignore these kernel messages from now as well. Signed-off-by: Auke Kok --- tests/funcs/filter.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/funcs/filter.sh b/tests/funcs/filter.sh index 547b19e5..6e63e80c 100644 --- a/tests/funcs/filter.sh +++ b/tests/funcs/filter.sh @@ -143,6 +143,7 @@ t_filter_dmesg() # change-devices causes loop device resizing re="$re|loop: module loaded" re="$re|loop[0-9].* detected capacity change from.*" + re="$re|dm-[0-9].* detected capacity change from.*" # ignore systemd-journal rotating re="$re|systemd-journald.*"