From: Vratko Polák Date: Tue, 13 Oct 2015 10:06:46 +0000 (+0000) Subject: Merge "Change MININET to TOOLS_SYSTEM_IP in get-slave-addresses.sh" X-Git-Tag: release/beryllium~464 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;h=e2a5dd614aa026f9cdceb9f825133f6114a81a44;hp=-c;p=releng%2Fbuilder.git Merge "Change MININET to TOOLS_SYSTEM_IP in get-slave-addresses.sh" --- e2a5dd614aa026f9cdceb9f825133f6114a81a44 diff --combined jjb/integration/include-raw-integration-deploy-controller-run-test.sh index 435ac9f3ba,42f1e26e88..865c31a693 --- a/jjb/integration/include-raw-integration-deploy-controller-run-test.sh +++ b/jjb/integration/include-raw-integration-deploy-controller-run-test.sh @@@ -1,7 -1,5 +1,7 @@@ # Activate robotframework virtualenv -source $WORKSPACE/venv-robotframework/bin/activate +# ${ROBOT_VENV} comes from the include-raw-integration-install-robotframework.sh +# script. +source ${ROBOT_VENV}/bin/activate CONTROLLERMEM="2048m" @@@ -81,8 -79,8 +81,8 @@@ sshpass -p karaf /tmp/${BUNDLEFOLDER}/b EOF - scp ${WORKSPACE}/controller-script.sh ${CONTROLLER0}:/tmp - ssh ${CONTROLLER0} 'bash /tmp/controller-script.sh' + scp ${WORKSPACE}/controller-script.sh ${ODL_SYSTEM_IP}:/tmp + ssh ${ODL_SYSTEM_IP} 'bash /tmp/controller-script.sh' echo "Changing the testplan path..." cat ${WORKSPACE}/test/csit/testplans/${TESTPLAN} | sed "s:integration:${WORKSPACE}:" > testplan.txt @@@ -92,12 -90,15 +92,15 @@@ SUITES=$( egrep -v '(^[[:space:]]*#|^[[ echo "Starting Robot test suites ${SUITES} ..." pybot -N ${TESTPLAN} -c critical -e exclude -v BUNDLEFOLDER:${BUNDLEFOLDER} -v WORKSPACE:/tmp \ - -v NEXUSURL_PREFIX:${NEXUSURL_PREFIX} -v CONTROLLER:${CONTROLLER0} -v CONTROLLER_USER:${USER} \ - -v MININET:${MININET0} -v MININET1:${MININET1} -v MININET2:${MININET2} -v MININET_USER:${USER} \ + -v NEXUSURL_PREFIX:${NEXUSURL_PREFIX} \ + -v CONTROLLER:${ODL_SYSTEM_IP} -v ODL_SYSTEM_IP:${ODL_SYSTEM_IP} -v CONTROLLER_USER:${USER} -v ODL_SYSTEM_USER:${USER} \ + -v TOOLS_SYSTEM_IP:${TOOLS_SYSTEM_IP} -v TOOLS_SYSTEM_2_IP:${TOOLS_SYSTEM_2_IP} -v TOOLS_SYSTEM_3_IP:${TOOLS_SYSTEM_3_IP} \ + -v TOOLS_SYSTEM_USER:${USER} \ + -v MININET:${TOOLS_SYSTEM_IP} -v MININET1:${TOOLS_SYSTEM_2_IP} -v MININET2:${TOOLS_SYSTEM_3_IP} -v MININET_USER:${USER} \ -v USER_HOME:${HOME} ${TESTOPTIONS} ${SUITES} || true echo "Fetching Karaf log" - scp ${CONTROLLER0}:/tmp/${BUNDLEFOLDER}/data/log/karaf.log . + scp ${ODL_SYSTEM_IP}:/tmp/${BUNDLEFOLDER}/data/log/karaf.log . # vim: ts=4 sw=4 sts=4 et ft=sh : diff --combined jjb/integration/include-raw-integration-start-cluster-run-test.sh index 5255db883d,91ef4d88a5..ad112030a8 --- a/jjb/integration/include-raw-integration-start-cluster-run-test.sh +++ b/jjb/integration/include-raw-integration-start-cluster-run-test.sh @@@ -1,7 -1,5 +1,7 @@@ # Activate robotframework virtualenv -source $WORKSPACE/venv-robotframework/bin/activate +# ${ROBOT_VENV} comes from the include-raw-integration-install-robotframework.sh +# script. +source ${ROBOT_VENV}/bin/activate echo "#################################################" echo "## Verify Cluster is UP ##" @@@ -10,7 -8,7 +10,7 @@@ echo "################################# cat > ${WORKSPACE}/verify-cluster-is-up.sh <