[Buildbot-commits] [Buildbot] #1688: there should be some way to retry builds that fail in setupBuild without submitting new Changes.

Buildbot trac trac at buildbot.net
Sat Mar 15 18:36:32 UTC 2014


#1688: there should be some way to retry builds that fail in setupBuild without
submitting new Changes.
------------------------+-----------------------
Reporter:  bhearsum     |       Owner:  dustin
    Type:  enhancement  |      Status:  assigned
Priority:  major        |   Milestone:  0.9.0
 Version:  0.8.2        |  Resolution:
Keywords:               |
------------------------+-----------------------
Changes (by tardyp):

 * owner:  jaredgrubb => dustin


Old description:

> We hit an issue on a master recently where a reconfig failed part way
> through and caused a bunch of our custom code to have bad references in
> it. In turn, this caused a great number of builds to fail with a
> setupBuild exception. Even when a setupBuild exception occurs for another
> reason it really sucks that the builds never start and are never retried.
> I think that Buildbot should either retry them automatically are make it
> a lot easier to retry them.
>
> Because the builds never started we wouldn't be able to make use of the
> RETRY status to make this happen. I was chatting with Catlee about this
> and he suggested that we might be able to accomplish this by running
> newBuild() in a try/except block and resetting claimed_at/claimed_by if
> it fails, possibly after waiting some period of time.

New description:

 We hit an issue on a master recently where a reconfig failed part way
 through and caused a bunch of our custom code to have bad references in
 it. In turn, this caused a great number of builds to fail with a
 setupBuild exception. Even when a setupBuild exception occurs for another
 reason it really sucks that the builds never start and are never retried.
 I think that Buildbot should either retry them automatically are make it a
 lot easier to retry them.

 Because the builds never started we wouldn't be able to make use of the
 RETRY status to make this happen. I was chatting with Catlee about this
 and he suggested that we might be able to accomplish this by running
 newBuild() in a try/except block and resetting claimed_at/claimed_by if it
 fails, possibly after waiting some period of time.

--

Comment:

 reassign to dustin, as jared is not really working on it anymore

-- 
Ticket URL: <http://trac.buildbot.net/ticket/1688#comment:6>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list