Task 5235804529754112

ci: switch MSAN to use prebuilt Clang binaries

2025-02-18 12:12:11 completed worker:ci_worker_1738693537_606070055 pull/31850 3d5da9f28cf6c8e71b00232c89bee95e8176e0e9


Commands that took longer than 1 second (total 1h2m43s)
linedurationpercentagecommand
20412s0%docker build --file /tmp/cirrus-build/ci/test_imagefile --build-arg CI_IMAGE_NAME_TAG=docker.io/ubuntu:24.04 --build-arg FILE_ENV=./ci/test/00_setup_env_native_msan.sh --cpuset-cpus=6,12,15,16,17,36,43,49,55,57 --platform=linux --label=bitcoin-ci-test --tag=ci_native_msan /tmp/cirrus-build
3124s0%retry -- apt-get update
3321m3s1%retry -- apt-get install curl -y
5442s0%retry -- apt-get update
55310m1s15%retry -- bash -c 'apt-get install --no-install-recommends --no-upgrade -y clang-20 llvm-20 llvm-20-dev libclang-20-dev libclang-rt-20-dev ninja-build build-essential pkgconf curl ca-certificates ccache python3 rsync git procps bison e2fsprogs cmake'
12921m44s2%retry -- git clone --depth=1 https://github.com/llvm/llvm-project -b llvmorg-20.1.0-rc2 /msan/llvm-project
131219s0%cmake -G Ninja -B /msan/cxx_build/ '-DLLVM_ENABLE_RUNTIMES=libcxx;libcxxabi;libunwind' -DCMAKE_BUILD_TYPE=Release -DLLVM_USE_SANITIZER=MemoryWithOrigins -DCMAKE_C_COMPILER=clang-20 -DCMAKE_CXX_COMPILER=clang++-20 -DLLVM_TARGETS_TO_BUILD=Native -DLLVM_ENABLE_PER_TARGET_RUNTIME_DIR=OFF -DLIBCXXABI_USE_LLVM_UNWINDER=OFF '-DLIBCXX_ABI_DEFINES=_LIBCPP_ABI_BOUNDED_ITERATORS;_LIBCPP_ABI_BOUNDED_ITERATORS_IN_STD_ARRAY;_LIBCPP_ABI_BOUNDED_ITERATORS_IN_STRING;_LIBCPP_ABI_BOUNDED_ITERATORS_IN_VECTOR;_LIBCPP_ABI_BOUNDED_UNIQUE_PTR' -DLIBCXX_HARDENING_MODE=debug -S /msan/llvm-project/runtimes
15011m32s2%ninja -C /msan/cxx_build/ -j10
39042s0%du -sh /msan/llvm-project
390622s0%rm -rf /msan/llvm-project
39111m10s1%git config --global ci.base-install-done true
39553s0%podman image prune --force --external
39733s0%docker exec f302d45349043baa7e77be493f2a20079119ab1576ab65e5db9fe418d4d52d5f bash -c 'export PATH="/path_with space:/ci_container_base/ci/scratch/bins/:/ci_container_base/ci/retry:$PATH" && cd "/ci_container_base" && rsync --archive --stats --human-readable /tmp/cirrus-build/ /ci_container_base'
42171s0%retry -- curl --location --fail https://github.com/bitcoin-core/qa-assets/raw/main/unit_test_data/script_assets_test.json -o /ci_container_base/ci/scratch/qa-assets/unit_test_data//script_assets_test.json
42286m55s11%bash -c 'CONFIG_SHELL= make -j10 -C depends HOST=x86_64-pc-linux-gnu DEBUG=1 NO_BDB=1 NO_QT=1 CC=clang-20 CXX=clang++-20 CFLAGS='\''-fsanitize=memory -fsanitize-memory-track-origins=2 -fno-omit-frame-pointer -g -O1 -fno-optimize-sibling-calls'\'' CXXFLAGS='\''-fsanitize=memory -fsanitize-memory-track-origins=2 -fno-omit-frame-pointer -g -O1 -fno-optimize-sibling-calls -nostdinc++ -nostdlib++ -isystem /msan/cxx_build/include/c++/v1 -L/msan/cxx_build/lib -Wl,-rpath,/msan/cxx_build/lib -lc++ -lc++abi -lpthread -Wno-unused-command-line-argument'\'' LOG=1'
460532s0%bash -c 'cmake -S /ci_container_base -DBUILD_BENCH=ON -DBUILD_FUZZ_BINARY=ON -DCMAKE_TOOLCHAIN_FILE=/ci_container_base/depends/x86_64-pc-linux-gnu/toolchain.cmake -DWERROR=ON -DENABLE_EXTERNAL_SIGNER=ON -DCMAKE_INSTALL_PREFIX=/ci_container_base/ci/scratch/out -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_FLAGS_DEBUG='\'''\'' -DCMAKE_CXX_FLAGS_DEBUG='\'''\'' -DSANITIZERS=memory -DAPPEND_CPPFLAGS='\''-U_FORTIFY_SOURCE'\'' || ( (cat CMakeFiles/CMakeConfigureLog.yaml) && false)'
492516m7s25%bash -c 'cmake --build . -j10 --target all install'
575811m16s17%ctest --stop-on-failure -j10 --timeout 2400
604510m56s17%test/functional/test_runner.py --ci -j10 --tmpdirprefix /ci_container_base/ci/scratch/test_runner/ --ansi --combinedlogslen=99999999 --timeout-factor=40 --quiet --failfast
Tags
  • worker:ci_worker_1738693537_606070055
  • MSan, depends
  • pull/31850
  • COMPLETED