summaryrefslogtreecommitdiffstats
path: root/jjb/cperf
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2018-07-23 15:51:00 -0400
committerTim Rozet <trozet@redhat.com>2018-07-23 15:51:00 -0400
commitdd3eeb1794d1e80b3cd06206edfe766e498b18c9 (patch)
tree3a908cd6f1b230591d201cb60df13d6385a93c24 /jjb/cperf
parentf5b385435edf6a90fa79c42acc942ea03e51a752 (diff)
Cperf: Add debug messages to execution
Change-Id: I2089414e0fd2151b53da29ea01de3dd1292c078e Signed-off-by: Tim Rozet <trozet@redhat.com>
Diffstat (limited to 'jjb/cperf')
-rwxr-xr-xjjb/cperf/cperf-robot-netvirt-csit.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/jjb/cperf/cperf-robot-netvirt-csit.sh b/jjb/cperf/cperf-robot-netvirt-csit.sh
index e8cdb6218..3eed40284 100755
--- a/jjb/cperf/cperf-robot-netvirt-csit.sh
+++ b/jjb/cperf/cperf-robot-netvirt-csit.sh
@@ -16,6 +16,8 @@ else
ODL_STREAM=${ODL_BRANCH}
fi
+echo "ODL Branch set: ${ODL_BRANCH} and OS Version is ${FULL_OS_VER}"
+
git clone https://gerrit.opnfv.org/gerrit/releng.git
REL_PATH='releng/jjb/cperf'
@@ -27,6 +29,9 @@ source ${WORKSPACE}/overcloudrc
NUM_CONTROL_NODES=$(python ${REL_PATH}/parse-node-yaml.py num_nodes --file $NODE_FILE_PATH)
NUM_COMPUTE_NODES=$(python ${REL_PATH}/parse-node-yaml.py num_nodes --node-type compute --file $NODE_FILE_PATH)
+echo "Number of Control nodes found: ${NUM_CONTROL_NODES}"
+echo "Number of Compute nodes found: ${NUM_COMPUTE_NODES}"
+
idx=1
EXTRA_ROBOT_ARGS=""
for idx in `seq 1 $NUM_CONTROL_NODES`; do
@@ -101,6 +106,8 @@ robot_cmd="pybot \
$EXTRA_ROBOT_ARGS \
-v of_port:6653 "
+echo "Robot command set: ${robot_cmd}"
+echo "Running robot..."
docker run -i --net=host \
-v ${WORKSPACE}/id_rsa:/tmp/id_rsa \
-v ${WORKSPACE}/overcloudrc:/tmp/overcloudrc \