From dba0f6e0a8fc4dc9f840af103ad1d1a3609abc38 Mon Sep 17 00:00:00 2001 From: Jim Harris Date: Mon, 16 Apr 2018 16:57:42 -0700 Subject: [PATCH] test: run pmap on stub process after it starts This will be a debugging aid to root cause some intermittent test failures seen due to ASLR in the test pool. Signed-off-by: Jim Harris Change-Id: I23a856ab53bdf378b5da51f1cb8d9f2cdf6efce1 Reviewed-on: https://review.gerrithub.io/407842 Reviewed-by: Daniel Verkamp Tested-by: SPDK Automated Test System Reviewed-by: Ben Walker --- test/common/autotest_common.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/common/autotest_common.sh b/test/common/autotest_common.sh index b92418f46..2eb6b69fd 100755 --- a/test/common/autotest_common.sh +++ b/test/common/autotest_common.sh @@ -339,6 +339,8 @@ function start_stub() { while ! [ -e /var/run/spdk_stub0 ]; do sleep 1s done + # dump process memory map contents to help debug random ASLR failures + pmap -pX $stubpid echo done. }