[compiler-rt] Undo lsan part of #98240 (PR #98409)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 10 17:14:40 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `sanitizer-x86_64-linux-android` running on `sanitizer-buildbot-android` while building `compiler-rt` at step 2 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/186/builds/469

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)
...
+ local _serial=17031FQCB00176
+ shift
++ adb -s 17031FQCB00176 shell getprop ro.product.cpu.abilist
+ ABILIST=arm64-v8a,armeabi-v7a,armeabi
+ patch_abilist arm64-v8a,armeabi-v7a,armeabi ABILIST
+ local _abilist=arm64-v8a,armeabi-v7a,armeabi
+ local _out=ABILIST
+ [[ arm64-v8a,armeabi-v7a,armeabi == \x\8\6* ]]
+ eval 'ABILIST='\''arm64-v8a,armeabi-v7a,armeabi'\'''
++ ABILIST=arm64-v8a,armeabi-v7a,armeabi
+ for _arg in "$@"
+ local _arch=arm
+ local _abi=armeabi-v7a
+ [[ |aarch64||arm||i686| == *\|\a\r\m\|* ]]
+ echo 'skipping tests on arm'
+ build_failure
+ echo
+ echo 'How to reproduce locally: https://github.com/google/sanitizers/wiki/SanitizerBotReproduceBuild'
skipping tests on arm

How to reproduce locally: https://github.com/google/sanitizers/wiki/SanitizerBotReproduceBuild

+ echo
+ sleep 5
+ echo @@@STEP_FAILURE@@@
+ [[ '' == \1 ]]
+ [[ ! -v BUILDBOT_BUILDERNAME ]]
@@@STEP_FAILURE@@@
+ continue
+ for _arg in "$@"
+ local _arch=aarch64
+ local _abi=arm64-v8a
+ [[ |aarch64||arm||i686| == *\|\a\a\r\c\h\6\4\|* ]]
+ echo 'skipping tests on aarch64'
+ build_failure
+ echo
+ echo 'How to reproduce locally: https://github.com/google/sanitizers/wiki/SanitizerBotReproduceBuild'
+ echo
skipping tests on aarch64

How to reproduce locally: https://github.com/google/sanitizers/wiki/SanitizerBotReproduceBuild

+ sleep 5
+ echo @@@STEP_FAILURE@@@
+ [[ '' == \1 ]]
+ [[ ! -v BUILDBOT_BUILDERNAME ]]
+ continue
@@@STEP_FAILURE@@@
+ [[ |aarch64||arm||i686| == '' ]]
+ return
Step 9 (run cmake) failure: run cmake (failure)
...
-- Compiling and running to test HAVE_GNU_POSIX_REGEX
-- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile
-- Compiling and running to test HAVE_POSIX_REGEX
-- Performing Test HAVE_POSIX_REGEX -- compiled but failed to run
CMake Warning at /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/third-party/benchmark/CMakeLists.txt:319 (message):
  Using std::regex with exceptions disabled is not fully supported
-- Compiling and running to test HAVE_STEADY_CLOCK
-- Performing Test HAVE_POSIX_REGEX -- compiled but failed to run
CMake Warning at /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/third-party/benchmark/CMakeLists.txt:319 (message):
  Using std::regex with exceptions disabled is not fully supported
-- Compiling and running to test HAVE_STEADY_CLOCK
-- Performing Test HAVE_STEADY_CLOCK -- compiled but failed to run
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test HAVE_STEADY_CLOCK -- compiled but failed to run
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Check if compiler accepts -pthread - yes
-- Found Threads: TRUE  
-- Compiling and running to test HAVE_PTHREAD_AFFINITY
-- Found Threads: TRUE  
-- Compiling and running to test HAVE_PTHREAD_AFFINITY
-- Performing Test HAVE_PTHREAD_AFFINITY -- failed to compile
-- Performing Test HAVE_PTHREAD_AFFINITY -- failed to compile
-- Performing Test HAVE_POSIX_REGEX -- compiled but failed to run
CMake Warning at /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/third-party/benchmark/CMakeLists.txt:319 (message):
  Using std::regex with exceptions disabled is not fully supported
