PATCH: [zorg] Add sanitizer build factory for sanitizer bots setup

Evgeniy Stepanov eugenis at google.com
Thu May 23 05:57:05 PDT 2013


On Thu, May 23, 2013 at 4:51 PM, Alexey Samsonov <samsonov at google.com> wrote:
> Hi, Galina!
>
> We have our private buildbots that run tests for sanitizer projects
> (AddressSanitizer, ThreadSanitizer,
> MemorySanitizer etc.), but we'd like to make them visible to LLVM community,
> and ease the process
> of adding more bots by contributors (e.g. Bill is interested in the bot on
> PowerPC).
>
> This patch adds two files:
> 1) zorg/buildbot/commands/AnnotatedCommand.py is a handy buildbot command
> copied from Chromium project. It can run a random shell command and parse
> its output to understand build steps
> and their results. This makes writing buildbot scripts much easier, as one
> don't have to implement a custom "step" in Python every time.
>
> 2) zorg/buildbot/builders/SanitizerBuilder.py implements a build factory to
> test sanitizers (AddressSanitizer, ThreadSanitizer, MemorySanitizer etc).
> Note that actual buildbot scripts are
> somewhat complicated and are stored in a separate repository:
> https://code.google.com/p/address-sanitizer/source/browse/#svn%2Ftrunk%2Fbuild%2Fscripts%2Fslave
> Using AnnotatedCommand will allow us to update buildbot scripts w/o
> modifying master on zorg.

We could also move slave scripts to LLVM repo, to keep all
configuration in one place. Either way works for us.

>
> --
> Alexey Samsonov, MSK



More information about the llvm-commits mailing list