[clang] [CIR][NFC] Merge duplicate checks in CodeGenBuiltins tests (PR #196224)
LLVM Continuous Integration via cfe-commits
cfe-commits at lists.llvm.org
Thu May 7 23:57:50 PDT 2026
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `sanitizer-x86_64-linux` running on `sanitizer-buildbot2` while building `clang` at step 2 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/66/builds/30631
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure)
...
[415/421] Generating MSAN_INST_GTEST.gtest-all.cc.x86_64-with-call.o
[416/421] Generating MSAN_INST_GTEST.gtest-all.cc.x86_64.o
[417/421] Generating MSAN_INST_TEST_OBJECTS.msan_test.cpp.x86_64-with-call.o
[418/421] Generating Msan-x86_64-with-call-Test
[419/421] Generating MSAN_INST_TEST_OBJECTS.msan_test.cpp.x86_64.o
[420/421] Generating Msan-x86_64-Test
[420/421] Running compiler_rt regression tests
llvm-lit: /home/b/sanitizer-x86_64-linux/build/llvm-project/llvm/utils/lit/lit/main.py:74: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 11539 tests, 64 workers --
Testing: 0.. 10.. 20.. 30
FAIL: LeakSanitizer-Standalone-i386 :: TestCases/suppressions_default.cpp (4027 of 11539)
******************** TEST 'LeakSanitizer-Standalone-i386 :: TestCases/suppressions_default.cpp' FAILED ********************
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/b/sanitizer-x86_64-linux/build/build_default/./bin/clang --driver-mode=g++ -O0 -m32 -gline-tables-only -fsanitize=leak -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/lsan/../ /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/lsan/TestCases/suppressions_default.cpp -o /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/lsan/I386LsanConfig/TestCases/Output/suppressions_default.cpp.tmp
# executed command: /home/b/sanitizer-x86_64-linux/build/build_default/./bin/clang --driver-mode=g++ -O0 -m32 -gline-tables-only -fsanitize=leak -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/lsan/../ /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/lsan/TestCases/suppressions_default.cpp -o /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/lsan/I386LsanConfig/TestCases/Output/suppressions_default.cpp.tmp
# note: command had no output on stdout or stderr
# RUN: at line 2
env LSAN_OPTIONS=:detect_leaks=1:use_registers=0:use_stacks=0 not /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/lsan/I386LsanConfig/TestCases/Output/suppressions_default.cpp.tmp 2>&1 | FileCheck /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/lsan/TestCases/suppressions_default.cpp
# executed command: env LSAN_OPTIONS=:detect_leaks=1:use_registers=0:use_stacks=0 not /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/lsan/I386LsanConfig/TestCases/Output/suppressions_default.cpp.tmp
# note: command had no output on stdout or stderr
# error: command failed with exit status: 1
# executed command: FileCheck /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/lsan/TestCases/suppressions_default.cpp
# .---command stderr------------
# | /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/lsan/TestCases/suppressions_default.cpp:27:11: error: CHECK: expected string not found in input
# | // CHECK: SUMMARY: {{.*}}Sanitizer: 1337 byte(s) leaked in 1 allocation(s)
# | ^
# | <stdin>:6:29: note: scanning from here
# | 1 666 *LSanTestLeakingFunc*
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/lsan/TestCases/suppressions_default.cpp
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: Test alloc: 0xe7303c00.
# | 2: Test alloc: 0xe7103600.
# | 3: -----------------------------------------------------
# | 4: Suppressions used:
# | 5: count bytes template
# | 6: 1 666 *LSanTestLeakingFunc*
# | check:27 X error: no match found
# | 7: -----------------------------------------------------
Step 14 (test compiler-rt default) failure: test compiler-rt default (failure)
...
[415/421] Generating MSAN_INST_GTEST.gtest-all.cc.x86_64-with-call.o
[416/421] Generating MSAN_INST_GTEST.gtest-all.cc.x86_64.o
[417/421] Generating MSAN_INST_TEST_OBJECTS.msan_test.cpp.x86_64-with-call.o
[418/421] Generating Msan-x86_64-with-call-Test
[419/421] Generating MSAN_INST_TEST_OBJECTS.msan_test.cpp.x86_64.o
[420/421] Generating Msan-x86_64-Test
[420/421] Running compiler_rt regression tests
llvm-lit: /home/b/sanitizer-x86_64-linux/build/llvm-project/llvm/utils/lit/lit/main.py:74: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 11539 tests, 64 workers --
Testing: 0.. 10.. 20.. 30
FAIL: LeakSanitizer-Standalone-i386 :: TestCases/suppressions_default.cpp (4027 of 11539)
******************** TEST 'LeakSanitizer-Standalone-i386 :: TestCases/suppressions_default.cpp' FAILED ********************
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/b/sanitizer-x86_64-linux/build/build_default/./bin/clang --driver-mode=g++ -O0 -m32 -gline-tables-only -fsanitize=leak -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/lsan/../ /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/lsan/TestCases/suppressions_default.cpp -o /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/lsan/I386LsanConfig/TestCases/Output/suppressions_default.cpp.tmp
# executed command: /home/b/sanitizer-x86_64-linux/build/build_default/./bin/clang --driver-mode=g++ -O0 -m32 -gline-tables-only -fsanitize=leak -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/lsan/../ /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/lsan/TestCases/suppressions_default.cpp -o /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/lsan/I386LsanConfig/TestCases/Output/suppressions_default.cpp.tmp
# note: command had no output on stdout or stderr
# RUN: at line 2
env LSAN_OPTIONS=:detect_leaks=1:use_registers=0:use_stacks=0 not /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/lsan/I386LsanConfig/TestCases/Output/suppressions_default.cpp.tmp 2>&1 | FileCheck /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/lsan/TestCases/suppressions_default.cpp
# executed command: env LSAN_OPTIONS=:detect_leaks=1:use_registers=0:use_stacks=0 not /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/lsan/I386LsanConfig/TestCases/Output/suppressions_default.cpp.tmp
# note: command had no output on stdout or stderr
# error: command failed with exit status: 1
# executed command: FileCheck /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/lsan/TestCases/suppressions_default.cpp
# .---command stderr------------
# | /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/lsan/TestCases/suppressions_default.cpp:27:11: error: CHECK: expected string not found in input
# | // CHECK: SUMMARY: {{.*}}Sanitizer: 1337 byte(s) leaked in 1 allocation(s)
# | ^
# | <stdin>:6:29: note: scanning from here
# | 1 666 *LSanTestLeakingFunc*
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/lsan/TestCases/suppressions_default.cpp
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: Test alloc: 0xe7303c00.
# | 2: Test alloc: 0xe7103600.
# | 3: -----------------------------------------------------
# | 4: Suppressions used:
# | 5: count bytes template
# | 6: 1 666 *LSanTestLeakingFunc*
# | check:27 X error: no match found
# | 7: -----------------------------------------------------
```
</details>
https://github.com/llvm/llvm-project/pull/196224
More information about the cfe-commits
mailing list