Bug 8196

Summary: [autobuilder] Build continues if fetch fails, building random revision
Product: [Infrastructure] AutoBuilder Reporter: Ross Burton <ross.burton>
Component: autobuilderAssignee: Beth Flanagan <elizabeth.flanagan>
Status: VERIFIED FIXED QA Contact: Mihail Stanciu <stanciux.mihail>
Severity: major    
Priority: Medium+ CC: bogdanx.a.voiculescu, infras.ab.watcher, Infras.watcher, richard.purdie, sgw
Version: unspecified   
Target Milestone: 1.9 M3   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Bug Depends on:    
Bug Blocks: 8249    

Description Ross Burton 2015-08-21 10:40:47 UTC
If the SHA that is requested doesn't exist on the branch (bug 8195) the reset fails but the build continues. It then ends up building random content.

The git checkout step should check for failure at every step, and a failure should mean that the build is aborted as a bad fetch means we can't build.
Comment 2 Saul Wold 2015-08-27 14:40:47 UTC
Richard has already added some code, please verify and close these based on those changes
Comment 4 Mihail Stanciu 2015-09-21 09:22:20 UTC
Verified.