From: Darrick J. Wong Date: Tue, 26 Nov 2024 01:21:50 +0000 (-0800) Subject: common/rc: capture dmesg when oom kills happen X-Git-Tag: v2024.12.01~14 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=67e01fc52bbc2101f8ce2dcc7298716ffbc4e990;p=xfstests-dev.git common/rc: capture dmesg when oom kills happen Capture the dmesg output if the OOM killer is invoked during fstests. Signed-off-by: Darrick J. Wong Reviewed-by: Christoph Hellwig Signed-off-by: Zorro Lang --- diff --git a/common/rc b/common/rc index e6c6047d..eef8d769 100644 --- a/common/rc +++ b/common/rc @@ -4562,6 +4562,7 @@ _check_dmesg() -e "INFO: possible circular locking dependency detected" \ -e "general protection fault:" \ -e "BUG .* remaining" \ + -e "oom-kill" \ -e "UBSAN:" \ $seqres.dmesg if [ $? -eq 0 ]; then