<div dir="ltr">one more: <div><a href="http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux/builds/24972/steps/run%20asan%20lit%20tests%20%5Bx86%2Ffugu-userdebug%2FLMY48N%5D/logs/stdio">http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux/builds/24972/steps/run%20asan%20lit%20tests%20%5Bx86%2Ffugu-userdebug%2FLMY48N%5D/logs/stdio</a><br></div><div><br></div><div><pre style="font-family:'courier new',courier,monotype,monospace;color:rgb(0,0,0);font-size:medium"><span class="gmail-stdout">Testing: 0 .. 10.. 20..
FAIL: AddressSanitizer-i686-android :: TestCases/Posix/halt_on_error-torture.cc (108 of 366)
******************** TEST 'AddressSanitizer-i686-android :: TestCases/Posix/halt_on_error-torture.cc' FAILED ********************
Script:
--
/mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/llvm/projects/compiler-rt/test/asan/android_commands/android_compile.py  /mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/llvm_build64/bin/clang --driver-mode=g++ -fsanitize=address -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -gline-tables-only --target=i686-linux-android --sysroot=/mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/../../../android-ndk/standalone-x86/sysroot -B/mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/../../../android-ndk/standalone-x86 -lm -shared-libasan -fsanitize-recover=address -pthread /mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/llvm/projects/compiler-rt/test/asan/TestCases/Posix/halt_on_error-torture.cc -o /mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/compiler_rt_build_android_x86/test/asan/I686AndroidConfig/TestCases/Posix/Output/halt_on_error-torture.cc.tmp
rm -f 1.txt
env ASAN_OPTIONS=halt_on_error=false:suppress_equal_pcs=false  /mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/compiler_rt_build_android_x86/test/asan/I686AndroidConfig/TestCases/Posix/Output/halt_on_error-torture.cc.tmp 1 10 >>1.txt 2>&1
FileCheck /mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/llvm/projects/compiler-rt/test/asan/TestCases/Posix/halt_on_error-torture.cc < 1.txt
[ $(grep -c 'ERROR: AddressSanitizer: use-after-poison' 1.txt) -eq 10 ]
FileCheck --check-prefix=CHECK-NO-COLLISION /mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/llvm/projects/compiler-rt/test/asan/TestCases/Posix/halt_on_error-torture.cc < 1.txt
rm -f 10.txt
env ASAN_OPTIONS=halt_on_error=false:suppress_equal_pcs=false  /mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/compiler_rt_build_android_x86/test/asan/I686AndroidConfig/TestCases/Posix/Output/halt_on_error-torture.cc.tmp 10 20 >>10.txt 2>&1 || true
FileCheck --check-prefix=CHECK-COLLISION /mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/llvm/projects/compiler-rt/test/asan/TestCases/Posix/halt_on_error-torture.cc < 10.txt || FileCheck --check-prefix=CHECK-NO-COLLISION /mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/llvm/projects/compiler-rt/test/asan/TestCases/Posix/halt_on_error-torture.cc < 10.txt
rm -f 20.txt
env ASAN_OPTIONS=halt_on_error=false  /mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/compiler_rt_build_android_x86/test/asan/I686AndroidConfig/TestCases/Posix/Output/halt_on_error-torture.cc.tmp 10 20 >>20.txt 2>&1 || true
FileCheck --check-prefix=CHECK-COLLISION /mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/llvm/projects/compiler-rt/test/asan/TestCases/Posix/halt_on_error-torture.cc < 20.txt || FileCheck --check-prefix=CHECK-NO-COLLISION /mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/llvm/projects/compiler-rt/test/asan/TestCases/Posix/halt_on_error-torture.cc < 20.txt
--
Exit Code: 1

Command Output (stderr):
--
/mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/llvm/projects/compiler-rt/test/asan/TestCases/Posix/halt_on_error-torture.cc:79:22: error: expected string not found in input
 // CHECK-COLLISION: AddressSanitizer: nested bug in the same thread, aborting
                     ^
<stdin>:1:1: note: scanning from here
=================================================================
^
<stdin>:27:10: note: possible intended match here
SUMMARY: AddressSanitizer: use-after-poison /mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/llvm/projects/compiler-rt/test/asan/TestCases/Posix/halt_on_error-torture.cc:48:14 in run(void*)
         ^
/mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/llvm/projects/compiler-rt/test/asan/TestCases/Posix/halt_on_error-torture.cc:80:25: error: expected string not found in input
 // CHECK-NO-COLLISION: All threads terminated
                        ^
<stdin>:1:1: note: scanning from here
=================================================================
^
<stdin>:3:27: note: possible intended match here
WRITE of size 1 at 0xf5bffc60 thread T1
                          ^