-- Compiling and running to test HAVE_STEADY_CLOCK
-- Configuring done (24.4s)
-- Configuring done (24.4s)
-- Performing Test HAVE_STEADY_CLOCK -- compiled but failed to run
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Found Threads: TRUE  
-- Compiling and running to test HAVE_PTHREAD_AFFINITY
-- Performing Test HAVE_PTHREAD_AFFINITY -- failed to compile
-- Configuring done (25.0s)
-- Generating done (2.6s)
-- Generating done (2.6s)
-- Build files have been written to: /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm_build_android_aarch64
-- Build files have been written to: /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm_build_android_i686
-- Generating done (2.5s)
-- Build files have been written to: /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm_build_android_arm
+ echo @@@BUILD_STEP build android/aarch64@@@
+ ninja -C llvm_build_android_aarch64 llvm-symbolizer
Step 10 (build android/aarch64) failure: build android/aarch64 (failure)
...
[615/645] Linking CXX static library lib/libLLVMCore.a
[616/645] Linking CXX static library lib/libLLVMBitReader.a
[617/645] Linking CXX static library lib/libLLVMMC.a
[618/645] Linking CXX static library lib/libLLVMMCParser.a
[619/645] Building CXX object lib/TextAPI/CMakeFiles/LLVMTextAPI.dir/Platform.cpp.o
[620/645] Building CXX object lib/TextAPI/CMakeFiles/LLVMTextAPI.dir/Symbol.cpp.o
[621/645] Building Opts.inc...
[622/645] Building CXX object lib/TextAPI/CMakeFiles/LLVMTextAPI.dir/RecordVisitor.cpp.o
[623/645] Building CXX object lib/TextAPI/CMakeFiles/LLVMTextAPI.dir/Target.cpp.o
[624/645] Building CXX object lib/AsmParser/CMakeFiles/LLVMAsmParser.dir/Parser.cpp.o
[625/645] Building CXX object lib/TextAPI/CMakeFiles/LLVMTextAPI.dir/TextAPIError.cpp.o
[626/645] Building CXX object lib/TextAPI/CMakeFiles/LLVMTextAPI.dir/SymbolSet.cpp.o
[627/645] Building CXX object lib/DebugInfo/Symbolize/CMakeFiles/LLVMSymbolize.dir/Symbolize.cpp.o
[628/645] Building CXX object tools/llvm-symbolizer/CMakeFiles/llvm-symbolizer.dir/llvm-symbolizer-driver.cpp.o
[629/645] Building CXX object lib/TextAPI/CMakeFiles/LLVMTextAPI.dir/RecordsSlice.cpp.o
[630/645] Building CXX object lib/TextAPI/CMakeFiles/LLVMTextAPI.dir/InterfaceFile.cpp.o
[631/645] Building CXX object lib/TextAPI/CMakeFiles/LLVMTextAPI.dir/TextStubCommon.cpp.o
[632/645] Building CXX object lib/TextAPI/CMakeFiles/LLVMTextAPI.dir/Utils.cpp.o
[633/645] Building CXX object lib/TextAPI/CMakeFiles/LLVMTextAPI.dir/TextStubV5.cpp.o
[634/645] Building CXX object tools/llvm-symbolizer/CMakeFiles/llvm-symbolizer.dir/llvm-symbolizer.cpp.o
[635/645] Building CXX object lib/TextAPI/CMakeFiles/LLVMTextAPI.dir/TextStub.cpp.o
[636/645] Linking CXX static library lib/libLLVMTextAPI.a
[637/645] Building CXX object lib/AsmParser/CMakeFiles/LLVMAsmParser.dir/LLParser.cpp.o
[638/645] Linking CXX static library lib/libLLVMAsmParser.a
[639/645] Linking CXX static library lib/libLLVMIRReader.a
[640/645] Linking CXX static library lib/libLLVMObject.a
[641/645] Linking CXX static library lib/libLLVMDebugInfoDWARF.a
[642/645] Linking CXX static library lib/libLLVMDebugInfoPDB.a
[643/645] Linking CXX static library lib/libLLVMSymbolize.a
[644/645] Linking CXX static library lib/libLLVMDebuginfod.a
[645/645] Linking CXX executable bin/llvm-symbolizer
+ ninja -C compiler_rt_build_android_aarch64
ninja: Entering directory `compiler_rt_build_android_aarch64'
ninja: error: loading 'build.ninja': No such file or directory
+ BUILD_RT_ERR='|aarch64|'
+ build_failure
+ echo
+ echo 'How to reproduce locally: https://github.com/google/sanitizers/wiki/SanitizerBotReproduceBuild'

How to reproduce locally: https://github.com/google/sanitizers/wiki/SanitizerBotReproduceBuild
+ echo
+ sleep 5
+ echo @@@STEP_FAILURE@@@
+ [[ '' == \1 ]]
+ [[ ! -v BUILDBOT_BUILDERNAME ]]
+ build_android arm
+ local _arch=arm
+ wait
+ echo @@@BUILD_STEP build android/arm@@@
+ ninja -C llvm_build_android_arm llvm-symbolizer
Step 11 (build android/arm) failure: build android/arm (failure)
...
[615/645] Linking CXX static library lib/libLLVMCore.a
[616/645] Linking CXX static library lib/libLLVMBitReader.a
[617/645] Linking CXX static library lib/libLLVMMC.a
[618/645] Linking CXX static library lib/libLLVMMCParser.a
[619/645] Building CXX object lib/TextAPI/CMakeFiles/LLVMTextAPI.dir/Platform.cpp.o
[620/645] Building CXX object lib/TextAPI/CMakeFiles/LLVMTextAPI.dir/Symbol.cpp.o
[621/645] Building CXX object lib/TextAPI/CMakeFiles/LLVMTextAPI.dir/RecordVisitor.cpp.o
[622/645] Building Opts.inc...
[623/645] Building CXX object lib/TextAPI/CMakeFiles/LLVMTextAPI.dir/Target.cpp.o
[624/645] Building CXX object lib/TextAPI/CMakeFiles/LLVMTextAPI.dir/TextAPIError.cpp.o
[625/645] Building CXX object lib/AsmParser/CMakeFiles/LLVMAsmParser.dir/Parser.cpp.o
[626/645] Building CXX object lib/TextAPI/CMakeFiles/LLVMTextAPI.dir/SymbolSet.cpp.o
[627/645] Building CXX object lib/DebugInfo/Symbolize/CMakeFiles/LLVMSymbolize.dir/Symbolize.cpp.o
[628/645] Building CXX object tools/llvm-symbolizer/CMakeFiles/llvm-symbolizer.dir/llvm-symbolizer-driver.cpp.o
[629/645] Building CXX object lib/TextAPI/CMakeFiles/LLVMTextAPI.dir/InterfaceFile.cpp.o
[630/645] Building CXX object lib/TextAPI/CMakeFiles/LLVMTextAPI.dir/RecordsSlice.cpp.o
[631/645] Building CXX object lib/TextAPI/CMakeFiles/LLVMTextAPI.dir/Utils.cpp.o
[632/645] Building CXX object lib/TextAPI/CMakeFiles/LLVMTextAPI.dir/TextStubCommon.cpp.o
[633/645] Building CXX object lib/TextAPI/CMakeFiles/LLVMTextAPI.dir/TextStubV5.cpp.o
[634/645] Building CXX object tools/llvm-symbolizer/CMakeFiles/llvm-symbolizer.dir/llvm-symbolizer.cpp.o
[635/645] Building CXX object lib/TextAPI/CMakeFiles/LLVMTextAPI.dir/TextStub.cpp.o
[636/645] Linking CXX static library lib/libLLVMTextAPI.a
[637/645] Building CXX object lib/AsmParser/CMakeFiles/LLVMAsmParser.dir/LLParser.cpp.o
[638/645] Linking CXX static library lib/libLLVMAsmParser.a
[639/645] Linking CXX static library lib/libLLVMIRReader.a
[640/645] Linking CXX static library lib/libLLVMObject.a
[641/645] Linking CXX static library lib/libLLVMDebugInfoDWARF.a
[642/645] Linking CXX static library lib/libLLVMDebugInfoPDB.a
[643/645] Linking CXX static library lib/libLLVMSymbolize.a
[644/645] Linking CXX static library lib/libLLVMDebuginfod.a
[645/645] Linking CXX executable bin/llvm-symbolizer
+ ninja -C compiler_rt_build_android_arm
ninja: Entering directory `compiler_rt_build_android_arm'
ninja: error: loading 'build.ninja': No such file or directory
+ BUILD_RT_ERR='|aarch64||arm|'
+ build_failure
+ echo

