X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=ci%2Fenvs%2Fcyclictest.sh;fp=ci%2Fenvs%2Fcyclictest.sh;h=4c5440d715b05f26dfbd536e22b00588e8d17218;hb=40a5f2a48ab343bf24a69af2b1b8bcd09798be3c;hp=747f3475860d8a16094a444c4d0392759102de49;hpb=b8f6485d5a5c66f0fce566e59b8b5891c6a7f571;p=kvmfornfv.git diff --git a/ci/envs/cyclictest.sh b/ci/envs/cyclictest.sh index 747f34758..4c5440d71 100755 --- a/ci/envs/cyclictest.sh +++ b/ci/envs/cyclictest.sh @@ -7,7 +7,7 @@ source utils.sh HOST_IP=$( getHostIP ) -pod_config='/opt/pod.yaml' +pod_config='/opt/scripts/pod.yaml' cyclictest_context_file='/opt/cyclictest-node-context.yaml' if [ ! -f ${pod_config} ] ; then @@ -25,5 +25,10 @@ sudo ssh root@$HOST_IP "cp /root/images/guest1.qcow2 /root/" #Running cyclictest through yardstick yardstick -d task start ${cyclictest_context_file} +output=$? chmod 777 /tmp/yardstick.out cat /tmp/yardstick.out > /opt/yardstick.out +if [ $output != 0 ];then + echo "Someproblem with execution of Yardstick" + exit 1 +fi