[compiler-rt] [TySan][Sanitizer Common] Enable TySan testing in the sanitizer commo… (PR #191385)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 13 12:51:20 PDT 2026
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-s390x-linux` running on `systemz-1` while building `compiler-rt` at step 5 "ninja check 1".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/42/builds/8599
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 5 (ninja check 1) failure: stage 1 checked (failure)
******************** TEST 'SanitizerCommon-tysan-s390x-Linux :: Posix/dedup_token_length_test.cpp' FAILED ********************
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 4
/home/uweigand/sandbox/buildbot/clang-s390x-linux/stage1/./bin/clang --driver-mode=g++ -gline-tables-only -fsanitize=type -funwind-tables -I/home/uweigand/sandbox/buildbot/clang-s390x-linux/llvm/compiler-rt/test -ldl -O0 /home/uweigand/sandbox/buildbot/clang-s390x-linux/llvm/compiler-rt/test/sanitizer_common/TestCases/Posix/dedup_token_length_test.cpp -o /home/uweigand/sandbox/buildbot/clang-s390x-linux/stage1/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/tysan-s390x-Linux/Posix/Output/dedup_token_length_test.cpp.tmp
# executed command: /home/uweigand/sandbox/buildbot/clang-s390x-linux/stage1/./bin/clang --driver-mode=g++ -gline-tables-only -fsanitize=type -funwind-tables -I/home/uweigand/sandbox/buildbot/clang-s390x-linux/llvm/compiler-rt/test -ldl -O0 /home/uweigand/sandbox/buildbot/clang-s390x-linux/llvm/compiler-rt/test/sanitizer_common/TestCases/Posix/dedup_token_length_test.cpp -o /home/uweigand/sandbox/buildbot/clang-s390x-linux/stage1/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/tysan-s390x-Linux/Posix/Output/dedup_token_length_test.cpp.tmp
# RUN: at line 5
env TYSAN_OPTIONS='abort_on_error=0' not /home/uweigand/sandbox/buildbot/clang-s390x-linux/stage1/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/tysan-s390x-Linux/Posix/Output/dedup_token_length_test.cpp.tmp 2>&1 | FileCheck /home/uweigand/sandbox/buildbot/clang-s390x-linux/llvm/compiler-rt/test/sanitizer_common/TestCases/Posix/dedup_token_length_test.cpp --check-prefix=CHECK0 --match-full-lines
# executed command: env TYSAN_OPTIONS=abort_on_error=0 not /home/uweigand/sandbox/buildbot/clang-s390x-linux/stage1/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/tysan-s390x-Linux/Posix/Output/dedup_token_length_test.cpp.tmp
# executed command: FileCheck /home/uweigand/sandbox/buildbot/clang-s390x-linux/llvm/compiler-rt/test/sanitizer_common/TestCases/Posix/dedup_token_length_test.cpp --check-prefix=CHECK0 --match-full-lines
# RUN: at line 6
env TYSAN_OPTIONS='abort_on_error=0, dedup_token_length=0' not /home/uweigand/sandbox/buildbot/clang-s390x-linux/stage1/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/tysan-s390x-Linux/Posix/Output/dedup_token_length_test.cpp.tmp 2>&1 | FileCheck /home/uweigand/sandbox/buildbot/clang-s390x-linux/llvm/compiler-rt/test/sanitizer_common/TestCases/Posix/dedup_token_length_test.cpp --check-prefix=CHECK0 --match-full-lines
# executed command: env 'TYSAN_OPTIONS=abort_on_error=0, dedup_token_length=0' not /home/uweigand/sandbox/buildbot/clang-s390x-linux/stage1/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/tysan-s390x-Linux/Posix/Output/dedup_token_length_test.cpp.tmp
# executed command: FileCheck /home/uweigand/sandbox/buildbot/clang-s390x-linux/llvm/compiler-rt/test/sanitizer_common/TestCases/Posix/dedup_token_length_test.cpp --check-prefix=CHECK0 --match-full-lines
# RUN: at line 7
env TYSAN_OPTIONS='abort_on_error=0, dedup_token_length=1' not /home/uweigand/sandbox/buildbot/clang-s390x-linux/stage1/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/tysan-s390x-Linux/Posix/Output/dedup_token_length_test.cpp.tmp 2>&1 | FileCheck /home/uweigand/sandbox/buildbot/clang-s390x-linux/llvm/compiler-rt/test/sanitizer_common/TestCases/Posix/dedup_token_length_test.cpp --check-prefix=CHECK1 --match-full-lines
# executed command: env 'TYSAN_OPTIONS=abort_on_error=0, dedup_token_length=1' not /home/uweigand/sandbox/buildbot/clang-s390x-linux/stage1/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/tysan-s390x-Linux/Posix/Output/dedup_token_length_test.cpp.tmp
# executed command: FileCheck /home/uweigand/sandbox/buildbot/clang-s390x-linux/llvm/compiler-rt/test/sanitizer_common/TestCases/Posix/dedup_token_length_test.cpp --check-prefix=CHECK1 --match-full-lines
# RUN: at line 8
env TYSAN_OPTIONS='abort_on_error=0, dedup_token_length=2' not /home/uweigand/sandbox/buildbot/clang-s390x-linux/stage1/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/tysan-s390x-Linux/Posix/Output/dedup_token_length_test.cpp.tmp 2>&1 | FileCheck /home/uweigand/sandbox/buildbot/clang-s390x-linux/llvm/compiler-rt/test/sanitizer_common/TestCases/Posix/dedup_token_length_test.cpp --check-prefix=CHECK2 --match-full-lines
# executed command: env 'TYSAN_OPTIONS=abort_on_error=0, dedup_token_length=2' not /home/uweigand/sandbox/buildbot/clang-s390x-linux/stage1/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/tysan-s390x-Linux/Posix/Output/dedup_token_length_test.cpp.tmp
# executed command: FileCheck /home/uweigand/sandbox/buildbot/clang-s390x-linux/llvm/compiler-rt/test/sanitizer_common/TestCases/Posix/dedup_token_length_test.cpp --check-prefix=CHECK2 --match-full-lines
# .---command stderr------------
# | /home/uweigand/sandbox/buildbot/clang-s390x-linux/llvm/compiler-rt/test/sanitizer_common/TestCases/Posix/dedup_token_length_test.cpp:41:12: error: CHECK2: expected string not found in input
# | // CHECK2: DEDUP_TOKEN: void Xyz::Abc<int, int>()--bar
# | ^
# | <stdin>:1:1: note: scanning from here
# | TypeSanitizer:DEADLYSIGNAL
# | ^
# | <stdin>:8:1: note: possible intended match here
# | DEDUP_TOKEN: void Xyz::Abc<int, int>()--void Xyz::Abc<int, int>()
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/uweigand/sandbox/buildbot/clang-s390x-linux/llvm/compiler-rt/test/sanitizer_common/TestCases/Posix/dedup_token_length_test.cpp
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: TypeSanitizer:DEADLYSIGNAL
# | check:41'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | 2: ==3980667==ERROR: TypeSanitizer: SEGV on unknown address 0x000000000000 (pc 0x02aa201407c8 bp 0x03fffbbfe990 sp 0x03fffbbfe990 T3980667)
# | check:41'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 3: ==3980667==The signal is caused by a UNKNOWN memory access.
# | check:41'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 4: ==3980667==Hint: address points to the zero page.
# | check:41'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
```
</details>
https://github.com/llvm/llvm-project/pull/191385
More information about the llvm-commits
mailing list