[Buildbot-devel] Scheduler maintenance windows?

Scott Lamb slamb at slamb.org
Tue Apr 25 07:53:42 UTC 2006

I'm considering a patch to Scheduler to make it avoid scheduling  
anything during a specific window every night. Our Perforce server  
gets backed up nightly and runs a checkpoint, which *locks* the  
database for a ridiculous long time - something like an hour. (The  
Perforce people apparently don't believe in MVCC.) Builds during this  
time fail like this:

     starting p4
     command timed out: 1200 seconds without output, killing pid 5883
     program finished with exit code -1

I suppose I could crank up the timeout on that step a *lot*, but I  
think it's better to just queue builds until the known window has  
ended. Either by time or by the Perforce server's pre- and post- 
backup scripts notifying buildbot in some way.


Scott Lamb <http://www.slamb.org/>

More information about the devel mailing list