Changes between Version 23 and Version 24 of ContinuousIntegration/TestSlaveConfiguration
- Timestamp:
- 01/31/2013 10:58:15 PM (4 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ContinuousIntegration/TestSlaveConfiguration
v23 v24 1 = Dependencies = 2 1 3 A build slave which is to run the Twisted test suite on a particular platform or in a particular configuration needs the following software: 2 4 … … 24 26 * Depends on [http://pypi.python.org/pypi/testtools testtools] 25 27 28 == OS Configuration == 29 26 30 Unfortunately a few tests in Twisted's test suite will fail if certain guarantees are not made by the environment. For example, the multicast tests try to use the actual network stack to send multicast packets. Here are some things that are known about this: 27 31 … … 33 37 }}} 34 38 35 A build slave is created with the `buildbot create-slave` command. This takes the master address, slave name, and slave password as arguments. The master address is `buildbot.twistedmatrix.com:9987`. Several other optional arguments are allowed. It is a good idea to specify a value of around 10 for `--log-count` to avoid unbounded log file growth. If there are special networking considerations, it may also be useful to specify a value for `--keepalive`. Other options generally aren't needed. 39 = Donating a Slave = 36 40 37 If bzr is being used then on the very first build by a new slave a lengthy bzr initialization step is required. This usually needs to be completed manually after buildbot times out the operation for taking too long. The command which will fail on buildbot is: 41 What Buildslaves Do You Want? 38 42 39 {{{ 40 bzr checkout svn://svn.twistedmatrix.com/svn/Twisted/trunk Twisted 41 }}} 43 Adding a buildslave is the first step to improving support on a new platform. 42 44 43 with a working directory of `/path/to/slave-root/builder-name/`. The correct directory should have `Twisted` and `.bzr` directories in it already. Re-running the failed command in that directory will resume the checkout and eventually succeed (perhaps after quite a long time - dozens of minutes, at least - this is expected). 45 You are welcome to provide buildslaves for your favorite platforms. They will initially go in to the "unsupported" buildslave category. The only official requirement is that they maintain a high degree of uptime (see [ContinuousIntegration/FixYourDamnBuildSlave]). 46 47 == Procedure == 44 48 45 49 If you wish to provide a buildslave for twisted, send the follwoing information to buildbot at twisted matrix dot com: … … 61 65 62 66 5. How many parallel builds you want allowed to run. 67 68 == Upgrading Buildslaves == 69 70 Build slaves should in general _not_ be upgraded; the point of having a CI 71 system is to keep things working not to get more better stuff :). Now, if we 72 hit an issue where a builder upgrade would be helpful, and the platform would 73 have a feature we'd like to test, we will surely let you know, and _then_ might 74 be a good time to upgrade. 75 76 If you *are* going to be upgrading, you should send out a notification with 77 each upgrade; shooting an email saying that there are new versions, and noting 78 if there's a resulting build failure (and filing appropriate tickets), would be 79 useful. 80 81 == Creating a Slave == 82 83 A build slave is created with the `buildbot create-slave` command. This takes the master address, slave name, and slave password as arguments. The master address is `buildbot.twistedmatrix.com:9987`. Several other optional arguments are allowed. It is a good idea to specify a value of around 10 for `--log-count` to avoid unbounded log file growth. If there are special networking considerations, it may also be useful to specify a value for `--keepalive`. Other options generally aren't needed.
