From a7fbc82cc50f3663711741d465bbbf3881a42bb7 Mon Sep 17 00:00:00 2001 From: Dmitry Zogin Date: Mon, 9 Aug 2010 08:59:45 -0400 Subject: [PATCH] b=23316 BUG: soft lockup - CPU#2 stuck for 10s! [ll_cfg_requeue:2851] Use SHARED_DIR_LOGS in error_noexit(). i=grev --- lustre/tests/test-framework.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lustre/tests/test-framework.sh b/lustre/tests/test-framework.sh index ed86790..7802fc1 100644 --- a/lustre/tests/test-framework.sh +++ b/lustre/tests/test-framework.sh @@ -2323,6 +2323,8 @@ debugrestore() { error_noexit() { local TYPE=${TYPE:-"FAIL"} local ERRLOG + local tmp=$TMP + [ -d "$SHARED_DIR_LOGS" ] && tmp=$SHARED_DIR_LOGS local dump=true # do not dump logs if $1=false @@ -2334,7 +2336,7 @@ error_noexit() { log " ${TESTSUITE} ${TESTNAME}: @@@@@@ ${TYPE}: $@ " if $dump; then - ERRLOG=$TMP/lustre_${TESTSUITE}_${TESTNAME}.$(date +%s) + ERRLOG=$tmp/lustre_${TESTSUITE}_${TESTNAME}.$(date +%s) echo "Dumping lctl log to $ERRLOG" # We need to dump the logs on all nodes do_nodes $(comma_list $(nodes_list)) $NODE $LCTL dk $ERRLOG -- 1.8.3.1