Issue |
126804
|
Summary |
Clang test Analysis/live-stmts.cpp randomly fails on MacOS
|
Labels |
clang
|
Assignees |
|
Reporter |
dyung
|
I have 2 build bots setup to build/test LLVM running on MacOS and I have noticed that the test `clang/test/Analysis/live-stmts.cpp` randomly seems to fail on the bot. I have two identically configured workers running the job, and it has failed on both so it doesn't seem specific to one machine configuration.
Here is a sample of the failing test output:
```
******************** TEST 'Clang :: Analysis/live-stmts.cpp' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 1: /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -cc1 -internal-isystem /Users/buildbot/buildbot-root/aarch64-darwin/build/lib/clang/21/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=debug.DumpLiveExprs /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Analysis/live-stmts.cpp 2>&1 | /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Analysis/live-stmts.cpp
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -cc1 -internal-isystem /Users/buildbot/buildbot-root/aarch64-darwin/build/lib/clang/21/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=debug.DumpLiveExprs /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Analysis/live-stmts.cpp
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Analysis/live-stmts.cpp
/Users/buildbot/buildbot-root/aarch64-darwin/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 0x151009d78 '_Bool' <LValueToRValue>
^
<many lines skipped>
172: [ B3 (live expressions at block exit) ]
173:
174: IntegerLiteral 0x15082f800 'int' 0
check:235 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
175:
empty:236 ^
176: IntegerLiteral 0x15082f820 'int' 1
check:237 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
177:
empty:238 ^
178: ImplicitCastExpr 0x151009d78 '_Bool' <LValueToRValue>
179: `-DeclRefExpr 0x151009d38 '_Bool' lvalue ParmVar 0x151009bb8 'b' '_Bool'
180:
empty:239 ! error: match on wrong line
```
Here are some recent runs of the build bot where the test failure occurred:
- https://lab.llvm.org/buildbot/#/builders/190/builds/14468
- https://lab.llvm.org/buildbot/#/builders/190/builds/14413
- https://lab.llvm.org/buildbot/#/builders/190/builds/14384
- https://lab.llvm.org/buildbot/#/builders/190/builds/14383
- https://lab.llvm.org/buildbot/#/builders/190/builds/14380
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs