Skip to content

Commit

Permalink
backend: always log copr-builder-ready std{out,err}
Browse files Browse the repository at this point in the history
Complements: fedora-copr#3426
  • Loading branch information
praiskup committed Oct 17, 2024
1 parent b299b0d commit 0fd72d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/copr_backend/background_worker_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,9 +257,9 @@ def _check_vm(self):
cmd = "copr-builder-ready " + self.job.chroot
rc, stdout, stderr = self.ssh.run_expensive(
cmd, subprocess_timeout=660)
self.log.info(stdout)
self.log.info("stdout:\n%s", stdout if stdout else '(empty)')
self.log.info("stderr:\n%s", stderr if stderr else '(empty)')
if rc:
self.log.info(stderr)
raise BuildRetry("Builder wasn't ready, trying a new one")

def _fill_build_info_file(self):
Expand Down

0 comments on commit 0fd72d6

Please sign in to comment.