[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 01:46:16 PDT 2026
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-gcc-ubuntu-no-asserts` running on `doug-worker-6` while building `clang` at step 6 "test-build-unified-tree-check-all".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/202/builds/6214
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 6 (test-build-unified-tree-check-all) failure: test (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/buildbot-root/gcc-no-asserts/build/tools/clang/test/Analysis/Scalable/ssaf-format/WPASuite/Output/with-plugin.test.tmp
# executed command: rm -rf /home/buildbot/buildbot-root/gcc-no-asserts/build/tools/clang/test/Analysis/Scalable/ssaf-format/WPASuite/Output/with-plugin.test.tmp
# note: command had no output on stdout or stderr
# RUN: at line 6
mkdir -p /home/buildbot/buildbot-root/gcc-no-asserts/build/tools/clang/test/Analysis/Scalable/ssaf-format/WPASuite/Output/with-plugin.test.tmp
# executed command: mkdir -p /home/buildbot/buildbot-root/gcc-no-asserts/build/tools/clang/test/Analysis/Scalable/ssaf-format/WPASuite/Output/with-plugin.test.tmp
# note: command had no output on stdout or stderr
# RUN: at line 14
not /home/buildbot/buildbot-root/gcc-no-asserts/build/bin/clang-ssaf-format --load /home/buildbot/buildbot-root/gcc-no-asserts/build/lib/SSAFExamplePlugin.so --type wpa /home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/clang/test/Analysis/Scalable/ssaf-format/WPASuite/Inputs/result-entry-missing-result-field.json 2>&1 | /home/buildbot/buildbot-root/gcc-no-asserts/build/bin/FileCheck /home/buildbot/buildbot-root/gcc-no-asserts/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/buildbot-root/gcc-no-asserts/build/bin/clang-ssaf-format --load /home/buildbot/buildbot-root/gcc-no-asserts/build/lib/SSAFExamplePlugin.so --type wpa /home/buildbot/buildbot-root/gcc-no-asserts/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/buildbot-root/gcc-no-asserts/build/bin/FileCheck /home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/clang/test/Analysis/Scalable/ssaf-format/WPASuite/with-plugin.test --match-full-lines --check-prefix=NO-RESULT-FIELD
# .---command stderr------------
# | [1m/home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/clang/test/Analysis/Scalable/ssaf-format/WPASuite/with-plugin.test:16:21: [0m[0;1;31merror: [0m[1mNO-RESULT-FIELD: expected string not found in input
[0m# | [1m[0m// NO-RESULT-FIELD: clang-ssaf-format: error: reading WPASuite from file '{{.*}}result-entry-missing-result-field.json'
# | [0;1;32m ^
[0m# | [0;1;32m[0m[1m<stdin>:1:1: [0m[0;1;30mnote: [0m[1mscanning from here
[0m# | [1m[0mPLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and instructions to reproduce the bug.
# | [0;1;32m^
[0m# | [0;1;32m[0m[1m<stdin>:3:263: [0m[0;1;30mnote: [0m[1mpossible intended match here
[0m# | [1m[0m0. Program arguments: /home/buildbot/buildbot-root/gcc-no-asserts/build/bin/clang-ssaf-format --load /home/buildbot/buildbot-root/gcc-no-asserts/build/lib/SSAFExamplePlugin.so --type wpa /home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/clang/test/Analysis/Scalable/ssaf-format/WPASuite/Inputs/result-entry-missing-result-field.json
# | [0;1;32m ^
[0m# | [0;1;32m[0m
# | Input file: <stdin>
# | Check file: /home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/clang/test/Analysis/Scalable/ssaf-format/WPASuite/with-plugin.test
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | [1m[0m[0;1;30m 1: [0m[1m[0;1;46mPLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and instructions to reproduce the bug. [0m
# | [0;1;31mcheck:16'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
[0m# | [0;1;31m[0m[0;1;30m 2: [0m[1m[0;1;46mStack dump: [0m
# | [0;1;31mcheck:16'0 ~~~~~~~~~~~~
[0m# | [0;1;31m[0m[0;1;30m 3: [0m[1m[0;1;46m0. Program arguments: /home/buildbot/buildbot-root/gcc-no-asserts/build/bin/clang-ssaf-format --load /home/buildbot/buildbot-root/gcc-no-asserts/build/lib/SSAFExamplePlugin.so --type wpa /home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/clang/test/Analysis/Scalable/ssaf-format/WPASuite/Inputs/result-entry-missing-result-field.json [0m
# | [0;1;31mcheck:16'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m# | [0;1;31m[0m[0;1;35mcheck:16'1 ? possible intended match
[0m# | [0;1;35m[0m[0;1;30m 4: [0m[1m[0;1;46m#0 0x00005f07c4c0709f llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/home/buildbot/buildbot-root/gcc-no-asserts/build/bin/clang-ssaf-format+0x61809f) [0m
# | [0;1;31mcheck:16'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m# | [0;1;31m[0m[0;1;30m 5: [0m[1m[0;1;46m#1 0x00005f07c4c03d34 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0 [0m
# | [0;1;31mcheck:16'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m# | [0;1;31m[0m[0;1;30m 6: [0m[1m[0;1;46m#2 0x000077db9ef7d420 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x14420) [0m
# | [0;1;31mcheck:16'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
```
</details>
https://github.com/llvm/llvm-project/pull/187403
More information about the cfe-commits
mailing list