[Buildbot-devel] problem with "last build" view incorrect.

Brian Warner warner at lothar.com
Sun Dec 21 03:13:25 UTC 2003

> I have a problem where a build/test failure does not show correctly in 
> the "last build" view (as can be seen below).

In the future, you might want to capture the HTML source of that page, or
(better yet) put a copy up on a web page where it can be downloaded and
displayed in a browser. I wasn't able to make much out of the jumbled and
wrapped text (I couldn't figure out which words came from which column).

> The 'test' step that is run here, is derived from the "RunUnitTest" of 
> the twisted part in BuildBot.
> Does this problem sound familiar to anyone / or can someone help me find 
> out what the exact problem is?

Each individual Step has a pass/warn/fail status. The standard Steps have
some flags to determine how this step-status influences the overall
build-status (the flags have names like .warnOnFailure, .flunkOnfailure,
.flinkOnWarnings). It is possible that your derived step is either not
setting the flags in a way that causes a failed test to flunk the overall
build, or that your step is not returning a FAILURE status tuple.

For an example, take a look at RunUnitTests.finished(), and the way it passes
a (FAILURE, [text]) tuple to self.stepComplete(result) to indicate the

hope that helps.. if not please let us know more details of your setup.


More information about the devel mailing list