Bug 11721

Summary: nightly-refkit shouldn't run for older releases
Product: [Infrastructure] AutoBuilder Reporter: Stephano Cetola <stephano>
Component: autobuilderAssignee: Stephano Cetola <stephano>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: brian.avery, infras.ab.watcher, Infras.watcher, joshuagloe, pidge
Version: unspecified   
Target Milestone: 2.4 M2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Stephano Cetola 2017-06-26 17:44:56 UTC
Joshua added to BuildImages which should prevent the BuildImages buildstep
running for older builds:

  http://git.yoctoproject.org/clean/cgit.cgi/yocto-autobuilder/commit/?
id=efdcba7dcfaaebef44903467f280e2622deac266
 
yet there are failures on the AB for krogoth and morty builds where
it's tried to build refkit targets, i.e:

https://autobuilder.yocto.io/builders/nightly-refkit/builds/17
Comment 1 Stephano Cetola 2017-07-11 00:41:28 UTC
This was failing because we are checking for two things:

self.layerversion_core < 10 AND 'refkit' in self.images

In this case, ScrapeTargets was silently failing, and our build ended up being "bitbake -k  \"

https://autobuilder.yocto.io/builders/nightly-refkit/builds/17/steps/ScrapeTargets/logs/stdio

Now that ScrapeTargets is working correctly this should no longer fail.

I'm marking this as fixed based on commit 31cdae85c6758cee5d46d29711ce655ee665a318.