diff --git a/pbm-functional/pytest/cluster.py b/pbm-functional/pytest/cluster.py index 4e664a29..59486c22 100644 --- a/pbm-functional/pytest/cluster.py +++ b/pbm-functional/pytest/cluster.py @@ -389,7 +389,8 @@ def make_backup(self, type): elif "resync" in start.stdout: Cluster.log("Resync in progress, retrying: " + start.stdout) else: - assert False, "Backup failed" + start.stdout + start.stderr + logs = n.check_output("pbm logs -sD -t0") + assert False, "Backup failed" + start.stdout + start.stderr + '\n' + logs if time.time() > timeout: assert False, "Timeout for backup start exceeded" time.sleep(1)