From: Kyr Shatskyy Date: Fri, 10 Jan 2025 14:15:21 +0000 (+0100) Subject: provision/downburst: log multiline stderr on error X-Git-Tag: 1.2.2~40^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=3180b7c938ea7d5fce17efca858a1abbc90be795;p=teuthology.git provision/downburst: log multiline stderr on error For better logs readability just log downburst's stderr line-by-line. Signed-off-by: Kyr Shatskyy --- diff --git a/teuthology/provision/downburst.py b/teuthology/provision/downburst.py index 97a511ef9..7dac58efc 100644 --- a/teuthology/provision/downburst.py +++ b/teuthology/provision/downburst.py @@ -107,8 +107,9 @@ class Downburst(object): self.destroy() else: success = False - log.info("Downburst failed on %s: %s" % ( - self.name, stderr.strip())) + log.error("Downburst failed on %s" % self.name) + for i in stderr.split('\n'): + log.error(f">>> {i}") break return success