summaryrefslogtreecommitdiffstats
path: root/ci/cyclicTestTrigger.sh
diff options
context:
space:
mode:
authorShravani <shravani.p@tcs.com>2017-03-07 10:29:18 +0530
committerShravani <shravani.p@tcs.com>2017-03-07 10:30:24 +0530
commitee70fc0799751b76b3683fef35991ff9e14e4dfe (patch)
tree7f8f556490a2c25a3790ea6006cb12562c6cbac2 /ci/cyclicTestTrigger.sh
parent77e6660ea78c5934e4b606a5342c4e0e64be1de6 (diff)
This patch contains the PCM utility installation and continously
collecting memory bandwidth data using pcm-memory throughout each cyclic testcase Change-Id: Iafde7c57bfbe8ce2da4442ac6b414603957cc074 Co-Authored by:Rajitha <y.rajitha@tcs.com> Signed-off-by:Shravani <shravani.p@tcs.com>
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}'`