[Buildbot-devel] force requests under original buildset

Jorge Gonzalez gjorge at google.com
Tue Oct 9 16:24:11 UTC 2012


On Mon, Oct 8, 2012 at 7:57 PM, Dustin J. Mitchell <dustin at v.igoro.us>wrote:

> On Mon, Oct 8, 2012 at 1:09 PM, Jorge Gonzalez <gjorge at google.com> wrote:
> > did you mean read-only?
>
> I meant write-once, actually, but close enough :)
>
> > Indeed. In fact, after sending my email I kept on looking at my DB in
> more
> > detail and realized that forced rebuilds actually create yet another
> > sourcestamp with everything remaining equal to the original with
> exception
> > of its ID. This fact is making me consider starting from the Changes, and
> > work my way up to Builds...  pretty much navigating all the object
> > hierarchy.
>
> And even that is error-prone..
>
> > I take you want this because you are not assuming that changes will
> > necessarily be brought into buildbot in a chronological order that honors
> > their topological order in their original trees?
>
> Correct -- and because chronological is not topological, even for
> sequential-revision VCS's like SVN -- if I have a commit to 'trunk',
> followed by two commits to 'branches/devel' that both fail, followed
> by another commit to 'trunk', buildbot's status-reporting stuff will
> report the final commit as having "fixed" the problem
> (failedToSuccess).
>
Yes, I had to implement something myself to avoid mixing up branch / repo
state changes when alerting.

>
> I have daydreams about automatically bisecting changes, too - when
> running behind, Buildbot would build the most recent commit first,
>
Yes, I already crafted this policy with the build request and builder
prioritization configurable functions. Although it'd be neat to have a
built-in implementation of the policy that can be configured.

> then successively try to bisect its backlog as time permitted.
>
exactly my next enhancement, particularly useful when searching for culprit
changes when the tree is still broken.

>
> Dustin
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20121009/bfd3d61a/attachment.html>


More information about the devel mailing list