aboutsummaryrefslogtreecommitdiffstats
path: root/functest/core/singlevm.py
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2020-08-17 11:06:04 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2020-08-17 11:14:54 +0200
commitc4db06b2254e075af242965bec70a9b4c0c0ba38 (patch)
treec8ea4172ae215282f5bb9ac83c37d968da00e170 /functest/core/singlevm.py
parent2c474ebe72e7209a6f43939dec2134bec302e247 (diff)
Boot a VM to run juju
It allows running juju_epc vs arm32 and arm64. It stops offering juju in functest-vnf and rather installs it in a VM. It also adds a couple of missing output decode() Change-Id: I2218742b2824c8328823051bde32422e56784e90 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'functest/core/singlevm.py')
-rw-r--r--functest/core/singlevm.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/functest/core/singlevm.py b/functest/core/singlevm.py
index af2fb6194..bfaa53bfc 100644
--- a/functest/core/singlevm.py
+++ b/functest/core/singlevm.py
@@ -456,8 +456,8 @@ class SingleVm1(VmReady1):
Returns: echo exit codes
"""
(_, stdout, stderr) = self.ssh.exec_command('echo Hello World')
- self.__logger.debug("output:\n%s", stdout.read())
- self.__logger.debug("error:\n%s", stderr.read())
+ self.__logger.debug("output:\n%s", stdout.read().decode("utf-8"))
+ self.__logger.debug("error:\n%s", stderr.read().decode("utf-8"))
return stdout.channel.recv_exit_status()
def run(self, **kwargs):