Bug 4485 - Autobuilder should resolve commit IDs immediately
Summary: Autobuilder should resolve commit IDs immediately
Status: RESOLVED FIXED
Alias: None
Product: AutoBuilder
Classification: Infrastructure
Component: autobuilder (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 1.5 M5
Assignee: Beth Flanagan
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-05-10 15:34 UTC by Richard Purdie
Modified: 2013-09-27 21:30 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 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.