Caution
Buildbot no longer supports Python 2.7 on the Buildbot master.
5.67. Release Notes for Buildbot 0.9.0b8¶
The following are the release notes for Buildbot 0.9.0b8 This version was released on April 11, 2016.
See Upgrading to Buildbot 0.9.0 for a guide to upgrading from 0.8.x to 0.9.x
5.67.1. Master¶
5.67.1.1. Features¶
- GitPollernow has a- buildPushesWithNoCommitsoption to allow the rebuild of already known commits on new branches.
- Add GitLab authentication plugin for web UI. See - buildbot.www.oauth2.GitLabAuth.
- DockerLatentWorkernow has a- hostconfigparameter that can be used to setup host configuration when creating a new container.
- DockerLatentWorkernow has a- networking_configparameter that can be used to setup container networks.
- The - DockerLatentWorker- volumesattribute is now renderable.
- CMakebuild step is added. It provides a convenience interface to CMake build system.
- MySQL InnoDB tables are now supported. 
- HttpStatusPushhas been ported to reporter API.
- StashStatusPushhas been ported to reporter API.
- GithubStatusPushhas been ported to reporter API.
- summaryCB of - GerritStatusPushnow gets not only pre-processed information but the actual build as well.
- EC2LatentWorker supports VPCs, instance profiles, and advanced volume mounts. 
5.67.1.2. Fixes¶
- Fix loading - LdapUserInfoplugin and its documentation (bug #3371).
- Fix deprecation warnings seen with docker-py >= 1.4 when passing arguments to - docker_client.start().
- GitHubEventHandlernow uses the- ['repository']['html_url']key in the webhook payload to populate- repository, as the previously used- ['url']and- ['clone_url']keys had a different format between push and pull requests and GitHub and GitHub Enterprise instances.
- Fix race condition where log compression could lead to empty log results in reporter api 
- Error while applying db upgrade is now properly reported in the buildbot upgrade-master command line. 
- Made - Interpolatesafe for deepcopy or serialization/deserialization
- Optimized UI REST requests for child builds and change page. 
- Fix - DockerLatentWorkeruse of volume parameter, they now properly manage src:dest syntax.
- Fix - DockerLatentWorkerto properly create properties so that docker parameters can be renderable.
- Lock down autobahn version for python 2.6 (note that autobahn and twisted are no longer supporting 2.6, and thus do not receive security fixes anymore). 
- Fix docs and example to always use port 8020 for the web ui. 
5.67.1.3. Deprecations, Removals, and Non-Compatible Changes¶
- Deprecated - workdirproperty has been removed,- builddirproperty should be used instead.
- To support MySQL InnoDB, the size of six VARCHAR(256) columns - changes.(author, branch, category, name); object_state.name; user.identifierwas reduced to VARCHAR(255).
- StatusPushhas been removed from buildbot.
- Please use the much simpler - HttpStatusPushinstead.
 
5.67.1.4. Changes for Developers¶
Worker changes described in below worker section will probably impact a buildbot developer who uses undocumented ‘slave’ API. Undocumented APIs have been replaced without failover, so any custom code that uses it shall be updated with new undocumented API.
5.67.2. Worker¶
Package buildbot-slave is being renamed buildbot-worker. As the work is not completely finished, neither buildbot-slave==0.9.0b8 or buildbot-worker==0.9.0b8 have been released.
You can safely use any version of buildbot-slave with buildbot==0.9.0b8, either buildbot-slave==0.8.12 or buildbot-slave==0.9.0b7.
5.67.3. Transition to “worker” terminology¶
Since version 0.9.0 of Buildbot “slave”-based terminology is deprecated in favor of “worker”-based terminology.
For details about public API changes see Transition to “worker” terminology in BuildBot 0.9.0.
API changes done without providing fallback:
| Old name | New name | 
|---|---|
| 
 | |
| 
 | |
| 
 | 
 | 
| 
 | |
| 
 | 
 | 
| 
 | 
 | 
| 
 | |
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
Other changes done without providing fallback:
- Functions argument - buildslaveNamerenamed to- workerName.
- Loop variables, local variables, helper functions: - Old name - New name - s- wor- worker- sl- wor- worker- bs(“buildslave”)- w- sb- wfb(“worker for builder”)- bs1(),- bs2()- w1(),- w2()- bslave- worker- BS1_NAME,- BS1_ID,- BS1_INFO- W1_NAME,- W1_ID,- W1_INFO
- In - buildbot.config.BuilderConfig.getConfigDictresult- 'slavenames'key changed to- 'workernames';- 'slavebuilddir'key changed to- 'workerbuilddir';- 'nextSlave'key changed to- 'nextWorker'.
- buildbot.process.builder.BuilderControl.pingnow generates- ["ping", "no worker"]event, instead of- ["ping", "no slave"].
- buildbot.plugins.util.WorkerChoiceParameter(previously- BuildslaveChoiceParameter) label was changed from- Build slaveto- Worker.
- buildbot.plugins.util.WorkerChoiceParameter(previously- BuildslaveChoiceParameter) default name was changed from- slavenameto- workername.
- buildbot.status.builder.SlaveStatusfallback was removed.- SlaveStatuswas moved to- buildbot.status.builder.slavepreviously, and now it’s- buildbot.status.worker.WorkerStatus.
- buildbot.status.status_push.StatusPushevents generation changed (this module will be completely removed in 0.9.x):- instead of - slaveConnectedwith data- slave=...now generated- workerConnectedevent with data- worker=...;
- instead of - slaveDisconnectedwith data- slavename=...now generated- workerDisconnectedwith data- workername=...;
- instead of - slavePausedwith data- slavename=...now generated- workerPausedevent with data- workername=...;
- instead of - slaveUnpausedwith data- slavename=...now generated- workerUnpausedevent with data- workername=...;
 
- buildbot.status.build.BuildStatus.asDictreturns worker name under- 'worker'key, instead of- 'slave'key.
- buildbot.status.builder.BuilderStatus.asDictreturns worker names under- 'workers'key, instead of- 'slaves'key.
- Definitely privately used “slave”-named variables and attributes were renamed, including tests modules, classes and methods. 
5.67.3.1. Database¶
Database API changes done without providing fallback.
| Old name | New name | 
|---|---|
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | |
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | |
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
5.67.3.2. Data API¶
Python API changes:
| Old name | New name | 
|---|---|
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
Changed REST endpoints:
| Old name | New name | 
|---|---|
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
Changed REST object keys:
| Old name | New name | 
|---|---|
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
data_module version bumped from 1.2.0 to 2.0.0.
5.67.3.3. Web UI¶
In base web UI (www/base) and Material Design web UI (www/md_base) all “slave”-named messages and identifiers were renamed to use “worker” names and new REST API endpoints.
5.67.3.4. MQ layer¶
buildslaveid key in messages were replaced with workerid.
5.67.4. Details¶
For a more detailed description of the changes made in this version, see the git log itself:
git log v0.9.0b7..v0.9.0b8