[llvm-dev] Buildbot failure in LLVM Buildbot on sanitizer-x86_64-linux-android

Dmitry Vyukov via llvm-dev llvm-dev at lists.llvm.org
Fri Apr 30 09:18:49 PDT 2021


I've sent https://reviews.llvm.org/D101644 to fix this.

On Fri, Apr 30, 2021 at 5:19 PM <llvm.buildmaster at lab.llvm.org> wrote:
>
> The Buildbot has detected a failed build on builder sanitizer-x86_64-linux-android while building llvm.
>
> Full details are available at:
>     https://lab.llvm.org/buildbot#builders/77/builds/5984
>
> Worker for this Build: sanitizer-buildbot6
> Blamelist:
>     Adam Czachorowski <adamcz at google.com>,
>     Dmitry Vyukov <dvyukov at google.com>,
>     Jay Foad <jay.foad at amd.com>,
>     LLVM GN Syncbot <llvmgnsyncbot at gmail.com>,
>     Sidharth Baveja <sidharth.baveja at ibm.com>,
>     Simon Moll <simon.moll at emea.nec.com>
>
> BUILD FAILED: failed 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py'
>
> Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py'
> python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py
>  in dir /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build (timeout 1200 secs)
>  watching logfiles {}
>  argv: [b'python', b'../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py']
>  environment:
>   BUILDBOT_BLAMELIST=[]
>   BUILDBOT_BRANCH=main
>   BUILDBOT_BUILDERNAME=sanitizer-x86_64-linux-android
>   BUILDBOT_BUILDNUMBER=5984
>   BUILDBOT_CLOBBER=
>   BUILDBOT_GOT_REVISION=a138f265e7a4fd9a6bf7288ca50361b4d7c0860f
>   BUILDBOT_MSAN_ORIGINS=
>   BUILDBOT_REVISION=70c433a184a54819835e54c62c3e6891e7069861
>   BUILDBOT_SCHEDULER=main:clang,compiler-rt,libcxx,libcxxabi,libunwind,lld,llvm
>   BUILDBOT_SLAVENAME=None
>   HOME=/var/lib/buildbot
>   INVOCATION_ID=c05ecc968f624671b2e2ffd0f558eeaa
>   JOURNAL_STREAM=9:2763
>   LANG=en_US.UTF-8
>   LOGNAME=buildbot
>   PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
>   PWD=/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build
>   SHELL=/bin/bash
>   TERM=dumb
>   USER=buildbot
>  using PTY: False
> builder name: sanitizer-x86_64-linux-android
> sanitizer-x86_64-linux-android runs: bash ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_android.sh
> + set -e
> + set -u
> +++ dirname ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_android.sh
> ++ cd ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers
> ++ pwd
> + HERE=/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers
> + . /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_functions.sh
> ++ echo @@@BUILD_STEP Info@@@
> Step 9 (build android/aarch64) failure: build android/aarch64 (failure)
> ...
> [409/534] Building CXX object lib/tsan/CMakeFiles/clang_rt.tsan-aarch64.dir/rtl/tsan_rtl_thread.cpp.o
> [410/534] Building CXX object lib/tsan/CMakeFiles/clang_rt.tsan-aarch64.dir/rtl/tsan_suppressions.cpp.o
> [411/534] Building CXX object lib/tsan/CMakeFiles/clang_rt.tsan-aarch64.dir/rtl/tsan_interface_atomic.cpp.o
> [412/534] Building CXX object lib/tsan/CMakeFiles/clang_rt.tsan-aarch64.dir/rtl/tsan_rtl_report.cpp.o
> [413/534] Building ASM object lib/tsan/CMakeFiles/clang_rt.tsan-aarch64.dir/rtl/tsan_rtl_aarch64.S.o
> [414/534] Building CXX object lib/tsan/CMakeFiles/clang_rt.tsan-aarch64.dir/rtl/tsan_symbolize.cpp.o
> [415/534] Copying cfi_blacklist.txt...
> [416/534] Building CXX object lib/scudo/CMakeFiles/clang_rt.scudo-dynamic-aarch64.dir/scudo_crc32.cpp.o
> [417/534] Building CXX object lib/scudo/CMakeFiles/clang_rt.scudo-dynamic-aarch64.dir/scudo_errors.cpp.o
> [418/534] Building CXX object lib/tsan/CMakeFiles/clang_rt.tsan-aarch64.dir/rtl/tsan_platform_linux.cpp.o
> FAILED: lib/tsan/CMakeFiles/clang_rt.tsan-aarch64.dir/rtl/tsan_platform_linux.cpp.o
> /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm_build64/bin/clang++  -I/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/compiler-rt/lib/tsan/.. --target=aarch64-linux-android24 --sysroot=/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot -gcc-toolchain /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/android_ndk/toolchains/llvm/prebuilt/linux-x86_64  -B/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/android_ndk/toolchains/llvm/prebuilt/linux-x86_64  -I//var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1 -Wall -Werror -std=c++14 -Wno-unused-parameter -O3 -DNDEBUG  -fno-lto -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fno-sanitize=safe-s
>  tack -fvisibility=hidden -fno-lto -O3 -gline-tables-only -Wno-gnu -Wno-variadic-macros -Wno-c99-extensions -nostdinc++ -fPIE -fno-rtti -Wframe-larger-than=530 -Wglobal-constructors -MD -MT lib/tsan/CMakeFiles/clang_rt.tsan-aarch64.dir/rtl/tsan_platform_linux.cpp.o -MF lib/tsan/CMakeFiles/clang_rt.tsan-aarch64.dir/rtl/tsan_platform_linux.cpp.o.d -o lib/tsan/CMakeFiles/clang_rt.tsan-aarch64.dir/rtl/tsan_platform_linux.cpp.o -c /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/compiler-rt/lib/tsan/rtl/tsan_platform_linux.cpp
> /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/compiler-rt/lib/tsan/rtl/tsan_platform_linux.cpp:500:10: error: const_cast from 'const __sanitizer::u32 *' (aka 'const unsigned int *') to 'int *' is not allowed
>         *const_cast<int*>(&dead_thread_state->tid) = -1;
>          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 1 error generated.
> [419/534] Building CXX object lib/tsan/CMakeFiles/clang_rt.tsan-aarch64.dir/rtl/tsan_platform_posix.cpp.o
> [420/534] Building CXX object lib/tsan/CMakeFiles/clang_rt.tsan-aarch64.dir/rtl/tsan_sync.cpp.o
> [421/534] Building CXX object lib/asan/CMakeFiles/RTAsan.aarch64.dir/asan_interceptors.cpp.o
> [422/534] Building CXX object lib/tsan/CMakeFiles/clang_rt.tsan_cxx-aarch64.dir/rtl/tsan_new_delete.cpp.o
> [423/534] Building CXX object lib/scudo/CMakeFiles/clang_rt.scudo-dynamic-aarch64.dir/scudo_flags.cpp.o
> [424/534] Building CXX object lib/asan/tests/CMakeFiles/AsanTest.dir/asan_test.cpp.o
> [425/534] Building CXX object lib/tsan/CMakeFiles/clang_rt.tsan-aarch64.dir/rtl/tsan_rtl.cpp.o
> [426/534] Building CXX object lib/scudo/CMakeFiles/clang_rt.scudo-dynamic-aarch64.dir/scudo_allocator.cpp.o
> [427/534] Building CXX object lib/sanitizer_common/tests/CMakeFiles/SanitizerTest.dir/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/llvm/utils/unittest/googletest/src/gtest-all.cc.o
> [428/534] Building CXX object lib/asan/tests/CMakeFiles/AsanTest.dir/asan_str_test.cpp.o
> [429/534] Building CXX object lib/asan/tests/CMakeFiles/AsanNoinstTest.dir/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/llvm/utils/unittest/googletest/src/gtest-all.cc.o
> [430/534] Building CXX object lib/tsan/CMakeFiles/clang_rt.tsan-aarch64.dir/rtl/tsan_interceptors_posix.cpp.o
> [431/534] Building CXX object lib/asan/tests/CMakeFiles/AsanTest.dir/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/llvm/utils/unittest/googletest/src/gtest-all.cc.o
> ninja: build stopped: subcommand failed.
> + BUILD_RT_ERR='|aarch64|'
> + echo @@@STEP_FAILURE@@@
> + build_android arm
> + local _arch=arm
> + wait
> + echo @@@BUILD_STEP build android/arm@@@
> + ninja -C llvm_build_android_arm llvm-symbolizer
> Step 23 (run instrumented asan tests [arm/crosshatch-userdebug/RP1A.201105.002]) failure: run instrumented asan tests [arm/crosshatch-userdebug/RP1A.201105.002] (failure)
> ...
> [       OK ] AddressSanitizer.ReallocTest (39 ms)
> [ RUN      ] AddressSanitizer.WrongFreeTest
> [       OK ] AddressSanitizer.WrongFreeTest (734 ms)
> [ RUN      ] AddressSanitizer.LongJmpTest
> [       OK ] AddressSanitizer.LongJmpTest (0 ms)
> [ RUN      ] AddressSanitizer.ThreadStackReuseTest
> [       OK ] AddressSanitizer.ThreadStackReuseTest (0 ms)
> [ RUN      ] AddressSanitizer.UseThenFreeThenUseTest
> [       OK ] AddressSanitizer.UseThenFreeThenUseTest (1050 ms)
> [ RUN      ] AddressSanitizer.FileNameInGlobalReportTest
> [       OK ] AddressSanitizer.FileNameInGlobalReportTest (1094 ms)
> [ RUN      ] AddressSanitizer.MlockTest
> [       OK ] AddressSanitizer.MlockTest (0 ms)
> [ RUN      ] AddressSanitizer.LongDoubleNegativeTest
> [       OK ] AddressSanitizer.LongDoubleNegativeTest (0 ms)
> [ RUN      ] AddressSanitizer.OOBRightTest
> [       OK ] AddressSanitizer.OOBRightTest (86858 ms)
> [ RUN      ] AddressSanitizer.MemCpyOOBTest
> [       OK ] AddressSanitizer.MemCpyOOBTest (13994 ms)
> [ RUN      ] AddressSanitizer.StrLenOOBTest
> [       OK ] AddressSanitizer.StrLenOOBTest (7594 ms)
> [ RUN      ] AddressSanitizer.StrCpyOOBTest
> [       OK ] AddressSanitizer.StrCpyOOBTest (3602 ms)
> [ RUN      ] AddressSanitizer.StrCmpOOBTest
> [       OK ] AddressSanitizer.StrCmpOOBTest (3490 ms)
> [ RUN      ] AddressSanitizer.StrCatOOBTest
> [       OK ] AddressSanitizer.StrCatOOBTest (3504 ms)
> [ RUN      ] AddressSanitizer.StrtollOOBTest
> [       OK ] AddressSanitizer.StrtollOOBTest (4105 ms)
> [----------] 19 tests from AddressSanitizer (127619 ms total)
>
> [----------] Global test environment tear-down
> [==========] 22 tests from 2 test cases ran. (127835 ms total)
> [  PASSED  ] 22 tests.
>
>   YOU HAVE 24 DISABLED TESTS
>
> + wait
> + for _arg in "$@"
> + local _arch=aarch64
> + local _abi=arm64-v8a
> + [[ |aarch64| == *\|\a\a\r\c\h\6\4\|* ]]
> + echo '@@@STEP_FAILURE@@ skipping tests on aarch64'
> + continue
> @@@STEP_FAILURE@@ skipping tests on aarch64
> + wait
> + [[ |aarch64| == '' ]]
> + return
> program finished with exit code 1
> elapsedTime=1503.398905
>
> Sincerely,
> LLVM Buildbot
>


More information about the llvm-dev mailing list