From cde25ff69edf25aed593ce27c461851e77e57ed7 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Thu, 17 Oct 2024 07:13:45 +0200 Subject: [PATCH] backend: always log copr-builder-ready std{out,err} Complements: #3426 --- backend/copr_backend/background_worker_build.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/copr_backend/background_worker_build.py b/backend/copr_backend/background_worker_build.py index 18950d9d2..6c0c7d7bc 100644 --- a/backend/copr_backend/background_worker_build.py +++ b/backend/copr_backend/background_worker_build.py @@ -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) + 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):