[llvm-bugs] [Bug 40351] New: ThinLTO/X86/cfi-devirt.ll test appears flaky

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jan 16 23:31:21 PST 2019


https://bugs.llvm.org/show_bug.cgi?id=40351

            Bug ID: 40351
           Summary: ThinLTO/X86/cfi-devirt.ll test appears flaky
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Interprocedural Optimizations
          Assignee: unassignedbugs at nondot.org
          Reporter: vlad at tsyrklevich.net
                CC: llvm-bugs at lists.llvm.org, peter at pcc.me.uk,
                    tejohnson at google.com

While trying to identify instances of an msan test flake, I also found that
this test is flaking on multiple bots, e.g. some example failures:
http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-bootstrap-msan/builds/9865/steps/annotate/logs/stdio
http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-bootstrap-msan/builds/9862/steps/check-llvm%20check-clang%20stage3%2Fmsan/logs/stdio
http://lab.llvm.org:8011/builders/clang-with-thin-lto-ubuntu/builds/14927/steps/test-stage1-compiler/logs/stdio

Unfortunately the test failure itself doesn't print any useful indication as to
where it's failing:
FAIL: LLVM :: ThinLTO/X86/cfi-devirt.ll (23018 of 29363)
******************** TEST 'LLVM :: ThinLTO/X86/cfi-devirt.ll' FAILED
********************
Script:
--
: 'RUN: at line 5';  
/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/bin/opt
-thinlto-bc -thinlto-split-lto-unit -o
/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/test/ThinLTO/X86/Output/cfi-devirt.ll.tmp.o
/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm/test/ThinLTO/X86/cfi-devirt.ll
: 'RUN: at line 9';  
/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/bin/llvm-lto2
run
/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/test/ThinLTO/X86/Output/cfi-devirt.ll.tmp.o
-save-temps -pass-remarks=.    -verify-machineinstrs=0    -o
/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/test/ThinLTO/X86/Output/cfi-devirt.ll.tmp3
  
-r=/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/test/ThinLTO/X86/Output/cfi-devirt.ll.tmp.o,test,px
  
-r=/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/test/ThinLTO/X86/Output/cfi-devirt.ll.tmp.o,_ZN1A1nEi,p
  
-r=/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/test/ThinLTO/X86/Output/cfi-devirt.ll.tmp.o,_ZN1B1fEi,p
  
-r=/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/test/ThinLTO/X86/Output/cfi-devirt.ll.tmp.o,_ZN1C1fEi,p
  
-r=/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/test/ThinLTO/X86/Output/cfi-devirt.ll.tmp.o,empty,p
  
-r=/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/test/ThinLTO/X86/Output/cfi-devirt.ll.tmp.o,_ZTV1B,
  
-r=/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/test/ThinLTO/X86/Output/cfi-devirt.ll.tmp.o,_ZTV1C,
  
-r=/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/test/ThinLTO/X86/Output/cfi-devirt.ll.tmp.o,_ZN1A1nEi,
  
-r=/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/test/ThinLTO/X86/Output/cfi-devirt.ll.tmp.o,_ZN1B1fEi,
  
-r=/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/test/ThinLTO/X86/Output/cfi-devirt.ll.tmp.o,_ZN1C1fEi,
  
-r=/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/test/ThinLTO/X86/Output/cfi-devirt.ll.tmp.o,_ZTV1B,px
  
-r=/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/test/ThinLTO/X86/Output/cfi-devirt.ll.tmp.o,_ZTV1C,px
2>&1 |
/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/bin/FileCheck
/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm/test/ThinLTO/X86/cfi-devirt.ll
--check-prefix=REMARK
: 'RUN: at line 24';  
/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/bin/llvm-dis
/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/test/ThinLTO/X86/Output/cfi-devirt.ll.tmp3.1.4.opt.bc
-o - |
/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/bin/FileCheck
/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm/test/ThinLTO/X86/cfi-devirt.ll
--check-prefix=CHECK-IR
: 'RUN: at line 28';  
/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/bin/llvm-lto2
run
/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/test/ThinLTO/X86/Output/cfi-devirt.ll.tmp.o
-save-temps -use-new-pm -pass-remarks=.    -verify-machineinstrs=0    -o
/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/test/ThinLTO/X86/Output/cfi-devirt.ll.tmp3
  
-r=/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/test/ThinLTO/X86/Output/cfi-devirt.ll.tmp.o,test,px
  
