[Buildbot-devel] Weird builder status with 0.7.12 [long]

Dustin J. Mitchell dustin at zmanda.com
Sun Aug 29 14:33:00 UTC 2010


On Thu, Aug 26, 2010 at 5:09 PM, Greg Ward <greg at gerg.ca> wrote:
> A-HA!!!  Something fishy is going on here: I *know* that the "linux"
> builder is idle, because a) I just got a call to buildFinished() for
> that builder and b) nobody has started another build in the 70 ms
> since.  And yet the BuilderStatus object claims that it is in state
> "building" ... even though it has no pending builds and no current
> builds.

Even within Twisted (single-threaded) code, I would suspect a race
condition here, but I see that you are running the blocking stuff in
another thread, which opens all sorts of racy possibilities.

My advice is to add some extra log.msg invocations around buildbot to
see if you can figure out when the status is being updated, and why.

Dustin

-- 
Open Source Storage Engineer
http://www.zmanda.com




More information about the devel mailing list