From a52037b67a92e41899db7ee4c97d06310e044c92 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Thu, 21 Jul 2016 09:23:07 -0400 Subject: [PATCH] Log around waiting.. --- rida/builder.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rida/builder.py b/rida/builder.py index 03977769..8a78fa51 100644 --- a/rida/builder.py +++ b/rida/builder.py @@ -374,6 +374,7 @@ chmod 644 %buildroot/%_rpmconfigdir/macro.modules start = time.time() timeout = 60 # minutes + log.info("Waiting for task_id=%s to finish" % task_id) while True: if (time.time() - start) >= (timeout * 60.0): break @@ -383,6 +384,7 @@ chmod 644 %buildroot/%_rpmconfigdir/macro.modules except koji.GenericError: time.sleep(30) + log.info("Done waiting for task_id=%s to finish" % task_id) return 1 def build(self, artifact_name, source):