+ echo "Yardstick: configure the images"
+ # check if cirros-0.3.3 image is already available
+ # if not, create the image
+ IMAGE_NAMES[0]=cirros-0.3.3
+ if ! nova image-show ${IMAGE_NAMES[0]} > /dev/null 2>&1; then
+ echo "Image ${IMAGE_NAMES[0]} doesn't exist. Creating image ${IMAGE_NAMES[0]}"
+ glance image-create --name cirros-0.3.3 --is-public true --disk-format qcow2 --container-format bare --file $HOME/yardstick/cirros-0.3.3-x86_64-disk.img
+ fi
+
+ # check if yardstick-trusty image is already available
+ # if not, create the image to $WORKSPACE
+ IMAGE_NAMES[1]=yardstick-trusty-server
+ if ! nova image-show ${IMAGE_NAMES[1]} > /dev/null 2>&1; then
+ echo "Image ${IMAGE_NAMES[1]} doesn't exist. Creating image ${IMAGE_NAMES[1]}"
+ sudo yardstick-img-modify $WORKSPACE/tools/ubuntu-server-cloudimg-modify.sh
+ glance image-create --name yardstick-trusty-server --is-public true --disk-format qcow2 --container-format bare --file $WORKSPACE/yardstick-trusty-server.img
+ fi
+
+ # execute tasks
+ echo "Yardstick: execute scenarios"
+ ./ci/run_tasks.sh