X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=vagrant%2Fintegration-robotframework%2Fbootstrap.sh;h=53cd42651bfa25a5f119e504637589ebacd9d1a4;hb=89c4853ab138df4c161334f8e7f410f9054bcda6;hp=06dedcb7179382a7c874322f726b75dae371ad7e;hpb=adeace3998bb6cdbefcb343c556a8cc01167e3c4;p=releng%2Fbuilder.git diff --git a/vagrant/integration-robotframework/bootstrap.sh b/vagrant/integration-robotframework/bootstrap.sh index 06dedcb71..53cd42651 100644 --- a/vagrant/integration-robotframework/bootstrap.sh +++ b/vagrant/integration-robotframework/bootstrap.sh @@ -3,15 +3,26 @@ # vim: sw=4 ts=4 sts=4 et tw=72 : yum clean all -# Add the ODL yum repo -yum install -q -y https://nexus.opendaylight.org/content/repositories/opendaylight-yum-epel-6-x86_64/rpm/opendaylight-release/0.1.0-1.el6.noarch/opendaylight-release-0.1.0-1.el6.noarch.rpm yum update -q -y -yum install -q -y java-1.7.0-openjdk-devel git perl-XML-XPath +# Install minimal python requirements to get virtualenv going +# Additional python dependencies should be installed via JJB configuration +# inside project jobs using a virtualenv setup. +yum install -q -y python-{devel,setuptools,virtualenv} -# The following are known requirements for our robotframework environments -yum install -q -y python-{devel,importlib,requests,setuptools,virtualenv} \ - robotframework{,httplibrary,requests,sshlibrary} +# Install `udpreplay` to be used for (lispflowmapping) performance tests +yum install -q -y @development libpcap-devel boost-devel +git clone -q https://github.com/ska-sa/udpreplay.git +cd udpreplay +make &> /dev/null && cp udpreplay /usr/local/bin + +## DLUX dependencies +# - Xvfb: Display manager in RAM +# +# Note: The end goal will be to test with multiple browser (Firefox, Chrome) +# Chrome need a other library named chromedriver so let start with +# one already supported with selenium. +yum install -y -q firefox xorg-x11-server-Xvfb # To handle the prompt style that is expected all over the environment # with how use use robotframework we need to make sure that it is