mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-01 16:53:52 +02:00
Merge bitcoin/bitcoin#33626: ci: run native fuzz with MSAN job
1e6e32fa8aci: run native fuzz with MSAN job (fanquake)3784d15bcdci: use LLVM libcxx 21.1.5 (fanquake) Pull request description: I think this job should exist in this repo (not just qa-assets), if the alternative is double-handling changes to the interpreter. #32998 made changes which were then re-changed in #33600, to work around a false positive. The unchached runtime of this job with `-lg` is `~32m`, with `-md` it's `~43m`. Timeout is set to 150m, as the slow GHA runners were close to hitting a 120m limit. ACKs for top commit: maflcko: lgtm ACK1e6e32fa8adergoegge: utACK1e6e32fa8aTree-SHA512: afd4cb0039f4f49ddc23f5553a5bf6d5ceffbc12d91acd6890d5cc40c30b7421b23d04f305983d94c862daa6fc07535b1331d7fa2a8ebfe9f19c20d83d95c692
This commit is contained in:
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@@ -533,6 +533,12 @@ jobs:
|
|||||||
timeout-minutes: 120
|
timeout-minutes: 120
|
||||||
file-env: './ci/test/00_setup_env_native_tsan.sh'
|
file-env: './ci/test/00_setup_env_native_tsan.sh'
|
||||||
|
|
||||||
|
- name: 'MSan, fuzz'
|
||||||
|
cirrus-runner: 'ghcr.io/cirruslabs/ubuntu-runner-amd64:24.04-md'
|
||||||
|
fallback-runner: 'ubuntu-24.04'
|
||||||
|
timeout-minutes: 150
|
||||||
|
file-env: './ci/test/00_setup_env_native_fuzz_with_msan.sh'
|
||||||
|
|
||||||
- name: 'MSan, depends'
|
- name: 'MSan, depends'
|
||||||
cirrus-runner: 'ghcr.io/cirruslabs/ubuntu-runner-amd64:24.04-lg'
|
cirrus-runner: 'ghcr.io/cirruslabs/ubuntu-runner-amd64:24.04-lg'
|
||||||
fallback-runner: 'ubuntu-24.04'
|
fallback-runner: 'ubuntu-24.04'
|
||||||
@@ -561,7 +567,7 @@ jobs:
|
|||||||
run: sed -i "s|\${INSTALL_BCC_TRACING_TOOLS}|true|g" ./ci/test/00_setup_env_native_asan.sh
|
run: sed -i "s|\${INSTALL_BCC_TRACING_TOOLS}|true|g" ./ci/test/00_setup_env_native_asan.sh
|
||||||
|
|
||||||
- name: Set mmap_rnd_bits
|
- name: Set mmap_rnd_bits
|
||||||
if: ${{ env.CONTAINER_NAME == 'ci_native_tsan' || env.CONTAINER_NAME == 'ci_native_msan' }}
|
if: ${{ env.CONTAINER_NAME == 'ci_native_tsan' || env.CONTAINER_NAME == 'ci_native_msan' || env.CONTAINER_NAME == 'ci_native_fuzz_msan' }}
|
||||||
# Prevents crashes due to high ASLR entropy
|
# Prevents crashes due to high ASLR entropy
|
||||||
run: sudo sysctl -w vm.mmap_rnd_bits=28
|
run: sudo sysctl -w vm.mmap_rnd_bits=28
|
||||||
|
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ if [ -n "$PIP_PACKAGES" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -n "${USE_INSTRUMENTED_LIBCPP}" ]]; then
|
if [[ -n "${USE_INSTRUMENTED_LIBCPP}" ]]; then
|
||||||
${CI_RETRY_EXE} git clone --depth=1 https://github.com/llvm/llvm-project -b "llvmorg-21.1.1" /llvm-project
|
${CI_RETRY_EXE} git clone --depth=1 https://github.com/llvm/llvm-project -b "llvmorg-21.1.5" /llvm-project
|
||||||
|
|
||||||
cmake -G Ninja -B /cxx_build/ \
|
cmake -G Ninja -B /cxx_build/ \
|
||||||
-DLLVM_ENABLE_RUNTIMES="libcxx;libcxxabi;libunwind" \
|
-DLLVM_ENABLE_RUNTIMES="libcxx;libcxxabi;libunwind" \
|
||||||
|
|||||||
Reference in New Issue
Block a user