-r=/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/test/ThinLTO/X86/Output/cfi-devirt.ll.tmp.o,_ZN1A1nEi,p
  
-r=/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/test/ThinLTO/X86/Output/cfi-devirt.ll.tmp.o,_ZN1B1fEi,p
  
-r=/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/test/ThinLTO/X86/Output/cfi-devirt.ll.tmp.o,_ZN1C1fEi,p
  
-r=/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/test/ThinLTO/X86/Output/cfi-devirt.ll.tmp.o,empty,p
  
-r=/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/test/ThinLTO/X86/Output/cfi-devirt.ll.tmp.o,_ZTV1B,
  
-r=/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/test/ThinLTO/X86/Output/cfi-devirt.ll.tmp.o,_ZTV1C,
  
-r=/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/test/ThinLTO/X86/Output/cfi-devirt.ll.tmp.o,_ZN1A1nEi,
  
-r=/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/test/ThinLTO/X86/Output/cfi-devirt.ll.tmp.o,_ZN1B1fEi,
  
-r=/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/test/ThinLTO/X86/Output/cfi-devirt.ll.tmp.o,_ZN1C1fEi,
  
-r=/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/test/ThinLTO/X86/Output/cfi-devirt.ll.tmp.o,_ZTV1B,px
  
-r=/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/test/ThinLTO/X86/Output/cfi-devirt.ll.tmp.o,_ZTV1C,px
2>&1 |
/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/bin/FileCheck
/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm/test/ThinLTO/X86/cfi-devirt.ll
--check-prefix=REMARK
: 'RUN: at line 43';  
/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/bin/llvm-dis
/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/test/ThinLTO/X86/Output/cfi-devirt.ll.tmp3.1.4.opt.bc
-o - |
/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/bin/FileCheck
/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm/test/ThinLTO/X86/cfi-devirt.ll
--check-prefix=CHECK-IR
: 'RUN: at line 50';  
/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/bin/opt
-thinlto-bc -o
/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/test/ThinLTO/X86/Output/cfi-devirt.ll.tmp2.o
/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm/test/ThinLTO/X86/Inputs/empty.ll
: 'RUN: at line 51';   not
/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/bin/llvm-lto2
run
/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/test/ThinLTO/X86/Output/cfi-devirt.ll.tmp.o
/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/test/ThinLTO/X86/Output/cfi-devirt.ll.tmp2.o
-save-temps -pass-remarks=.    -verify-machineinstrs=0    -o
/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/test/ThinLTO/X86/Output/cfi-devirt.ll.tmp3
  
-r=/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/test/ThinLTO/X86/Output/cfi-devirt.ll.tmp.o,test,px
  
-r=/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/test/ThinLTO/X86/Output/cfi-devirt.ll.tmp.o,_ZN1A1nEi,p
  
-r=/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/test/ThinLTO/X86/Output/cfi-devirt.ll.tmp.o,_ZN1B1fEi,p
  
-r=/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/test/ThinLTO/X86/Output/cfi-devirt.ll.tmp.o,_ZN1C1fEi,p
  
-r=/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/test/ThinLTO/X86/Output/cfi-devirt.ll.tmp.o,empty,p
  
-r=/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/test/ThinLTO/X86/Output/cfi-devirt.ll.tmp.o,_ZTV1B,
  
-r=/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/test/ThinLTO/X86/Output/cfi-devirt.ll.tmp.o,_ZTV1C,
  
-r=/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/test/ThinLTO/X86/Output/cfi-devirt.ll.tmp.o,_ZN1A1nEi,
  
-r=/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/test/ThinLTO/X86/Output/cfi-devirt.ll.tmp.o,_ZN1B1fEi,
  
-r=/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/test/ThinLTO/X86/Output/cfi-devirt.ll.tmp.o,_ZN1C1fEi,
  
-r=/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/test/ThinLTO/X86/Output/cfi-devirt.ll.tmp.o,_ZTV1B,px
  
-r=/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/test/ThinLTO/X86/Output/cfi-devirt.ll.tmp.o,_ZTV1C,px
2>&1 |
/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/bin/FileCheck
/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm/test/ThinLTO/X86/cfi-devirt.ll
--check-prefix=ERROR
--
Exit Code: 1

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190117/2c490a10/attachment.html>


More information about the llvm-bugs mailing list