From: Zack Cerza Date: Wed, 27 Apr 2022 01:09:47 +0000 (-0600) Subject: bootstrap_teuthology: Call decode() on stderr X-Git-Tag: 1.2.0~174^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F1751%2Fhead;p=teuthology.git bootstrap_teuthology: Call decode() on stderr Signed-off-by: Zack Cerza --- diff --git a/teuthology/repo_utils.py b/teuthology/repo_utils.py index 4db15383e..703eb9739 100644 --- a/teuthology/repo_utils.py +++ b/teuthology/repo_utils.py @@ -430,7 +430,7 @@ def bootstrap_teuthology(dest_path): returncode = boot_proc.wait() log.info("Bootstrap exited with status %s", returncode) if returncode != 0: - for line in out.split("\n"): + for line in out.decode().split("\n"): log.warning(line.strip()) venv_path = os.path.join(dest_path, 'virtualenv') log.info("Removing %s", venv_path)