Whamcloud - gitweb
LU-9509 tests: fix compilebench timeout 52/30352/2
authorJadhav Vikram <jadhav.vikram@seagate.com>
Thu, 9 Feb 2017 06:25:57 +0000 (11:55 +0530)
committerJohn L. Hammond <john.hammond@intel.com>
Tue, 19 Dec 2017 19:37:41 +0000 (19:37 +0000)
With ext4 and lustre found compilebench always takes more time in
create dir operation whenever previous same test aborted without
deleting directory. As per test board result, found compilebench
test ran from suite parallel-scale-nfs.sh timedout before running
from suite parallel-scale.sh, so 1st timedout compilebench not
clear data, rerunning compilebench again causes timeout.

Fix is creating different directory on each run of compilebench.

Lustre-change: https://review.whamcloud.com/27131
Lustre-commit: d15fe1fbb261107b021cd6ebe8b8c435d2148e0f

Seagate-bug-id: MRP-3753
Signed-off-by: Jadhav Vikram <jadhav.vikram@seagate.com>
Reviewed-by: Alexander Lezhoev <alexander.lezhoev@seagate.com>
Reviewed-by: Ashish Purkar <ashish.purkar@seagate.com>
Change-Id: I9b47e28fe5c638f4167c05fb68e46ec5e90de09e
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Jian Yu <jian.yu@intel.com>
Signed-off-by: Minh Diep <minh.diep@intel.com>
Reviewed-on: https://review.whamcloud.com/30352
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
lustre/tests/functions.sh

index 5723c2a..8800650 100644 (file)
@@ -317,7 +317,7 @@ run_compilebench() {
     # t-f _base needs to be modifyed to set properly tdir
     # for new "test_foo" functions names
     # local testdir=$DIR/$tdir
-    local testdir=$dir/d0.compilebench
+    local testdir=$dir/d0.compilebench.$$
     mkdir -p $testdir
 
     local savePWD=$PWD