[Buildbot] #3261: Custom IRC Notifications

Buildbot trac trac at buildbot.net
Wed May 20 18:23:00 UTC 2015


#3261: Custom IRC Notifications
------------------------+-----------------------
Reporter:  jroelofs     |      Owner:
    Type:  enhancement  |     Status:  new
Priority:  major        |  Milestone:  undecided
 Version:  0.8.10       |   Keywords:  irc
------------------------+-----------------------
 In the LLVM community, we've got a discussion going about how noisy our
 buildbots are. One solution that came up was the possibility to customize
 the format of the messages that buildbot outputs to reduce duplication.

 Current messages look like this:

 {{{
 11:53:13 AM - llvmbb___: build #387 of libcxx-libcxxabi-x86_64-linux-
 ubuntu-asan is complete: Failure [failed test.libcxx]  Build details are
 at http://lab.llvm.org:8011/builders/libcxx-libcxxabi-x86_64-linux-ubuntu-
 asan/builds/387  blamelist: marshall
 }}}

 and are quite lengthy, and contain a lot of duplicate information.


 It would be excellent if we could configure that to be something like:

 {{{
 11:53:13 AM - llvmbb___: r23725 (#387) http://lab.llvm.org:8011/builders
 /libcxx-libcxxabi-x86_64-linux-ubuntu-asan/builds/387 - FAILED blamelist:
 marshall
 }}}

 Even better if the urls could be optionally fed through a public shortener
 like:

 {{{
 11:53:13 AM - llvmbb___: r23725 (#387) libcxx-libcxxabi-x86_64-linux-
 ubuntu-asan http://bit.ly/1HhLLZU - FAILED blamelist: marshall
 }}}

 Or better yet, through a buildbot hosted shortener, like:
 {{{
 11:53:13 AM - llvmbb___: r23725 (#387) libcxx-libcxxabi-x86_64-linux-
 ubuntu-asan http://lab.llvm.org:8011/1HhLLZU - FAILED blamelist: marshall
 }}}


 AFAICT, such configuration isn't supported by buildbot.status.words.IRC:
 http://docs.buildbot.net/latest/manual/cfg-statustargets.html#irc-bot

 I don't know much about the internals of buildbot to suggest a design
 here, but I think it would be awesome if we could register a callback with
 that class to create the custom message format, and return the string to
 be printed.

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


More information about the bugs mailing list