[clang] [clang][ssaf] Add JSONFormat support for WPASuite (PR #187403)

LLVM Continuous Integration via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 8 07:48:09 PDT 2026


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-s390x-linux-lnt` running on `systemz-1` while building `clang` at step 7 "ninja check 1".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/136/builds/7314

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 7 (ninja check 1) failure: stage 1 checked (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/uweigand/sandbox/buildbot/clang-s390x-linux-lnt/stage1/tools/clang/test/Analysis/Scalable/ssaf-format/WPASuite/Output/with-plugin.test.tmp
# executed command: rm -rf /home/uweigand/sandbox/buildbot/clang-s390x-linux-lnt/stage1/tools/clang/test/Analysis/Scalable/ssaf-format/WPASuite/Output/with-plugin.test.tmp
# RUN: at line 6
mkdir -p /home/uweigand/sandbox/buildbot/clang-s390x-linux-lnt/stage1/tools/clang/test/Analysis/Scalable/ssaf-format/WPASuite/Output/with-plugin.test.tmp
# executed command: mkdir -p /home/uweigand/sandbox/buildbot/clang-s390x-linux-lnt/stage1/tools/clang/test/Analysis/Scalable/ssaf-format/WPASuite/Output/with-plugin.test.tmp
# RUN: at line 14
not /home/uweigand/sandbox/buildbot/clang-s390x-linux-lnt/stage1/bin/clang-ssaf-format --load /home/uweigand/sandbox/buildbot/clang-s390x-linux-lnt/stage1/lib/SSAFExamplePlugin.so --type wpa /home/uweigand/sandbox/buildbot/clang-s390x-linux-lnt/llvm/clang/test/Analysis/Scalable/ssaf-format/WPASuite/Inputs/result-entry-missing-result-field.json 2>&1    | /home/uweigand/sandbox/buildbot/clang-s390x-linux-lnt/stage1/bin/FileCheck /home/uweigand/sandbox/buildbot/clang-s390x-linux-lnt/llvm/clang/test/Analysis/Scalable/ssaf-format/WPASuite/with-plugin.test --match-full-lines --check-prefix=NO-RESULT-FIELD
# executed command: not /home/uweigand/sandbox/buildbot/clang-s390x-linux-lnt/stage1/bin/clang-ssaf-format --load /home/uweigand/sandbox/buildbot/clang-s390x-linux-lnt/stage1/lib/SSAFExamplePlugin.so --type wpa /home/uweigand/sandbox/buildbot/clang-s390x-linux-lnt/llvm/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/uweigand/sandbox/buildbot/clang-s390x-linux-lnt/stage1/bin/FileCheck /home/uweigand/sandbox/buildbot/clang-s390x-linux-lnt/llvm/clang/test/Analysis/Scalable/ssaf-format/WPASuite/with-plugin.test --match-full-lines --check-prefix=NO-RESULT-FIELD
# .---command stderr------------
# | /home/uweigand/sandbox/buildbot/clang-s390x-linux-lnt/llvm/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:287: note: possible intended match here
# | 0. Program arguments: /home/uweigand/sandbox/buildbot/clang-s390x-linux-lnt/stage1/bin/clang-ssaf-format --load /home/uweigand/sandbox/buildbot/clang-s390x-linux-lnt/stage1/lib/SSAFExamplePlugin.so --type wpa /home/uweigand/sandbox/buildbot/clang-s390x-linux-lnt/llvm/clang/test/Analysis/Scalable/ssaf-format/WPASuite/Inputs/result-entry-missing-result-field.json
# |                                                                                                                                                                                                                                                                                               ^
# | 
# | Input file: <stdin>
# | Check file: /home/uweigand/sandbox/buildbot/clang-s390x-linux-lnt/llvm/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/uweigand/sandbox/buildbot/clang-s390x-linux-lnt/stage1/bin/clang-ssaf-format --load /home/uweigand/sandbox/buildbot/clang-s390x-linux-lnt/stage1/lib/SSAFExamplePlugin.so --type wpa /home/uweigand/sandbox/buildbot/clang-s390x-linux-lnt/llvm/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 0x000002aa38278782 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/home/uweigand/sandbox/buildbot/clang-s390x-linux-lnt/stage1/bin/clang-ssaf-format+0x5f8782) 
# | check:16'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             5: #1 0x000002aa38275632 llvm::sys::RunSignalHandlers() (/home/uweigand/sandbox/buildbot/clang-s390x-linux-lnt/stage1/bin/clang-ssaf-format+0x5f5632) 
# | check:16'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             6: #2 0x000002aa382757e8 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0 
# | check:16'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             7: #3 0x000003ffbb3fe480 (linux-vdso64.so.1+0x480) 
# | check:16'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...

```

</details>

https://github.com/llvm/llvm-project/pull/187403


More information about the cfe-commits mailing list