Bug 4485

Summary: Autobuilder should resolve commit IDs immediately
Product: [Infrastructure] AutoBuilder Reporter: Richard Purdie <richard.purdie>
Component: autobuilderAssignee: Beth Flanagan <elizabeth.flanagan>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: elizabeth.flanagan, infras.ab.watcher, Infras.watcher, jessica.zhang, sgw
Version: unspecified   
Target Milestone: 1.5 M5   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Richard Purdie 2013-05-10 15:34:19 UTC
If I tell the autobuilder to build master, I'm expecting it to resolve HEAD at the time I push the button. If I then push more changes to a branch whilst its building, the revision the autobuilder builds currently changes depending on when the checkout happens. This is not desirable and leads to confusing builds results.
Comment 1 Beth Flanagan 2013-05-20 17:55:44 UTC
The issue here is that we're setting the commit to check out to be HEAD.

As we don't want nightly to checkout every repo utilized in what it triggers, so we never resolve it in the triggered build. We just pass the commit id as HEAD which leads to this issue.

This is actually the expected behavior although I will agree that it's not the desired behavior.
Comment 2 Beth Flanagan 2013-09-27 04:14:32 UTC
Currently testing. This has quite a number of corner cases due to our ability to mix and match repo/branch/tag. Final move to production pending testing.