[Buildbot-commits] [Buildbot] #1009: Add failure signatures to allow detection of builds that fail consecutively for different reasons

Buildbot buildbot-devel at lists.sourceforge.net
Tue Oct 5 20:23:06 UTC 2010


#1009: Add failure signatures to allow detection of builds that fail consecutively
for different reasons
------------------------+---------------------------------------------------
Reporter:  ayust        |       Owner:           
    Type:  enhancement  |      Status:  new      
Priority:  major        |   Milestone:  undecided
 Version:  0.8.1        |    Keywords:           
------------------------+---------------------------------------------------
 It's possible for a given builder to fail twice in a row, but for
 completely different reasons. In this case, we probably still want to see
 problem links in the console for both builds, have it flagged as a new
 failure, et cetera.

 One way to accomplish this would be to allow a step to emit a 'failure
 signature' when it encounters a failure. This failure signature would be a
 string that somehow represents a unique cause of failure for the step.
 (For most steps, this could probably be a hashed version of the error
 message; for test steps, it might be a hashed version of all of the
 failing tests.)

 When a build fails, its failure signature would be compared to the
 signature of the build before it, and if it is different, it would be
 flagged as a 'failed' build instead of a 'failed again' build.

-- 
Ticket URL: <http://buildbot.net/trac/ticket/1009>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list