--
</span></pre></div><div><span class="gmail-stdout"><br></span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 1, 2016 at 12:54 AM, Maxim Ostapenko <span dir="ltr"><<a href="mailto:m.ostapenko@samsung.com" target="_blank">m.ostapenko@samsung.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 22/07/16 04:13, Kostya Serebryany via llvm-commits wrote:<br>
</span><span class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Do you think this is fully fixed?<br>
I've seen it fail on my local machine just now (passes when I repeat)<br>
</blockquote>
<br></span>
Should be fixed by <a href="https://reviews.llvm.org/rL277324" rel="noreferrer" target="_blank">https://reviews.llvm.org/rL277324</a>. Sorry for long delay! Please kick me again if this error still occurs.<br>
<br>
-Maxim<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
<br>
On Fri, Jul 15, 2016 at 12:57 AM, Maxim Ostapenko via llvm-commits <<a href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@lists.llvm.org</a> <mailto:<a href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@lists.llvm.org</a>>> wrote:<br>
<br>
    Author: chefmax<br>
    Date: Fri Jul 15 02:57:43 2016<br>
    New Revision: 275539<br>
<br>
    URL: <a href="http://llvm.org/viewvc/llvm-project?rev=275539&view=rev" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project?rev=275539&view=rev</a><br>
    Log:<br>
    [asan] Reduce flakiness of halt_on_error-torture.cc testcase.<br>
<br>
    It seems in some situations we have clashes on very first error so<br>
    test only prints "nested bug in the same thread, aborting" rather<br>
    than "use-after-poison", so remove corresponding " RUN: FileCheck<br>
    %s < 10.txt" line.<br>
    Also, the two last " RUN: FileCheck --check-prefix=CHECK-COLLISION<br>
    %s < 1.txt || FileCheck --check-prefix=CHECK-NO-COLLISION %s <<br>
    1.txt" look wrong, they should check 10.txt. Fix these lines too.<br>
<br>
    Differential Revision: <a href="https://reviews.llvm.org/D22309" rel="noreferrer" target="_blank">https://reviews.llvm.org/D22309</a><br>
<br>
    Modified:<br>
    compiler-rt/trunk/test/asan/TestCases/Posix/halt_on_error-torture.cc<br>
<br>
    Modified:<br>
    compiler-rt/trunk/test/asan/TestCases/Posix/halt_on_error-torture.cc<br>
    URL:<br>
    <a href="http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Posix/halt_on_error-torture.cc?rev=275539&r1=275538&r2=275539&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Posix/halt_on_error-torture.cc?rev=275539&r1=275538&r2=275539&view=diff</a><br>
    ==============================================================================<br>
    ---<br>
    compiler-rt/trunk/test/asan/TestCases/Posix/halt_on_error-torture.cc<br>
    (original)<br>
    +++<br>
    compiler-rt/trunk/test/asan/TestCases/Posix/halt_on_error-torture.cc<br>
    Fri Jul 15 02:57:43 2016<br>
    @@ -9,15 +9,11 @@<br>
     //<br>
     // Collisions are unlikely but still possible so we need the ||.<br>
     // RUN:<br>
    %env_asan_opts=halt_on_error=false:suppress_equal_pcs=false %run<br>
    %t 10 20 >10.txt 2>&1 || true<br>
    -// This one is racy although _very_ unlikely to fail:<br>
    -// RUN: FileCheck %s < 10.txt<br>
    -// RUN: FileCheck --check-prefix=CHECK-COLLISION %s < 1.txt ||<br>
    FileCheck --check-prefix=CHECK-NO-COLLISION %s < 1.txt<br>
    +// RUN: FileCheck --check-prefix=CHECK-COLLISION %s < 10.txt ||<br>
    FileCheck --check-prefix=CHECK-NO-COLLISION %s < 10.txt<br>
     //<br>
     // Collisions are unlikely but still possible so we need the ||.<br>
     // RUN: %env_asan_opts=halt_on_error=false %run %t 10 20 >10.txt<br>
    2>&1 || true<br>
    -// This one is racy although _very_ unlikely to fail:<br>
    -// RUN: FileCheck %s < 10.txt<br>
    -// RUN: FileCheck --check-prefix=CHECK-COLLISION %s < 1.txt ||<br>
    FileCheck --check-prefix=CHECK-NO-COLLISION %s < 1.txt<br>
    +// RUN: FileCheck --check-prefix=CHECK-COLLISION %s < 10.txt ||<br>
    FileCheck --check-prefix=CHECK-NO-COLLISION %s < 10.txt<br>
<br>
     #include <stdio.h><br>
     #include <stdlib.h><br>
<br>
<br>
    _______________________________________________<br>
    llvm-commits mailing list<br></div></div>
    <a href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@lists.llvm.org</a> <mailto:<a href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@lists.llvm.org</a>><br>
    <a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits</a><span class=""><br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits</a><br>
</span></blockquote>
<br>
</blockquote></div><br></div>