Bug 8196 - [autobuilder] Build continues if fetch fails, building random revision
Summary: [autobuilder] Build continues if fetch fails, building random revision
Status: VERIFIED FIXED
Alias: None
Product: AutoBuilder
Classification: Infrastructure
Component: autobuilder (show other bugs)
Version: unspecified
Hardware: All Multiple
: Medium+ major
Target Milestone: 1.9 M3
Assignee: Beth Flanagan
QA Contact: Mihail Stanciu
URL:
Whiteboard:
Depends on:
Blocks: 8249
  Show dependency tree
 
Reported: 2015-08-21 10:40 UTC by Ross Burton
Modified: 2015-09-21 09:22 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.