From 346e28bf54f17354a7f784f57d3d52b9b91f22cd Mon Sep 17 00:00:00 2001 From: xudan Date: Wed, 27 Feb 2019 03:46:32 -0500 Subject: Add a patch to Bottlenecks This submit add a patch to Bottlenecks container created by Dovetail to change source code in Yardstick container created by Bottlenecks itself. The changes are: 1. Add SLA check to avoid the Nonetype exception 2. Let the target server be created before the host server in order to give the target one more time to setup. Change-Id: If988a33e4ae6fccd56b10547885b65aa3c019cca Signed-off-by: xudan --- etc/patches/bottlenecks/bugfix-add-ping-sla/apply.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 etc/patches/bottlenecks/bugfix-add-ping-sla/apply.sh (limited to 'etc/patches/bottlenecks/bugfix-add-ping-sla/apply.sh') diff --git a/etc/patches/bottlenecks/bugfix-add-ping-sla/apply.sh b/etc/patches/bottlenecks/bugfix-add-ping-sla/apply.sh new file mode 100755 index 00000000..9e56ef5a --- /dev/null +++ b/etc/patches/bottlenecks/bugfix-add-ping-sla/apply.sh @@ -0,0 +1,14 @@ +#!/bin/bash +set -e +set -u + +cd /home/opnfv/bottlenecks +# without setting the user, git does not allow to create a commit +git config --global user.email "verified@opnfv.org" +git config --global user.name "Dovetail" + +git am $(dirname $0)/0001-Bugfix-add-patch-yardstick-container.patch + +cp testsuites/run_testsuite.py /usr/local/lib/python2.7/dist-packages/testsuites/run_testsuite.py + +exit 0 -- cgit