[Buildbot-commits] [Buildbot] #2455: buildbot silently reuses existing run #s

Buildbot nobody at buildbot.net
Thu Feb 21 02:13:06 UTC 2013


#2455: buildbot silently reuses existing run #s
--------------------+------------------------
Reporter:  virgilg  |       Owner:
    Type:  defect   |      Status:  new
Priority:  major    |   Milestone:  undecided
 Version:  0.8.7p1  |  Resolution:
Keywords:           |
--------------------+------------------------

Comment (by dustin):

 By "log directory", I assume you mean a pickle file.  Each builder has a
 directory on the master side, and it's full of files with just a number -
 the build pickles - and files with a numeric prefix - the logfiles.

 Buildbot doesn't save the build numbers (what you're calling "run number")
 anywhere.  When it needs to create a new build, it looks at the filenames
 in the directory, and selects a name one greater than the highest-numbered
 build pickle.  So there's nothing to save.

 The error you're seeing here is mis-phrased.  It occurs when the master
 overwrites an existing logfile, not a build pickle.

 I don't see how caching could be related.

 If this is reproducible, could you try to capture the directory contents
 at key moments?  It would be great to figure out what the sequence of
 events is that leads up to this failure (or any of the other failures
 you've identified).

 These are certainly unusual bugs, and all related to reconfiguration.  Is
 there anything "unusual" about your config that might be related?

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


More information about the Commits mailing list