[Buildbot-devel] problem with buildbot try, subversion, and large diffs

exarkun at twistedmatrix.com exarkun at twistedmatrix.com
Tue Feb 9 17:40:51 UTC 2010


On 02:19 pm, maruel at chromium.org wrote:
>http://src.chromium.org/viewvc/chrome/trunk/tools/buildbot/scripts/common/chromium_config.py?revision=37140&view=markup
>
><http://src.chromium.org/viewvc/chrome/trunk/tools/buildbot/scripts/common/chromium_config.py?revision=37140&view=markup>
>---
>
>from twisted.spread import banana
>
># By default, the banana's string size limit is 640kb, which is 
>unsufficient
># when passing diff's around. Raise it to 100megs. Do this here since 
>the limit
># is enforced on both the server and the client so both need to raise 
>the
># limit.
>banana.SIZE_LIMIT = 100 * 1024 * 1024
>
>---
>
>Then load the script from both master.cfg and buildbot.tac
>
>Example:
>http://src.chromium.org/viewvc/chrome/trunk/tools/buildbot/slave/buildbot.tac?revision=22306&view=markup
>
><http://src.chromium.org/viewvc/chrome/trunk/tools/buildbot/slave/buildbot.tac?revision=22306&view=markup>
>M-A

A better long-term fix for this would be for buildbot to stream data 
which can be arbitrarily large.  Diffs are probably only passed as one 
big chunk because no one thought about them being so big when writing 
that code.

Jean-Paul




More information about the devel mailing list