[Buildbot-devel] problem with 'builddir' property of builders ...

Brian Warner warner-buildbot at lothar.com
Wed Jun 14 14:33:58 UTC 2006

> now i get an error message: "builder x tries to reuse builddir [project]".

> what is the problem here? i use different builders on different slave 
> machines, so the same builddir name should not be problematic.

The same 'builddir' is used on the master side to hold build logs, so they
have to be unique across the whole buildmaster, not just the buildslaves.
When storing build status, the buildmaster doesn't care which slave was used
to run the build.. everything is keyed off the builder, hence each builder's
builddir must be unique.

This requirement has been around for at least a year or so now, but this
wasn't the case back in the beginning, so it's possible that some of the docs
or warning messages don't express it as well as they should.

FWIW, you can programmatically generate the c['builders'] array in the config
file with a loop that creates unique builddirs for each combination. That
might help clean up some of that redundant code.


More information about the devel mailing list