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 <james.r.harris@intel.com>
Change-Id: I23a856ab53bdf378b5da51f1cb8d9f2cdf6efce1

Reviewed-on: https://review.gerrithub.io/407842
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
This commit is contained in:
Jim Harris 2018-04-16 16:57:42 -07:00 committed by Daniel Verkamp
parent 876458478c
commit dba0f6e0a8

View File

@ -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.
}