From 45f7a2a443a7c62f88d21f63343591f2ef228e44 Mon Sep 17 00:00:00 2001 From: Venkatrangan Govindarajan Date: Wed, 24 Jun 2020 13:55:43 +0530 Subject: [PATCH] Install ipaddr module in Tools VM The ipaddr.py was removed in an earlier merged patch, causing the tests to fail. This patch uses pip to install ipaddr to TOOLS VM. JIRA: INTTEST-105 Signed-off-by: Venkatrangan Govindarajan Change-Id: Id0dcfa0b59f1326baa3a0999ac0a7647dc26a0fa --- csit/libraries/SSHKeywords.robot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csit/libraries/SSHKeywords.robot b/csit/libraries/SSHKeywords.robot index 7fb7ebd1b8..d0bc721435 100644 --- a/csit/libraries/SSHKeywords.robot +++ b/csit/libraries/SSHKeywords.robot @@ -143,7 +143,7 @@ Assure_Library_Ipaddr [Documentation] Tests whether ipaddr module is present on ssh-connected machine, Puts ipaddr.py to target_dir if not. ${passed} = Execute_Command_Passes bash -c 'cd "${target_dir}" && python -c "import ipaddr"' BuiltIn.Return_From_Keyword_If ${passed} - SSHLibrary.Put_File ${CURDIR}/ipaddr.py ${target_dir}/ + Execute_Command_Passes bash -c 'pip install ipaddr' Assure_Library_Counter [Arguments] ${target_dir}=. -- 2.36.6