| Issue |
165888
|
| Summary |
[clang][analyzer][regression] scopes-cfg-output.cpp test case has suddenly started to fail
|
| Labels |
clang
|
| Assignees |
|
| Reporter |
pawosm-arm
|
I've spotted this in our CI this morning, and it repeats all day today consistently:
```
16:45:51 -- Testing: 88202 tests, 64 workers --
16:45:53 Testing:
16:45:53 FAIL: Clang :: Analysis/scopes-cfg-output.cpp (1344 of 88202)
16:45:53 ******************** TEST 'Clang :: Analysis/scopes-cfg-output.cpp' FAILED ********************
16:45:53 Exit Code: 1
16:45:53
16:45:53 Command Output (stdout):
16:45:53 --
16:45:53 # RUN: at line 1
16:45:53 /workspace/build/stage/bootstrap_compiler/bin/clang -cc1 -internal-isystem /workspace/build/stage/bootstrap_compiler/lib/clang/22/include -nostdsysteminc -analyze -setup-static-analyzer -fcxx-exceptions -fexceptions -analyzer-checker=debug.DumpCFG -analyzer-config cfg-scopes=true /workspace/src/clang/test/Analysis/scopes-cfg-output.cpp > /workspace/build/stage/bootstrap_compiler/tools/clang/test/Analysis/Output/scopes-cfg-output.cpp.tmp 2>&1
16:45:53 # executed command: /workspace/build/stage/bootstrap_compiler/bin/clang -cc1 -internal-isystem /workspace/build/stage/bootstrap_compiler/lib/clang/22/include -nostdsysteminc -analyze -setup-static-analyzer -fcxx-exceptions -fexceptions -analyzer-checker=debug.DumpCFG -analyzer-config cfg-scopes=true /workspace/src/clang/test/Analysis/scopes-cfg-output.cpp
16:45:53 # RUN: at line 2
16:45:53 /workspace/build/stage/bootstrap_compiler/bin/FileCheck --input-file=/workspace/build/stage/bootstrap_compiler/tools/clang/test/Analysis/Output/scopes-cfg-output.cpp.tmp /workspace/src/clang/test/Analysis/scopes-cfg-output.cpp
16:45:53 # executed command: /workspace/build/stage/bootstrap_compiler/bin/FileCheck --input-file=/workspace/build/stage/bootstrap_compiler/tools/clang/test/Analysis/Output/scopes-cfg-output.cpp.tmp /workspace/src/clang/test/Analysis/scopes-cfg-output.cpp
16:45:53 # .---command stderr------------
16:45:53 # | /workspace/src/clang/test/Analysis/scopes-cfg-output.cpp:1384:16: error: CHECK-NEXT: expected string not found in input
16:45:53 # | // CHECK-NEXT: 1: CFGScopeBegin(n2t)
16:45:53 # | ^
16:45:53 # | /workspace/build/stage/bootstrap_compiler/tools/clang/test/Analysis/Output/scopes-cfg-output.cpp.tmp:1347:6: note: scanning from here
16:45:53 # | [B4]
16:45:53 # | ^
16:45:53 # | /workspace/build/stage/bootstrap_compiler/tools/clang/test/Analysis/Output/scopes-cfg-output.cpp.tmp:1350:2: note: possible intended match here
16:45:53 # | 3: CFGScopeBegin(n2t)
16:45:53 # | ^
16:45:53 # |
16:45:53 # | Input file: /workspace/build/stage/bootstrap_compiler/tools/clang/test/Analysis/Output/scopes-cfg-output.cpp.tmp
16:45:53 # | Check file: /workspace/src/clang/test/Analysis/scopes-cfg-output.cpp
16:45:53 # |
16:45:53 # | -dump-input=help explains the following input dump.
16:45:53 # |
16:45:53 # | Input was:
16:45:53 # | <<<<<<
16:45:53 # | .
16:45:53 # | .
16:45:53 # | .
16:45:53 # | 1342: 4: [B3.3] (ImplicitCastExpr, LValueToRValue, _Bool)
16:45:53 # | 1343: T: if [B3.4]
16:45:53 # | 1344: Preds (1): B5
16:45:53 # | 1345: Succs (2): B2 B1
16:45:53 # | 1346:
16:45:53 # | 1347: [B4]
16:45:53 # | next:1384'0 X error: no match found
16:45:53 # | 1348: 1: CFGScopeEnd(n1t)
16:45:53 # | next:1384'0 ~~~~~~~~~~~~~~~~~~~~~
16:45:53 # | 1349: 2: CFGScopeBegin(n1t)
16:45:53 # | next:1384'0 ~~~~~~~~~~~~~~~~~~~~~~~
16:45:53 # | 1350: 3: CFGScopeBegin(n2t)
16:45:53 # | next:1384'0 ~~~~~~~~~~~~~~~~~~~~~~~
16:45:53 # | next:1384'1 ? possible intended match
16:45:53 # | 1351: T: goto label;
16:45:53 # | next:1384'0 ~~~~~~~~~~~~~~~~
16:45:53 # | 1352: Preds (1): B5
16:45:53 # | next:1384'0 ~~~~~~~~~~~~~~~
16:45:53 # | 1353: Succs (1): B1
16:45:53 # | next:1384'0 ~~~~~~~~~~~~~~~
16:45:53 # | 1354:
16:45:53 # | next:1384'0 ~
16:45:53 # | 1355: [B5]
16:45:53 # | next:1384'0 ~~~~~~
16:45:53 # | .
16:45:53 # | .
16:45:53 # | .
16:45:53 # | >>>>>>
16:45:53 # `-----------------------------
16:45:53 # error: command failed with exit status: 1
16:45:53
16:45:53 --
16:45:53
16:45:53 ********************
16:47:18 Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
16:47:19 ********************
16:47:19 Failed Tests (1):
16:47:19 Clang :: Analysis/scopes-cfg-output.cpp
16:47:19
16:47:19
16:47:19 Testing Time: 87.26s
16:47:19
16:47:19 Total Discovered Tests: 121998
16:47:19 Skipped : 222 (0.18%)
16:47:19 Unsupported : 44942 (36.84%)
16:47:19 Passed : 76762 (62.92%)
16:47:19 Expectedly Failed: 71 (0.06%)
16:47:19 Failed : 1 (0.00%)
16:47:20 FAILED: CMakeFiles/check-all /workspace/build/stage/bootstrap_compiler/CMakeFiles/check-all
```
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs