| |
@@ -199,7 +199,7 @@
|
| |
|
| |
tag_id = self.module_target['build_tag']
|
| |
repo = self.koji_session.getRepo(tag_id)
|
| |
- builds = [self.koji_session.getBuild(a) for a in artifacts or []]
|
| |
+ builds = [self.koji_session.getBuild(a, strict=True) for a in artifacts or []]
|
| |
log.info("%r checking buildroot readiness for "
|
| |
"repo: %r, tag_id: %r, artifacts: %r, builds: %r" % (
|
| |
self, repo, tag_id, artifacts, builds))
|
| |
Use the actual name from the NVR instead of component.package when reusing components. This causes issues with SCLs.
While trying to debug FACTORY-2802, I wanted to know the NVR of a component build and its batch but realized I can't. This PR exposes this through the API. Additionally, while looking through the logs, it seems that in the
buildroot_ready
method, occasionallyself.koji_session.getBuild
returnsNone
silently but we actually want it to fail right there if the build isn't found, as it causes issues in thekoji.util.checkForBuilds
method below it.