[Buildbot-devel] Log file assertion

Nick Trout nick at rockstarvancouver.com
Thu May 26 05:26:11 UTC 2005


> > I think your theory holds water. If I delete the builds as you say
it
> > works. So I think the count needs to be written back sooner?
> 
> Yeah, that sounds like a good idea. I'll add a save() call just after
the
> build gets started. It isn't as easy as I thought, there's some issue
with
> saving Builds that haven't finished yet (you want the on-disk
> representation
> to look like an interrupted build, since if you ever load that copy,
> that's
> what must have happened). But I'll get to it soon.

It appears to happen if you have a build fail, stop the master to fix a
config problem, and then restart, which is a little annoying! :-)
Perhaps, as well as saving the build state you could save the count
somewhere else, so if the build state gets whacked you can start from
the build count to avoid this problem?

Nick






More information about the devel mailing list