From 8fdae07e7ea5b0079793e5a62271b86605243d70 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Sun, 31 Jul 2016 16:26:11 -0400 Subject: [PATCH] Some logging for buildroot readiness. --- rida/builder.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/rida/builder.py b/rida/builder.py index 58d7cbd8..9ade087b 100644 --- a/rida/builder.py +++ b/rida/builder.py @@ -207,13 +207,19 @@ class KojiModuleBuilder(GenericBuilder): log.info("%r checking buildroot readiness for " "repo: %r, tag_id: %r, artifacts: %r, builds: %r" % ( self, repo, tag_id, artifacts, builds)) - return bool(koji.util.checkForBuilds( + ready = bool(koji.util.checkForBuilds( self.koji_session, tag_id, builds, repo['create_event'], latest=True, )) + if ready: + log.info("%r buildroot is ready" % self) + else: + log.info("%r buildroot is not yet ready.. wait." % self) + return ready + @staticmethod def get_disttag_srpm(disttag):