Merge "Auto Update CSIT Jobs to run for magnesium"
[releng/builder.git] / jjb / integration / integration-install-robotframework.sh
index adf1f86b703e6e3369807a0380fe520d59d34566..de6fb254aa303cac234751c1c43db4d3528c6b23 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/bash -l
 # SPDX-License-Identifier: EPL-1.0
 ##############################################################################
 # Copyright (c) 2015 The Linux Foundation and others.
@@ -23,12 +23,13 @@ set -exu
 
 # Make sure pip itself us up-to-date.
 pip install --upgrade pip
+python3 -m pip install --user --upgrade pip
 
 pip install --upgrade docker-py importlib requests scapy netifaces netaddr ipaddr pyhocon
 pip install --upgrade robotframework-httplibrary \
     requests==2.15.1 \
     robotframework-requests \
-    robotframework-sshlibrary \
+    robotframework-sshlibrary==3.1.1 \
     robotframework-selenium2library \
     robotframework-pycurllibrary
 
@@ -44,27 +45,24 @@ pip install --upgrade pyangbind
 # Module for iso8601 datetime format
 pip install --upgrade isodate
 
-# Modules for tornado and jsonpointer used by client libraries of IoTDM project
-# Note: Could be removed when client running on tools VM is used instead
-#       of client libraries only.
-pip install --upgrade tornado jsonpointer
-
 # Module for TemplatedRequests.robot library
 pip install --upgrade jmespath
 
 # Module for backup-restore support library
 pip install --upgrade jsonpatch
 
-# Module OpenstackClient is needed for Netvirt CSIT jobs
-# Module networking-l2gw is required for using l2gw commands with neutron client
-# Module python-neutronclient is needed for certain tests run with Openstack Newton
-#  that does not work with Openstack Client
-pip install python-openstackclient==3.11.0
-pip install networking-l2gw
-pip install python-neutronclient==6.1.0
+#Module for elasticsearch python client
+#Module for elasticsearch python client
+python3 -m pip install --user urllib3==1.22
+python3 -m pip install --user requests==2.9.1
+python3 -m pip install --user elasticsearch==6.2.0
+python3 -m pip install --user PyYAML==3.11
+
+# odltools for extra debugging
+pip install odltools
+odltools -V
 
 # Print installed versions.
-pip install --upgrade pipdeptree
-pipdeptree
+pip freeze
 
 # vim: sw=4 ts=4 sts=4 et ft=sh :