From 0e69b924ce354246feeb95ea56feacce5dcf8751 Mon Sep 17 00:00:00 2001 From: "jose.lausuch" Date: Tue, 22 Sep 2015 14:12:26 +0200 Subject: [PATCH] added yum install of needed packages on jumphost Change-Id: I7ee320dc9564ad144d9f1106c79a876e2d5b1bdc Signed-off-by: jose.lausuch --- testcases/config_functest.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/testcases/config_functest.py b/testcases/config_functest.py index 9268aa61..a80da49d 100644 --- a/testcases/config_functest.py +++ b/testcases/config_functest.py @@ -90,6 +90,12 @@ def action_start(): logger.debug("Cleaning possible functest environment leftovers.") action_clean() + logger.info("Installing needed libraries on the host") + cmd = "sudo yum -y install gcc libffi-devel python-devel openssl-devel gmp-devel libxml2-devel libxslt-devel postgresql-devel git wget" + if not functest_utils.execute_command(cmd, logger): + logger.error("There has been a problem while installing software packages.") + exit(-1) + logger.info("Installing ODL environment...") if not install_odl(): logger.error("There has been a problem while installing Robot.") -- 2.16.6