-
Notifications
You must be signed in to change notification settings - Fork 15.2k
Closed
Copy link
Labels
Description
I reported a failure of clang/test/Analysis/live-stmts.cpp here: #125840 (comment)
@nikic replied:
Pretty sure I see spurious failures of that test on aarch64 all the time.
So I'm filing this, to make sure we have an issue for tracking the flaky test.
Failure log, from #125840 (comment):
failure log
-- Testing: 20876 tests, 8 workers --
Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90
FAIL: Clang :: Analysis/live-stmts.cpp (12643 of 20876)
******************** TEST 'Clang :: Analysis/live-stmts.cpp' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 1: /Users/thakis/src/llvm-project/out/gn/bin/clang -cc1 -internal-isystem /Users/thakis/src/llvm-project/out/gn/lib/clang/21/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=debug.DumpLiveExprs /Users/thakis/src/llvm-project/clang/test/Analysis/live-stmts.cpp 2>&1 | /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/Analysis/live-stmts.cpp
+ /Users/thakis/src/llvm-project/out/gn/bin/clang -cc1 -internal-isystem /Users/thakis/src/llvm-project/out/gn/lib/clang/21/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=debug.DumpLiveExprs /Users/thakis/src/llvm-project/clang/test/Analysis/live-stmts.cpp
+ /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/Analysis/live-stmts.cpp
/Users/thakis/src/llvm-project/clang/test/Analysis/live-stmts.cpp:239:16: error: CHECK-EMPTY: is not on the line after the previous match
// CHECK-EMPTY:
^
<stdin>:180:1: note: 'next' match was here
^
<stdin>:177:1: note: previous match ended here
^
<stdin>:178:1: note: non-matching line after previous match is here
ImplicitCastExpr 0x11280d178 '_Bool' <LValueToRValue>
^
Input file: <stdin>
Check file: /Users/thakis/src/llvm-project/clang/test/Analysis/live-stmts.cpp
-dump-input=help explains the following input dump.
Input was:
<<<<<<
.
.
.
175:
176: IntegerLiteral 0x110810820 'int' 1
177:
178: ImplicitCastExpr 0x11280d178 '_Bool' <LValueToRValue>
179: `-DeclRefExpr 0x11280d138 '_Bool' lvalue ParmVar 0x11280cfb8 'b' '_Bool'
180:
empty:239 ! error: match on wrong line
181: ImplicitCastExpr 0x11280d190 '_Bool' <LValueToRValue>
182: `-DeclRefExpr 0x11280d158 '_Bool' lvalue ParmVar 0x11280cfb8 'b' '_Bool'
183:
184: BinaryOperator 0x11280d1a8 '_Bool' '||'
185: |-ImplicitCastExpr 0x11280d178 '_Bool' <LValueToRValue>
.
.
.
>>>>>>
--
********************
Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
********************
Failed Tests (1):
Clang :: Analysis/live-stmts.cpp