summaryrefslogtreecommitdiffstats
path: root/ci/envs/cyclictest.sh
diff options
context:
space:
mode:
authorswatisharma <swatix.sharma@intel.com>2016-08-18 01:02:53 +0530
committerswatisharma <swatix.sharma@intel.com>2016-08-20 02:51:42 +0530
commit98ac1e06204a5cb5f9ab1158173232e31772359f (patch)
treefc4c9b2346cf5f4d3470cf3e5623d5e59561ae07 /ci/envs/cyclictest.sh
parentc149674b4725b5d9bcdab22c180ef8ecba033523 (diff)
CI integration for KVMforNFV.
This patch contains scripts for running cyclictest through yardstick as part of CI integration for KVMforNFV. The scripts will be triggered to create a docker ubuntu container for running yardstick, configuring the host, launching a guest VM and executing cyclictest through yardstick. The verification process gets completed after running the cyclictest. Co-Authored-By: Gundarapu Reddy <reddyx.gundarapu@intel.com> Signed-off-by: Swati Sharma <swatix.sharma@intel.com>
Diffstat (limited to 'ci/envs/cyclictest.sh')
-rwxr-xr-x[-rw-r--r--]ci/envs/cyclictest.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/ci/envs/cyclictest.sh b/ci/envs/cyclictest.sh
index e4dd9931f..c261fe05d 100644..100755
--- a/ci/envs/cyclictest.sh
+++ b/ci/envs/cyclictest.sh
@@ -18,6 +18,10 @@ if [ ! -f ${cyclictest_context_file} ] ; then
exit 1
fi
+#setting up of image for launching guest vm.
+sudo ssh root@10.2.117.23 "cp /root/images/guest1.qcow2 /root/"
+
#Running cyclictest through yardstick
-yardstick task start ${cyclictest_context_file}
-mv /tmp/yardstick.out /opt/
+yardstick -d task start ${cyclictest_context_file}
+chmod 777 /tmp/yardstick.out
+cat /tmp/yardstick.out > /opt/yardstick.out