3 ###########################################################
4 ## Invoking this script from ubuntu docker container runs
5 ## cyclictest through yardstick
6 ###########################################################
8 pod_config='/opt/pod.yaml'
9 cyclictest_context_file='/opt/cyclictest-node-context.yaml'
11 if [ ! -f ${pod_config} ] ; then
12 echo "file ${pod_config} not found"
16 if [ ! -f ${cyclictest_context_file} ] ; then
17 echo "file ${cyclictest_context_file} not found"
21 #setting up of image for launching guest vm.
22 sudo ssh root@10.2.117.23 "cp /root/images/guest1.qcow2 /root/"
24 #Running cyclictest through yardstick
25 yardstick -d task start ${cyclictest_context_file}
26 chmod 777 /tmp/yardstick.out
27 cat /tmp/yardstick.out > /opt/yardstick.out