[clang] [clang][ssaf] Add JSONFormat support for WPASuite (PR #187403)
LLVM Continuous Integration via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 7 22:53:51 PDT 2026
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-clang-ubuntu-x-aarch64-pac-ret` running on `as-builder-11` while building `clang` at step 16 "test-check-clang".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/229/builds/436
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 16 (test-check-clang) failure: Test just built components: check-clang completed (failure)
******************** TEST 'Clang :: Analysis/Scalable/ssaf-format/WPASuite/with-plugin.test' FAILED ********************
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 5
rm -rf /home/buildbot/worker/as-builder-11/x-aarch64-pac-ret/build/tools/clang/test/Analysis/Scalable/ssaf-format/WPASuite/Output/with-plugin.test.tmp
# executed command: rm -rf /home/buildbot/worker/as-builder-11/x-aarch64-pac-ret/build/tools/clang/test/Analysis/Scalable/ssaf-format/WPASuite/Output/with-plugin.test.tmp
# RUN: at line 6
mkdir -p /home/buildbot/worker/as-builder-11/x-aarch64-pac-ret/build/tools/clang/test/Analysis/Scalable/ssaf-format/WPASuite/Output/with-plugin.test.tmp
# executed command: mkdir -p /home/buildbot/worker/as-builder-11/x-aarch64-pac-ret/build/tools/clang/test/Analysis/Scalable/ssaf-format/WPASuite/Output/with-plugin.test.tmp
# RUN: at line 14
not /home/buildbot/worker/as-builder-11/x-aarch64-pac-ret/build/bin/clang-ssaf-format --load /home/buildbot/worker/as-builder-11/x-aarch64-pac-ret/build/lib/SSAFExamplePlugin.so --type wpa /home/buildbot/worker/as-builder-11/x-aarch64-pac-ret/llvm-project/clang/test/Analysis/Scalable/ssaf-format/WPASuite/Inputs/result-entry-missing-result-field.json 2>&1 | /home/buildbot/worker/as-builder-11/x-aarch64-pac-ret/build/bin/FileCheck /home/buildbot/worker/as-builder-11/x-aarch64-pac-ret/llvm-project/clang/test/Analysis/Scalable/ssaf-format/WPASuite/with-plugin.test --match-full-lines --check-prefix=NO-RESULT-FIELD
# executed command: not /home/buildbot/worker/as-builder-11/x-aarch64-pac-ret/build/bin/clang-ssaf-format --load /home/buildbot/worker/as-builder-11/x-aarch64-pac-ret/build/lib/SSAFExamplePlugin.so --type wpa /home/buildbot/worker/as-builder-11/x-aarch64-pac-ret/llvm-project/clang/test/Analysis/Scalable/ssaf-format/WPASuite/Inputs/result-entry-missing-result-field.json
# note: command had no output on stdout or stderr
# error: command failed with exit status: 1
# executed command: /home/buildbot/worker/as-builder-11/x-aarch64-pac-ret/build/bin/FileCheck /home/buildbot/worker/as-builder-11/x-aarch64-pac-ret/llvm-project/clang/test/Analysis/Scalable/ssaf-format/WPASuite/with-plugin.test --match-full-lines --check-prefix=NO-RESULT-FIELD
# .---command stderr------------
# | /home/buildbot/worker/as-builder-11/x-aarch64-pac-ret/llvm-project/clang/test/Analysis/Scalable/ssaf-format/WPASuite/with-plugin.test:16:21: error: NO-RESULT-FIELD: expected string not found in input
# | // NO-RESULT-FIELD: clang-ssaf-format: error: reading WPASuite from file '{{.*}}result-entry-missing-result-field.json'
# | ^
# | <stdin>:1:1: note: scanning from here
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and instructions to reproduce the bug.
# | ^
# | <stdin>:3:293: note: possible intended match here
# | 0. Program arguments: /home/buildbot/worker/as-builder-11/x-aarch64-pac-ret/build/bin/clang-ssaf-format --load /home/buildbot/worker/as-builder-11/x-aarch64-pac-ret/build/lib/SSAFExamplePlugin.so --type wpa /home/buildbot/worker/as-builder-11/x-aarch64-pac-ret/llvm-project/clang/test/Analysis/Scalable/ssaf-format/WPASuite/Inputs/result-entry-missing-result-field.json
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/buildbot/worker/as-builder-11/x-aarch64-pac-ret/llvm-project/clang/test/Analysis/Scalable/ssaf-format/WPASuite/with-plugin.test
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and instructions to reproduce the bug.
# | check:16'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | 2: Stack dump:
# | check:16'0 ~~~~~~~~~~~~
# | 3: 0. Program arguments: /home/buildbot/worker/as-builder-11/x-aarch64-pac-ret/build/bin/clang-ssaf-format --load /home/buildbot/worker/as-builder-11/x-aarch64-pac-ret/build/lib/SSAFExamplePlugin.so --type wpa /home/buildbot/worker/as-builder-11/x-aarch64-pac-ret/llvm-project/clang/test/Analysis/Scalable/ssaf-format/WPASuite/Inputs/result-entry-missing-result-field.json
# | check:16'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:16'1 ? possible intended match
# | 4: #0 0x000055d06340f702 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/home/buildbot/worker/as-builder-11/x-aarch64-pac-ret/build/bin/clang-ssaf-format+0x5f5702)
# | check:16'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 5: #1 0x000055d06340c32c llvm::sys::RunSignalHandlers() (/home/buildbot/worker/as-builder-11/x-aarch64-pac-ret/build/bin/clang-ssaf-format+0x5f232c)
# | check:16'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 6: #2 0x000055d06340c48c SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
# | check:16'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 7: #3 0x00007b0703a45330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# | check:16'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
```
</details>
https://github.com/llvm/llvm-project/pull/187403
More information about the cfe-commits
mailing list