From: Cédric Ollivier Date: Sun, 9 Jun 2019 09:17:12 +0000 (+0200) Subject: Add one missing output decode in rally.py X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F26%2F68026%2F1;p=functest.git Add one missing output decode in rally.py 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) --- 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)