This patches robotVM scripts to add support for Longevity Framework.
We need python libraries to interact with elasticsearch node
(elasticsearch, elasticsearch-dsl) and libraries to plot the data
fetched(matplotlib). It also adds an elasticsearch node installation
on the controllerVM.
Change-Id: I3a8af083082fb5dcf89bd8feefcff6819bfeda30
Signed-off-by: Kumar Rishabh <shailrishabh@gmail.com>
tar -xvf apache-cassandra-2.1.14-bin.tar.gz
+# Installation of Elasticsearch node
+
+mkdir /tmp/elasticsearch
+cd /tmp/elasticsearch
+
+wget --no-verbose https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-1.7.5.tar.gz
+
+echo "Installing the Elasticsearch node..."
+
+tar -xvzf elasticsearch-1.7.5.tar.gz
+
cat <<EOF >/etc/sudoers.d/89-jenkins-user-defaults
Defaults:jenkins !requiretty
jenkins ALL = NOPASSWD: ALL
## Install netcat & docker-py
yum install -y -q nc python-docker-py
+# Install dependencies for matplotlib library used in longevity framework
+yum install -y yum-utils
+yum-builddep -y python-matplotlib
+
# make sure the firewall is stopped
service iptables stop
# Module jsonpath is needed by current AAA idmlite suite.
pip install --upgrade jsonpath-rw
+# Modules for longevity framework robot library
+pip install elasticsearch==1.7.0 elasticsearch-dsl==0.0.11
+pip install --upgrade matplotlib
+
# Print installed versions.
pip freeze