Yaron Keren
2015-Jun-10 07:18 UTC
[LLVMdev] Why buildbot sanitizer-ppc64-linux1 blames r239459?
I'm trying to understand why the buildbot sanitizer-ppc64-linux1 fails due
to my latest patch. It was in llvm::GlobalValue while the reported failure
is:
strcspn-2.c.tmp:
/home/buildbots/sanitizerslave1/sanitizer-ppc64-1/build/llvm/projects/compiler-rt/test/asan/TestCases/strcspn-2.c:17:
int main(int, char **): Assertion `r == sizeof(s1) - 1' failed.
where strcspn-2.c (below) tests the strcspn function and does not use any
header from LLVM, completely unrelated to GlobalValue.
Yet, the buildbot reports that r239457 and r239458 were built OK and the
failure started in my patch r239459:
http://lab.llvm.org:8011/builders/sanitizer-ppc64-linux1
Why is the builbot blaiming r239459? is this a buildbot bug?
Yaron
strcspn-2.c
===================// Test stopset overflow in strcspn function
// RUN: %clang_asan %s -o %t && ASAN_OPTIONS=strict_string_checks=true
not
%run %t 2>&1 | FileCheck %s
// Test intercept_strcspn asan option
// RUN: ASAN_OPTIONS=intercept_strspn=false %run %t 2>&1
#include <assert.h>
#include <string.h>
int main(int argc, char **argv) {
size_t r;
char s1[] = "ab";
char s2[] = {'c', 'd'};
char s3 = 0;
r = strcspn(s1, s2);
// CHECK:'s{{[2|3]}}' <== Memory access at offset {{[0-9]+
.*}}flows this
variable
assert(r == sizeof(s1) - 1);
return 0;
}
Buildbot report
==========================
From: <llvm.buildmaster at lab.llvm.org>
Date: 2015-06-10 9:59 GMT+03:00
Subject: buildbot failure in LLVM on sanitizer-ppc64-linux1
To: Yaron Keren <yaron.keren at gmail.com>
Cc: gkistanova at gmail.com
The Buildbot has detected a new failure on builder sanitizer-ppc64-linux1
while building llvm.
Full details are available at:
http://lab.llvm.org:8011/builders/sanitizer-ppc64-linux1/builds/7369
Buildbot URL: http://lab.llvm.org:8011/
Buildslave for this Build: sanitizer-ppc64-1
Build Reason: scheduler
Build Source Stamp: [branch trunk] 239459
Blamelist: yrnkrn
BUILD FAILED: failed annotate failed run asan-dynamic tests
sincerely,
-The Buildbot
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20150610/645d7cd9/attachment.html>
Yury Gribov
2015-Jun-10 07:30 UTC
[LLVMdev] Why buildbot sanitizer-ppc64-linux1 blames r239459?
On 06/10/2015 10:18 AM, Yaron Keren wrote:> I'm trying to understand why the buildbot sanitizer-ppc64-linux1 fails due > to my latest patch. It was in llvm::GlobalValue while the reported failure > is: > > strcspn-2.c.tmp: > /home/buildbots/sanitizerslave1/sanitizer-ppc64-1/build/llvm/projects/compiler-rt/test/asan/TestCases/strcspn-2.c:17: > int main(int, char **): Assertion `r == sizeof(s1) - 1' failed. > > where strcspn-2.c (below) tests the strcspn function and does not use any > header from LLVM, completely unrelated to GlobalValue. > Yet, the buildbot reports that r239457 and r239458 were built OK and the > failure started in my patch r239459: > > http://lab.llvm.org:8011/builders/sanitizer-ppc64-linux1 > > Why is the builbot blaiming r239459? is this a buildbot bug?Hi Yaron, It's not about your patch - the testcase was flaky which should now be fixed with r239461. -Y
Yaron Keren
2015-Jun-10 07:33 UTC
[LLVMdev] Why buildbot sanitizer-ppc64-linux1 blames r239459?
Thanks! 2015-06-10 10:30 GMT+03:00 Yury Gribov <y.gribov at samsung.com>:> On 06/10/2015 10:18 AM, Yaron Keren wrote: > >> I'm trying to understand why the buildbot sanitizer-ppc64-linux1 fails due >> to my latest patch. It was in llvm::GlobalValue while the reported failure >> is: >> >> strcspn-2.c.tmp: >> >> /home/buildbots/sanitizerslave1/sanitizer-ppc64-1/build/llvm/projects/compiler-rt/test/asan/TestCases/strcspn-2.c:17: >> int main(int, char **): Assertion `r == sizeof(s1) - 1' failed. >> >> where strcspn-2.c (below) tests the strcspn function and does not use any >> header from LLVM, completely unrelated to GlobalValue. >> Yet, the buildbot reports that r239457 and r239458 were built OK and the >> failure started in my patch r239459: >> >> http://lab.llvm.org:8011/builders/sanitizer-ppc64-linux1 >> >> Why is the builbot blaiming r239459? is this a buildbot bug? >> > > Hi Yaron, > > It's not about your patch - the testcase was flaky which should now be > fixed with r239461. > > -Y > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150610/b2b35d86/attachment.html>