diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2020-08-17 11:06:04 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2020-08-17 11:26:06 +0200 |
commit | c15658ac974903ef6d4516d81ef02aa95c955978 (patch) | |
tree | 5223a2d9b89713b962f09dc61e199bc79afed12a /functest/core/singlevm.py | |
parent | 852344e86985d5c00ffa664fc5ea68f2a21b513d (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>
(cherry picked from commit c4db06b2254e075af242965bec70a9b4c0c0ba38)
Diffstat (limited to 'functest/core/singlevm.py')
-rw-r--r-- | functest/core/singlevm.py | 4 |
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): |