Version 3 (modified by zooko, at 2009-03-09T03:40:27Z) (diff) |
---|
There are two classes of builder for the Tahoe Buildbot: Supported and Unsupported. The basic policy is that packages are produced only when the supported builders are green, and if a supported builder goes red then we fix it right away.
- It could be we just committed a patch that breaks Tahoe in a way that makes a test fail on that builder. In this case we either:
- Revert that patch.
- Commit a new patch that fixes the previous patch (careful ...)
- It could be that the new patch doesn't break Tahoe, but that the unit tests incorrectly think it does, in which case we either:
- Commit a new patch that fixes the unit tests.
- Commit a new patch that marks that test as "skip" on that builder.
- It could be that something in the configuration of the build machine has changed which breaks Tahoe and/or Tahoe's unit tests. In that case we either:
- Commit a new patch which makes Tahoe work on that new configuration.
- Get the administrator of that build machine to change the configuration so that Tahoe works again.
In any of these cases, we might be unable to resolve the redness in a timely manner. In that case we demote that builder from the Supported Builders page to the Unsupported Builders page, as linked from the Buildbot button at the top of every page on this site.
The fact that packages (.deb's, tarballs/zipfiles/etc., .egg's) are produced only when all supported builders are green means that you know when you download one of those packages that you are getting a package produced from a version of the source code that passed all tests on all supported platforms.
(It might be nice if we did build packages even for versions of the software that didn't pass all tests, but segregated those packages somehow, such as put them in a separate download directory or a separate apt repository. I don't know exactly how to program buildbot to do that, though. --Zooko 2009-03-08)