Merge "add nevirt tests for genius patch test"
[releng/builder.git] / packer / provision / robot.sh
index 441b0104784eb9a9e07f920d9c4f4c9f44e74e11..2dfd9ca6a88cc4660a0220e3493c69fc6009f06d 100644 (file)
@@ -5,28 +5,47 @@
 # 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} @development
+yum install -y python-{devel,setuptools,virtualenv} @development
+
+# Needed to parse OpenStack commands used by opendaylight-infra stack commands
+# to initialize Heat template based systems.
+yum install -y jq
 
 # Install dependencies for robotframework and robotframework-sshlibrary
 # installed elsewhere
-yum install -y -q yum-utils unzip sshuttle nc libffi-devel openssl-devel
+yum install -y yum-utils unzip sshuttle nc libffi-devel openssl-devel
 
 # Install dependencies for matplotlib library used in longevity framework
-yum-builddep -y python-matplotlib
+yum install -y libpng-devel freetype-devel python-matplotlib
 
 # install crudini command line tool for editing config files
-yum install -y -q crudini
+yum install -y crudini
+
+# Install dependency for postgres database used in storing performance plot results
+yum -y install postgresql-devel
+
+################################
+# LISPFLOWMAPPING REQUIREMENTS #
+################################
+
+# Needed for pyangbind
+yum install -y libxml2-devel libxslt-devel
 
 # Install `udpreplay` to be used for (lispflowmapping) performance tests
-yum install -q -y libpcap-devel boost-devel
-git clone -q https://github.com/ska-sa/udpreplay.git
+yum install -y libpcap-devel boost-devel
+git clone https://github.com/ska-sa/udpreplay.git
 cd udpreplay
+./bootstrap.sh
+./configure
 make &> /dev/null && cp udpreplay /usr/local/bin
 
-## DLUX dependencies
+#####################
+# DLUX requirements #
+#####################
+
 #  - 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
+yum install -y firefox xorg-x11-server-Xvfb