[libcxx-commits] [libcxx] [libc++] Update container adaptors' type verification tests (PR #224810)

Hristo Hristov via libcxx-commits libcxx-commits at lists.llvm.org
Sun Sep 20 01:56:13 PDT 2026


Zingam wrote:

> LLVM Buildbot has detected a new failure on builder `sanitizer-x86_64-linux` running on `sanitizer-buildbot2` while building `libcxx` at step 2 "annotate".
> 
> Full details are available at: https://lab.llvm.org/buildbot/#/builders/66/builds/37353
> 
> Here is the relevant piece of the build log for the reference
> ```
> Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure)
> ...
> [417/424] Generating MSAN_INST_GTEST.gtest-all.cc.x86_64-with-call.o
> [419/424] Generating MSAN_INST_GTEST.gtest-all.cc.x86_64.o
> [420/424] Generating MSAN_INST_TEST_OBJECTS.msan_test.cpp.x86_64-with-call.o
> [421/424] Generating Msan-x86_64-with-call-Test
> [422/424] Generating MSAN_INST_TEST_OBJECTS.msan_test.cpp.x86_64.o
> [423/424] Generating Msan-x86_64-Test
> [423/424] Running compiler_rt regression tests
> {'target=x86_64-unknown-linux-gnu', 'glibc', 'glibc-2.37', 'host-byteorder-little-endian', 'symlinks', 'glibc-2.40', 'system-linux', 'memprof-shadow-scale-3', 'zlib', 'can-symbolize', 'libunwind-available', 'cxxabi', 'stable-runtime', 'shared_cxxabi', 'x86_64-linux', 'target-x86_64', 'glibc-2.30', 'host-jit-triple=x86_64-unknown-linux-gnu', 'page-size-4096', 'non-root-user', 'glibc-2.38', 'linux', 'glibc-2.33', 'glibc-2.19', 'glibc-2.34', 'Clang', 'shadow-scale-3', 'x86_64-target-arch', 'target-is-x86_64', 'has_sancovcc', 'host=None', 'x86-target-arch', 'host-arch-compatible', 'lld-available', 'shared_unwind', 'gwp_asan', 'asserts', 'glibc-2.27'}
> -- Testing: 5591 of 11745 tests, 64 workers --
> Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.
> FAIL: ThreadSanitizer-x86_64 :: lots_of_threads.c (3774 of 5591)
> ******************** TEST 'ThreadSanitizer-x86_64 :: lots_of_threads.c' FAILED ********************
> Exit Code: 1
> 
> Command Output (stdout):
> --
> # RUN: at line 1
> /home/b/sanitizer-x86_64-linux/build/build_default/./bin/clang  -fsanitize=thread -Wall  -m64  -msse4.2   -gline-tables-only -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/tsan/../ -O1 /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/tsan/lots_of_threads.c -o /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tsan/X86_64Config/Output/lots_of_threads.c.tmp &&  /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tsan/X86_64Config/Output/lots_of_threads.c.tmp 2>&1 | FileCheck /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/tsan/lots_of_threads.c
> # executed command: /home/b/sanitizer-x86_64-linux/build/build_default/./bin/clang -fsanitize=thread -Wall -m64 -msse4.2 -gline-tables-only -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/tsan/../ -O1 /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/tsan/lots_of_threads.c -o /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tsan/X86_64Config/Output/lots_of_threads.c.tmp
> # note: command had no output on stdout or stderr
> # executed command: /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tsan/X86_64Config/Output/lots_of_threads.c.tmp
> # note: command had no output on stdout or stderr
> # error: command failed with exit status: 66
> # executed command: FileCheck /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/tsan/lots_of_threads.c
> # .---command stderr------------
> # | /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/tsan/lots_of_threads.c:37:11: error: CHECK: expected string not found in input
> # | // CHECK: DONE
> # |           ^
> # | <stdin>:1:1: note: scanning from here
> # | ThreadSanitizer: CHECK failed: tsan_platform.h:1029 "((IsAppMemImpl::Apply<Mapping>(x))) != (0)" (0x0, 0x0) (tid=952781)
> # | ^
> # | <stdin>:7:13: note: possible intended match here
> # |  #5 __tsan::DontNeedShadowFor(unsigned long, unsigned long) /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/tsan/rtl/tsan_rtl.cpp (lots_of_threads.c.tmp+0xfc3f1)
> # |             ^
> # | 
> # | Input file: <stdin>
> # | Check file: /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/tsan/lots_of_threads.c
> # | 
> # | -dump-input=help explains the following input dump.
> # | 
> # | Input was:
> # | <<<<<<
> # |             1: ThreadSanitizer: CHECK failed: tsan_platform.h:1029 "((IsAppMemImpl::Apply<Mapping>(x))) != (0)" (0x0, 0x0) (tid=952781) 
> # | check:37'0    {                                                                                                                           search range start (exclusive)
> # | check:37'1                                                                                                                                error: no match found in search range
> # |             2:  #0 __tsan::CheckUnwind() /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/tsan/rtl/tsan_rtl.cpp:697:21 (lots_of_threads.c.tmp+0xfc98f) 
> # |             3:  #1 __sanitizer::CheckFailed(char const*, int, char const*, unsigned long long, unsigned long long) /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_termination.cpp:86:5 (lots_of_threads.c.tmp+0x8ad02) 
> # |             4:  #2 unsigned long __tsan::MemToShadowImpl::Apply<__tsan::Mapping48AddressSpace>(unsigned long) /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/tsan/rtl/tsan_platform.h:1029:5 (lots_of_threads.c.tmp+0xfc3f1) 
> # |             5:  #3 auto __tsan::SelectMapping<__tsan::MemToShadowImpl, unsigned long>(unsigned long) /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/tsan/rtl/tsan_platform.h:834:10 (lots_of_threads.c.tmp+0xfc3f1) 
> Step 11 (test compiler-rt debug) failure: test compiler-rt debug (failure)
> ...
> [417/424] Generating MSAN_INST_GTEST.gtest-all.cc.x86_64-with-call.o
> [419/424] Generating MSAN_INST_GTEST.gtest-all.cc.x86_64.o
> [420/424] Generating MSAN_INST_TEST_OBJECTS.msan_test.cpp.x86_64-with-call.o
> [421/424] Generating Msan-x86_64-with-call-Test
> [422/424] Generating MSAN_INST_TEST_OBJECTS.msan_test.cpp.x86_64.o
> [423/424] Generating Msan-x86_64-Test
> [423/424] Running compiler_rt regression tests
> {'target=x86_64-unknown-linux-gnu', 'glibc', 'glibc-2.37', 'host-byteorder-little-endian', 'symlinks', 'glibc-2.40', 'system-linux', 'memprof-shadow-scale-3', 'zlib', 'can-symbolize', 'libunwind-available', 'cxxabi', 'stable-runtime', 'shared_cxxabi', 'x86_64-linux', 'target-x86_64', 'glibc-2.30', 'host-jit-triple=x86_64-unknown-linux-gnu', 'page-size-4096', 'non-root-user', 'glibc-2.38', 'linux', 'glibc-2.33', 'glibc-2.19', 'glibc-2.34', 'Clang', 'shadow-scale-3', 'x86_64-target-arch', 'target-is-x86_64', 'has_sancovcc', 'host=None', 'x86-target-arch', 'host-arch-compatible', 'lld-available', 'shared_unwind', 'gwp_asan', 'asserts', 'glibc-2.27'}
> -- Testing: 5591 of 11745 tests, 64 workers --
> Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.
> FAIL: ThreadSanitizer-x86_64 :: lots_of_threads.c (3774 of 5591)
> ******************** TEST 'ThreadSanitizer-x86_64 :: lots_of_threads.c' FAILED ********************
> Exit Code: 1
> 
> Command Output (stdout):
> --
> # RUN: at line 1
> /home/b/sanitizer-x86_64-linux/build/build_default/./bin/clang  -fsanitize=thread -Wall  -m64  -msse4.2   -gline-tables-only -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/tsan/../ -O1 /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/tsan/lots_of_threads.c -o /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tsan/X86_64Config/Output/lots_of_threads.c.tmp &&  /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tsan/X86_64Config/Output/lots_of_threads.c.tmp 2>&1 | FileCheck /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/tsan/lots_of_threads.c
> # executed command: /home/b/sanitizer-x86_64-linux/build/build_default/./bin/clang -fsanitize=thread -Wall -m64 -msse4.2 -gline-tables-only -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/tsan/../ -O1 /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/tsan/lots_of_threads.c -o /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tsan/X86_64Config/Output/lots_of_threads.c.tmp
> # note: command had no output on stdout or stderr
> # executed command: /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tsan/X86_64Config/Output/lots_of_threads.c.tmp
> # note: command had no output on stdout or stderr
> # error: command failed with exit status: 66
> # executed command: FileCheck /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/tsan/lots_of_threads.c
> # .---command stderr------------
> # | /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/tsan/lots_of_threads.c:37:11: error: CHECK: expected string not found in input
> # | // CHECK: DONE
> # |           ^
> # | <stdin>:1:1: note: scanning from here
> # | ThreadSanitizer: CHECK failed: tsan_platform.h:1029 "((IsAppMemImpl::Apply<Mapping>(x))) != (0)" (0x0, 0x0) (tid=952781)
> # | ^
> # | <stdin>:7:13: note: possible intended match here
> # |  #5 __tsan::DontNeedShadowFor(unsigned long, unsigned long) /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/tsan/rtl/tsan_rtl.cpp (lots_of_threads.c.tmp+0xfc3f1)
> # |             ^
> # | 
> # | Input file: <stdin>
> # | Check file: /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/tsan/lots_of_threads.c
> # | 
> # | -dump-input=help explains the following input dump.
> # | 
> # | Input was:
> # | <<<<<<
> # |             1: ThreadSanitizer: CHECK failed: tsan_platform.h:1029 "((IsAppMemImpl::Apply<Mapping>(x))) != (0)" (0x0, 0x0) (tid=952781) 
> # | check:37'0    {                                                                                                                           search range start (exclusive)
> # | check:37'1                                                                                                                                error: no match found in search range
> # |             2:  #0 __tsan::CheckUnwind() /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/tsan/rtl/tsan_rtl.cpp:697:21 (lots_of_threads.c.tmp+0xfc98f) 
> # |             3:  #1 __sanitizer::CheckFailed(char const*, int, char const*, unsigned long long, unsigned long long) /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_termination.cpp:86:5 (lots_of_threads.c.tmp+0x8ad02) 
> # |             4:  #2 unsigned long __tsan::MemToShadowImpl::Apply<__tsan::Mapping48AddressSpace>(unsigned long) /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/tsan/rtl/tsan_platform.h:1029:5 (lots_of_threads.c.tmp+0xfc3f1) 
> # |             5:  #3 auto __tsan::SelectMapping<__tsan::MemToShadowImpl, unsigned long>(unsigned long) /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/tsan/rtl/tsan_platform.h:834:10 (lots_of_threads.c.tmp+0xfc3f1) 
> ```

The error is unrelated.

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


More information about the libcxx-commits mailing list