From 98ac1e06204a5cb5f9ab1158173232e31772359f Mon Sep 17 00:00:00 2001 From: swatisharma Date: Thu, 18 Aug 2016 01:02:53 +0530 Subject: 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 Signed-off-by: Swati Sharma --- ci/envs/cyclictest.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) mode change 100644 => 100755 ci/envs/cyclictest.sh (limited to 'ci/envs/cyclictest.sh') diff --git a/ci/envs/cyclictest.sh b/ci/envs/cyclictest.sh old mode 100644 new mode 100755 index e4dd9931f..c261fe05d --- 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 -- cgit 1.2.3-korg