How to reproduce locally: https://github.com/google/sanitizers/wiki/SanitizerBotReproduceBuild
+ echo 'How to reproduce locally: https://github.com/google/sanitizers/wiki/SanitizerBotReproduceBuild'
+ echo
+ sleep 5
+ echo @@@STEP_FAILURE@@@
+ [[ '' == \1 ]]
+ [[ ! -v BUILDBOT_BUILDERNAME ]]
+ build_android i686
+ local _arch=i686
+ wait
+ echo @@@BUILD_STEP build android/i686@@@
+ ninja -C llvm_build_android_i686 llvm-symbolizer
Step 12 (build android/i686) failure: build android/i686 (failure)
...
[616/645] Linking CXX static library lib/libLLVMCore.a
[617/645] Linking CXX static library lib/libLLVMBitReader.a
[618/645] Linking CXX static library lib/libLLVMMC.a
[619/645] Linking CXX static library lib/libLLVMMCParser.a
[620/645] Building CXX object lib/TextAPI/CMakeFiles/LLVMTextAPI.dir/Symbol.cpp.o
[621/645] Building CXX object lib/AsmParser/CMakeFiles/LLVMAsmParser.dir/Parser.cpp.o
[622/645] Building Opts.inc...
[623/645] Building CXX object lib/TextAPI/CMakeFiles/LLVMTextAPI.dir/TextAPIError.cpp.o
[624/645] Building CXX object lib/TextAPI/CMakeFiles/LLVMTextAPI.dir/RecordVisitor.cpp.o
[625/645] Building CXX object lib/TextAPI/CMakeFiles/LLVMTextAPI.dir/Target.cpp.o
[626/645] Building CXX object lib/DebugInfo/Symbolize/CMakeFiles/LLVMSymbolize.dir/Symbolize.cpp.o
[627/645] Building CXX object lib/TextAPI/CMakeFiles/LLVMTextAPI.dir/SymbolSet.cpp.o
[628/645] Building CXX object tools/llvm-symbolizer/CMakeFiles/llvm-symbolizer.dir/llvm-symbolizer-driver.cpp.o
[629/645] Building CXX object lib/TextAPI/CMakeFiles/LLVMTextAPI.dir/RecordsSlice.cpp.o
[630/645] Building CXX object lib/TextAPI/CMakeFiles/LLVMTextAPI.dir/Utils.cpp.o
[631/645] Building CXX object lib/TextAPI/CMakeFiles/LLVMTextAPI.dir/InterfaceFile.cpp.o
[632/645] Building CXX object lib/TextAPI/CMakeFiles/LLVMTextAPI.dir/TextStubCommon.cpp.o
[633/645] Building CXX object lib/TextAPI/CMakeFiles/LLVMTextAPI.dir/TextStubV5.cpp.o
[634/645] Building CXX object tools/llvm-symbolizer/CMakeFiles/llvm-symbolizer.dir/llvm-symbolizer.cpp.o
[635/645] Building CXX object lib/TextAPI/CMakeFiles/LLVMTextAPI.dir/TextStub.cpp.o
[636/645] Linking CXX static library lib/libLLVMTextAPI.a
[637/645] Building CXX object lib/AsmParser/CMakeFiles/LLVMAsmParser.dir/LLParser.cpp.o
[638/645] Linking CXX static library lib/libLLVMAsmParser.a
[639/645] Linking CXX static library lib/libLLVMIRReader.a
[640/645] Linking CXX static library lib/libLLVMObject.a
[641/645] Linking CXX static library lib/libLLVMDebugInfoDWARF.a
[642/645] Linking CXX static library lib/libLLVMDebugInfoPDB.a
[643/645] Linking CXX static library lib/libLLVMSymbolize.a
[644/645] Linking CXX static library lib/libLLVMDebuginfod.a
[645/645] Linking CXX executable bin/llvm-symbolizer
+ ninja -C compiler_rt_build_android_i686
ninja: Entering directory `compiler_rt_build_android_i686'
ninja: error: loading 'build.ninja': No such file or directory
+ BUILD_RT_ERR='|aarch64||arm||i686|'
+ build_failure
+ echo
+ echo 'How to reproduce locally: https://github.com/google/sanitizers/wiki/SanitizerBotReproduceBuild'
+ echo
+ sleep 5

How to reproduce locally: https://github.com/google/sanitizers/wiki/SanitizerBotReproduceBuild
+ echo @@@STEP_FAILURE@@@
+ [[ '' == \1 ]]
+ [[ ! -v BUILDBOT_BUILDERNAME ]]
+ test_android arm:armeabi-v7a aarch64:arm64-v8a
+ [[ -v BUILDBOT_BUILDERNAME ]]
+ restart_adb_server
+ ADB=adb
+ echo @@@BUILD_STEP restart adb server@@@
+ adb kill-server
Step 14 (run all tests) failure: run all tests (failure)
...
+ for SERIAL in $ANDROID_DEVICES
+ test_on_device 17031FQCB00176 arm:armeabi-v7a aarch64:arm64-v8a
+ local _serial=17031FQCB00176
+ shift
++ adb -s 17031FQCB00176 shell getprop ro.product.cpu.abilist
+ ABILIST=arm64-v8a,armeabi-v7a,armeabi
+ patch_abilist arm64-v8a,armeabi-v7a,armeabi ABILIST
+ local _abilist=arm64-v8a,armeabi-v7a,armeabi
+ local _out=ABILIST
+ [[ arm64-v8a,armeabi-v7a,armeabi == \x\8\6* ]]
+ eval 'ABILIST='\''arm64-v8a,armeabi-v7a,armeabi'\'''
++ ABILIST=arm64-v8a,armeabi-v7a,armeabi
+ for _arg in "$@"
+ local _arch=arm
+ local _abi=armeabi-v7a
+ [[ |aarch64||arm||i686| == *\|\a\r\m\|* ]]
+ echo 'skipping tests on arm'
+ build_failure
+ echo
+ echo 'How to reproduce locally: https://github.com/google/sanitizers/wiki/SanitizerBotReproduceBuild'
skipping tests on arm

How to reproduce locally: https://github.com/google/sanitizers/wiki/SanitizerBotReproduceBuild
+ echo
+ sleep 5
+ echo @@@STEP_FAILURE@@@
+ [[ '' == \1 ]]
+ [[ ! -v BUILDBOT_BUILDERNAME ]]
+ continue
+ for _arg in "$@"
+ local _arch=aarch64
+ local _abi=arm64-v8a
+ [[ |aarch64||arm||i686| == *\|\a\a\r\c\h\6\4\|* ]]
+ echo 'skipping tests on aarch64'
+ build_failure
+ echo
+ echo 'How to reproduce locally: https://github.com/google/sanitizers/wiki/SanitizerBotReproduceBuild'
+ echo
skipping tests on aarch64

How to reproduce locally: https://github.com/google/sanitizers/wiki/SanitizerBotReproduceBuild
+ sleep 5
+ echo @@@STEP_FAILURE@@@
+ [[ '' == \1 ]]
+ [[ ! -v BUILDBOT_BUILDERNAME ]]
+ continue
+ [[ |aarch64||arm||i686| == '' ]]
+ return
program finished with exit code 1
elapsedTime=1121.062112

```

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


More information about the llvm-commits mailing list