summaryrefslogtreecommitdiffstats
path: root/ci/cyclicTestTrigger.sh
diff options
context:
space:
mode:
authorJiang, Yunhong <yunhong.jiang@intel.com>2017-03-07 07:06:37 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-03-07 07:06:37 +0000
commitb345dcdf3a6a7ebf19d2932e009f16fc3f51c84e (patch)
tree1789630a91658096628c4b58092e7a5214c48b40 /ci/cyclicTestTrigger.sh
parent8902a7b3234a70b6a665cb2213193babe2550805 (diff)
parentee70fc0799751b76b3683fef35991ff9e14e4dfe (diff)
Merge "This patch contains the PCM utility installation and continously collecting memory bandwidth data using pcm-memory throughout each cyclic testcase"
Diffstat (limited to 'ci/cyclicTestTrigger.sh')
-rwxr-xr-xci/cyclicTestTrigger.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/ci/cyclicTestTrigger.sh b/ci/cyclicTestTrigger.sh
index 7ec3616a0..14aafbe98 100755
--- a/ci/cyclicTestTrigger.sh
+++ b/ci/cyclicTestTrigger.sh
@@ -151,8 +151,10 @@ function runCyclicTest {
sudo docker run -i -v ${volume}:/opt --net=host --name kvmfornfv_${testType}_${testName} \
kvmfornfv:latest /bin/bash -c "cd /opt/scripts && ls; ./cyclictest.sh $testType $testName"
cyclictest_output=$?
+ if [ "$testName" == "iostress_idle" ];then
+ copyLogs
+ fi
#Verifying the results of cyclictest
-
if [ "$testType" == "verify" ];then
result=`grep -o '"errors":[^,]*' ${volume}/yardstick.out | awk -F '"' '{print $4}'`