From: Zack Cerza Date: Wed, 27 Apr 2022 01:09:47 +0000 (-0600) Subject: bootstrap_teuthology: Call decode() on stderr X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fheads%2Fvenv-relocation;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 432c3ea96..07cb2c078 100644 --- a/teuthology/repo_utils.py +++ b/teuthology/repo_utils.py @@ -451,7 +451,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)