[compiler-rt] [Sanitizer] Bump soft_rss_limit_mb in test (PR #170911)

via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 5 12:10:42 PST 2025


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

* 6010 tests passed
* 1320 tests skipped
* 1 test failed

## Failed Tests
(click on a test name to see its output)

### SanitizerCommon-lsan-x86_64-Linux
<details>
<summary>SanitizerCommon-lsan-x86_64-Linux.Linux/soft_rss_limit_mb_test.cpp</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang  --driver-mode=g++ -gline-tables-only -fsanitize=leak  -m64 -funwind-tables  -I/home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test -ldl -O2 /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/soft_rss_limit_mb_test.cpp -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/lsan-x86_64-Linux/Linux/Output/soft_rss_limit_mb_test.cpp.tmp
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang --driver-mode=g++ -gline-tables-only -fsanitize=leak -m64 -funwind-tables -I/home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test -ldl -O2 /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/soft_rss_limit_mb_test.cpp -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/lsan-x86_64-Linux/Linux/Output/soft_rss_limit_mb_test.cpp.tmp
# note: command had no output on stdout or stderr
# RUN: at line 5
env LSAN_OPTIONS=soft_rss_limit_mb=450:quarantine_size=1:allocator_may_return_null=1      /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/lsan-x86_64-Linux/Linux/Output/soft_rss_limit_mb_test.cpp.tmp 2>&1 | FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/soft_rss_limit_mb_test.cpp -check-prefix=CHECK_MAY_RETURN_1
# executed command: env LSAN_OPTIONS=soft_rss_limit_mb=450:quarantine_size=1:allocator_may_return_null=1 /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/lsan-x86_64-Linux/Linux/Output/soft_rss_limit_mb_test.cpp.tmp
# note: command had no output on stdout or stderr
# executed command: FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/soft_rss_limit_mb_test.cpp -check-prefix=CHECK_MAY_RETURN_1
# note: command had no output on stdout or stderr
# RUN: at line 6
env LSAN_OPTIONS=soft_rss_limit_mb=450:quarantine_size=1:allocator_may_return_null=0 not  /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/lsan-x86_64-Linux/Linux/Output/soft_rss_limit_mb_test.cpp.tmp 2>&1 | FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/soft_rss_limit_mb_test.cpp -check-prefix=CHECK_MAY_RETURN_0 --implicit-check-not="returned null"
# executed command: env LSAN_OPTIONS=soft_rss_limit_mb=450:quarantine_size=1:allocator_may_return_null=0 not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/lsan-x86_64-Linux/Linux/Output/soft_rss_limit_mb_test.cpp.tmp
# note: command had no output on stdout or stderr
# executed command: FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/soft_rss_limit_mb_test.cpp -check-prefix=CHECK_MAY_RETURN_0 '--implicit-check-not=returned null'
# note: command had no output on stdout or stderr
# RUN: at line 10
env LSAN_OPTIONS=soft_rss_limit_mb=450:quarantine_size=1:allocator_may_return_null=0:can_use_proc_maps_statm=0 not  /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/lsan-x86_64-Linux/Linux/Output/soft_rss_limit_mb_test.cpp.tmp 2>&1 | FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/soft_rss_limit_mb_test.cpp -check-prefix=CHECK_MAY_RETURN_0 --implicit-check-not="returned null"
# executed command: env LSAN_OPTIONS=soft_rss_limit_mb=450:quarantine_size=1:allocator_may_return_null=0:can_use_proc_maps_statm=0 not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/lsan-x86_64-Linux/Linux/Output/soft_rss_limit_mb_test.cpp.tmp
# note: command had no output on stdout or stderr
# error: command failed with exit status: 1
# executed command: FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/soft_rss_limit_mb_test.cpp -check-prefix=CHECK_MAY_RETURN_0 '--implicit-check-not=returned null'
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/soft_rss_limit_mb_test.cpp:73:24: error: CHECK_MAY_RETURN_0: expected string not found in input
# | // CHECK_MAY_RETURN_0: {{SUMMARY: .*Sanitizer: rss-limit-exceeded}}
# |                        ^
# | <stdin>:10:44: note: scanning from here
# | Some of the malloc calls returned non-null: 32
# |                                            ^
# | <stdin>:51:10: note: possible intended match here
# | ==331722==LeakSanitizer: soft rss limit exhausted (450Mb vs 514Mb)
# |          ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/soft_rss_limit_mb_test.cpp
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |             5:  [12] 
# |             6:  [16] 
# |             7:  [20] 
# |             8:  [24] 
# |             9:  [28] 
# |            10: Some of the malloc calls returned non-null: 32 
# | check:73'0                                                X~~~ error: no match found
# |            11: [1] allocating 64 times 
# | check:73'0     ~~~~~~~~~~~~~~~~~~~~~~~~
# |            12:  [0] 
# | check:73'0     ~~~~~
# |            13:  [8] 
# | check:73'0     ~~~~~
# |            14:  [16] 
# | check:73'0     ~~~~~~
# |            15:  [24] 
# | check:73'0     ~~~~~~
# |             .
# |             .
# |             .
# |            46:  [256] 
# | check:73'0     ~~~~~~~
# |            47:  [320] 
# | check:73'0     ~~~~~~~
# |            48:  [384] 
# | check:73'0     ~~~~~~~
# |            49:  [448] 
# | check:73'0     ~~~~~~~
# |            50: Some of the malloc calls returned non-null: 512 
# | check:73'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            51: ==331722==LeakSanitizer: soft rss limit exhausted (450Mb vs 514Mb) 
# | check:73'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:73'1              ?                                                          possible intended match
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>

If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.

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


More information about the llvm-commits mailing list