From 571ae7f0764eb2882f4f5b41ddce26f28bb1556c Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Sun, 9 Jun 2019 11:17:12 +0200 Subject: Add one missing output decode in rally.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It partially cherry-picks "Conform with latest Neutron rally job" [1] [1] https://gerrit.opnfv.org/gerrit/#/c/68021/ Change-Id: I4943f737be29bcadfead427a7852964e6438a018 Signed-off-by: Cédric Ollivier (cherry picked from commit 0de102e46f3e8c3d7389a67a6f375fed69db4617) --- functest/opnfv_tests/openstack/rally/rally.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functest/opnfv_tests/openstack/rally/rally.py b/functest/opnfv_tests/openstack/rally/rally.py index cd05bb7ec..fccb3b192 100644 --- a/functest/opnfv_tests/openstack/rally/rally.py +++ b/functest/opnfv_tests/openstack/rally/rally.py @@ -431,7 +431,7 @@ class RallyBase(singlevm.VmReady2): LOGGER.debug('task_id : %s', task_id) if task_id is None: LOGGER.error("Failed to retrieve task_id") - LOGGER.error("Result:\n%s", output) + LOGGER.error("Result:\n%s", output.decode("utf-8")) raise Exception("Failed to retrieve task id") self._save_results(test_name, task_id) -- cgit