[clang] Reland "[LifetimeSafety] Detect iterator invalidation through container aliases" (PR #197873)
LLVM Continuous Integration via cfe-commits
cfe-commits at lists.llvm.org
Mon May 25 08:35:17 PDT 2026
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `sanitizer-aarch64-linux` running on `sanitizer-buildbot8` while building `clang` at step 2 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/51/builds/37180
<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)
...
[203/207] Generating MSAN_INST_TEST_OBJECTS.msan_test.cpp.aarch64-with-call.o
[204/207] Generating Msan-aarch64-with-call-Test
[205/207] Generating MSAN_INST_TEST_OBJECTS.msan_test.cpp.aarch64.o
[206/207] Generating Msan-aarch64-Test
[206/207] Running compiler_rt regression tests
llvm-lit: /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/utils/lit/lit/discovery.py:273: warning: input '/home/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/interception/Unit' contained no tests
llvm-lit: /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/utils/lit/lit/discovery.py:273: warning: input '/home/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/Unit' contained no tests
llvm-lit: /home/b/sanitizer-aarch64-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: 3233 of 6428 tests, 72 workers --
Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80
FAIL: XRay-aarch64-linux :: TestCases/Posix/fdr-mode.cpp (2728 of 3233)
******************** TEST 'XRay-aarch64-linux :: TestCases/Posix/fdr-mode.cpp' FAILED ********************
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/b/sanitizer-aarch64-linux/build/build_default/./bin/clang --driver-mode=g++ -fxray-instrument -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -g -std=c++11 /home/b/sanitizer-aarch64-linux/build/llvm-project/compiler-rt/test/xray/TestCases/Posix/fdr-mode.cpp -o /home/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/xray/AARCH64LinuxConfig/TestCases/Posix/Output/fdr-mode.cpp.tmp
# executed command: /home/b/sanitizer-aarch64-linux/build/build_default/./bin/clang --driver-mode=g++ -fxray-instrument -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -g -std=c++11 /home/b/sanitizer-aarch64-linux/build/llvm-project/compiler-rt/test/xray/TestCases/Posix/fdr-mode.cpp -o /home/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/xray/AARCH64LinuxConfig/TestCases/Posix/Output/fdr-mode.cpp.tmp
# note: command had no output on stdout or stderr
# RUN: at line 2
rm -f fdr-logging-test-*
# executed command: rm -f 'fdr-logging-test-*'
# note: command had no output on stdout or stderr
# RUN: at line 3
rm -f fdr-unwrite-test-*
# executed command: rm -f 'fdr-unwrite-test-*'
# note: command had no output on stdout or stderr
# RUN: at line 4
env XRAY_OPTIONS="patch_premain=false xray_logfile_base=fdr-logging-test- xray_mode=xray-fdr verbosity=1" env XRAY_FDR_OPTIONS="func_duration_threshold_us=0" /home/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/xray/AARCH64LinuxConfig/TestCases/Posix/Output/fdr-mode.cpp.tmp 2>&1 | FileCheck /home/b/sanitizer-aarch64-linux/build/llvm-project/compiler-rt/test/xray/TestCases/Posix/fdr-mode.cpp
# executed command: env 'XRAY_OPTIONS=patch_premain=false xray_logfile_base=fdr-logging-test- xray_mode=xray-fdr verbosity=1' env XRAY_FDR_OPTIONS=func_duration_threshold_us=0 /home/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/xray/AARCH64LinuxConfig/TestCases/Posix/Output/fdr-mode.cpp.tmp
# note: command had no output on stdout or stderr
# executed command: FileCheck /home/b/sanitizer-aarch64-linux/build/llvm-project/compiler-rt/test/xray/TestCases/Posix/fdr-mode.cpp
# note: command had no output on stdout or stderr
# RUN: at line 8
env XRAY_OPTIONS="patch_premain=false xray_logfile_base=fdr-unwrite-test- xray_mode=xray-fdr verbosity=1" env XRAY_FDR_OPTIONS="func_duration_threshold_us=5000" /home/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/xray/AARCH64LinuxConfig/TestCases/Posix/Output/fdr-mode.cpp.tmp 2>&1 | FileCheck /home/b/sanitizer-aarch64-linux/build/llvm-project/compiler-rt/test/xray/TestCases/Posix/fdr-mode.cpp
# executed command: env 'XRAY_OPTIONS=patch_premain=false xray_logfile_base=fdr-unwrite-test- xray_mode=xray-fdr verbosity=1' env XRAY_FDR_OPTIONS=func_duration_threshold_us=5000 /home/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/xray/AARCH64LinuxConfig/TestCases/Posix/Output/fdr-mode.cpp.tmp
# note: command had no output on stdout or stderr
# executed command: FileCheck /home/b/sanitizer-aarch64-linux/build/llvm-project/compiler-rt/test/xray/TestCases/Posix/fdr-mode.cpp
# note: command had no output on stdout or stderr
# RUN: at line 13
ls fdr-logging-test-* | head -1 | tr -d '\n' > /home/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/xray/AARCH64LinuxConfig/TestCases/Posix/Output/fdr-mode.cpp.tmp.log
# executed command: ls 'fdr-logging-test-*'
# note: command had no output on stdout or stderr
# executed command: head -1
# note: command had no output on stdout or stderr
# executed command: tr -d '\n'
# note: command had no output on stdout or stderr
# RUN: at line 14
Step 11 (test compiler-rt debug) failure: test compiler-rt debug (failure)
...
[203/207] Generating MSAN_INST_TEST_OBJECTS.msan_test.cpp.aarch64-with-call.o
[204/207] Generating Msan-aarch64-with-call-Test
[205/207] Generating MSAN_INST_TEST_OBJECTS.msan_test.cpp.aarch64.o
[206/207] Generating Msan-aarch64-Test
[206/207] Running compiler_rt regression tests
llvm-lit: /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/utils/lit/lit/discovery.py:273: warning: input '/home/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/interception/Unit' contained no tests
llvm-lit: /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/utils/lit/lit/discovery.py:273: warning: input '/home/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/Unit' contained no tests
llvm-lit: /home/b/sanitizer-aarch64-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: 3233 of 6428 tests, 72 workers --
Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80
FAIL: XRay-aarch64-linux :: TestCases/Posix/fdr-mode.cpp (2728 of 3233)
******************** TEST 'XRay-aarch64-linux :: TestCases/Posix/fdr-mode.cpp' FAILED ********************
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/b/sanitizer-aarch64-linux/build/build_default/./bin/clang --driver-mode=g++ -fxray-instrument -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -g -std=c++11 /home/b/sanitizer-aarch64-linux/build/llvm-project/compiler-rt/test/xray/TestCases/Posix/fdr-mode.cpp -o /home/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/xray/AARCH64LinuxConfig/TestCases/Posix/Output/fdr-mode.cpp.tmp
# executed command: /home/b/sanitizer-aarch64-linux/build/build_default/./bin/clang --driver-mode=g++ -fxray-instrument -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -g -std=c++11 /home/b/sanitizer-aarch64-linux/build/llvm-project/compiler-rt/test/xray/TestCases/Posix/fdr-mode.cpp -o /home/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/xray/AARCH64LinuxConfig/TestCases/Posix/Output/fdr-mode.cpp.tmp
# note: command had no output on stdout or stderr
# RUN: at line 2
rm -f fdr-logging-test-*
# executed command: rm -f 'fdr-logging-test-*'
# note: command had no output on stdout or stderr
# RUN: at line 3
rm -f fdr-unwrite-test-*
# executed command: rm -f 'fdr-unwrite-test-*'
# note: command had no output on stdout or stderr
# RUN: at line 4
env XRAY_OPTIONS="patch_premain=false xray_logfile_base=fdr-logging-test- xray_mode=xray-fdr verbosity=1" env XRAY_FDR_OPTIONS="func_duration_threshold_us=0" /home/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/xray/AARCH64LinuxConfig/TestCases/Posix/Output/fdr-mode.cpp.tmp 2>&1 | FileCheck /home/b/sanitizer-aarch64-linux/build/llvm-project/compiler-rt/test/xray/TestCases/Posix/fdr-mode.cpp
# executed command: env 'XRAY_OPTIONS=patch_premain=false xray_logfile_base=fdr-logging-test- xray_mode=xray-fdr verbosity=1' env XRAY_FDR_OPTIONS=func_duration_threshold_us=0 /home/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/xray/AARCH64LinuxConfig/TestCases/Posix/Output/fdr-mode.cpp.tmp
# note: command had no output on stdout or stderr
# executed command: FileCheck /home/b/sanitizer-aarch64-linux/build/llvm-project/compiler-rt/test/xray/TestCases/Posix/fdr-mode.cpp
# note: command had no output on stdout or stderr
# RUN: at line 8
env XRAY_OPTIONS="patch_premain=false xray_logfile_base=fdr-unwrite-test- xray_mode=xray-fdr verbosity=1" env XRAY_FDR_OPTIONS="func_duration_threshold_us=5000" /home/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/xray/AARCH64LinuxConfig/TestCases/Posix/Output/fdr-mode.cpp.tmp 2>&1 | FileCheck /home/b/sanitizer-aarch64-linux/build/llvm-project/compiler-rt/test/xray/TestCases/Posix/fdr-mode.cpp
# executed command: env 'XRAY_OPTIONS=patch_premain=false xray_logfile_base=fdr-unwrite-test- xray_mode=xray-fdr verbosity=1' env XRAY_FDR_OPTIONS=func_duration_threshold_us=5000 /home/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/xray/AARCH64LinuxConfig/TestCases/Posix/Output/fdr-mode.cpp.tmp
# note: command had no output on stdout or stderr
# executed command: FileCheck /home/b/sanitizer-aarch64-linux/build/llvm-project/compiler-rt/test/xray/TestCases/Posix/fdr-mode.cpp
# note: command had no output on stdout or stderr
# RUN: at line 13
ls fdr-logging-test-* | head -1 | tr -d '\n' > /home/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/xray/AARCH64LinuxConfig/TestCases/Posix/Output/fdr-mode.cpp.tmp.log
# executed command: ls 'fdr-logging-test-*'
# note: command had no output on stdout or stderr
# executed command: head -1
# note: command had no output on stdout or stderr
# executed command: tr -d '\n'
# note: command had no output on stdout or stderr
# RUN: at line 14
```
</details>
https://github.com/llvm/llvm-project/pull/197873
More information about the cfe-commits
mailing list