[PATCH] D62445: [test] Fix plugin tests

Don Hinton via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Aug 4 22:24:50 PDT 2019


hintonda added a comment.

In D62445#1613268 <https://reviews.llvm.org/D62445#1613268>, @NoQ wrote:

> Ugh, there seems to be one more forgotten buildbot with plugins problems: http://green.lab.llvm.org/green/job/clang-stage2-cmake-RgSan/6406/consoleText
>
>   FAIL: Clang :: Analysis/checker-plugins.c (467 of 14955)
>   ******************** TEST 'Clang :: Analysis/checker-plugins.c' FAILED ********************
>   Script:
>   --
>   : 'RUN: at line 3';   /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/bin/clang -cc1 -internal-isystem /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/lib/clang/9.0.0/include -nostdsysteminc -analyze -analyzer-constraints=range -verify /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/llvm/tools/clang/test/Analysis/checker-plugins.c    -load /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/./lib/SampleAnalyzerPlugin.dylib    -analyzer-checker='example.MainCallChecker'


<snip>

> - Exit Code: 1 ```
> 
>   The error message doesn't seem to be very expressive. I also can't reproduce it locally.
> 
>   It got suddenly fixed in http://green.lab.llvm.org/green/job/clang-stage2-cmake-RgSan/6409/ but then immediately failed again later and it's still failing in a similar manner, and nobody noticed for two months =/
> 
>   I'll keep looking into this but i'd love to hear if you have any immediate thoughts on that :)

I don't see anything obvious, but could change the bot to pass "-vv" to lit instead of just "-v"?  That way the actual error will make to the log.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D62445/new/

https://reviews.llvm.org/D62445





More information about the cfe-commits mailing list