Merge "This patch includes building of the kernel rpm's for the commit id provided...
authorJiang, Yunhong <yunhong.jiang@intel.com>
Sat, 11 Mar 2017 01:25:35 +0000 (01:25 +0000)
committerGerrit Code Review <gerrit@opnfv.org>
Sat, 11 Mar 2017 01:25:35 +0000 (01:25 +0000)
1  2 
ci/cyclicTestTrigger.sh

diff --combined ci/cyclicTestTrigger.sh
@@@ -14,6 -14,9 +14,9 @@@ testName=$
  
  source $WORKSPACE/ci/envs/utils.sh
  source $WORKSPACE/ci/envs/host-config
+ checkRPMNames
  KERNELRPM_VERSION=$( getKernelVersion )
  QEMURPM_VERSION=$( getQemuVersion )
  
@@@ -151,10 -154,8 +154,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}'`