X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fintegration%2Finclude-raw-integration-install-robotframework.sh;h=af5fd25e5cdb2c834d3fcdd1e53bc95f6e97ea53;hb=712f5f29e96ba5c0c1b40a6756535db1d27b3af4;hp=91c374b71b7ae6eba786ecf4f83f90f242fea203;hpb=fd86c6c352a258047a261b75c2c48061ecd5daf5;p=releng%2Fbuilder.git diff --git a/jjb/integration/include-raw-integration-install-robotframework.sh b/jjb/integration/include-raw-integration-install-robotframework.sh index 91c374b71..af5fd25e5 100644 --- a/jjb/integration/include-raw-integration-install-robotframework.sh +++ b/jjb/integration/include-raw-integration-install-robotframework.sh @@ -10,9 +10,26 @@ # http://www.eclipse.org/legal/epl-v10.html ############################################################################## -virtualenv $WORKSPACE/venv-robotframework -source $WORKSPACE/venv-robotframework/bin/activate -pip install -q docker-py importlib requests scapy netaddr -pip install -q robotframework{,-{httplibrary,requests,sshlibrary}} +ROBOT_VENV=`mktemp -d --suffix=robot_venv` +echo ROBOT_VENV=${ROBOT_VENV} >> ${WORKSPACE}/env.properties + +virtualenv ${ROBOT_VENV} +source ${ROBOT_VENV}/bin/activate + +set -exu + +pip install -q --upgrade pip + +# The most recent version of paramiko currently fails to install. +pip install -q --upgrade paramiko==1.16.0 + +pip install -q docker-py importlib requests scapy netifaces netaddr ipaddr +pip install -q robotframework{,-{httplibrary,requests,sshlibrary,selenium2library}} + +# jsonpath is needed by current AAA idmlite suite +pip install -q jsonpath-rw + +# print installed versions +pip freeze # vim: sw=4 ts=4 sts=4 et ft=sh :