From 9a212e2053e35d2a9063b5e9c94489480ca00ed3 Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Wed, 27 Mar 2024 06:26:39 +1100 Subject: [PATCH] CI: Temporarily isable MSAN There is a bug in the memory sanitizer at the moment, for more info see - https://github.com/rust-bitcoin/rust-bitcoin/pull/2600 - https://github.com/rust-bitcoin/rust-bitcoin/issues/2579 As we did in `rust-bitcoin` temporarily disable MSAN in CI. --- contrib/_test.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/contrib/_test.sh b/contrib/_test.sh index 21ce87438..e0745d30e 100755 --- a/contrib/_test.sh +++ b/contrib/_test.sh @@ -97,9 +97,12 @@ if [ "$DO_ASAN" = true ]; then cargo clean # The -Cllvm-args=-msan-eager-checks=0 flag was added to overcome this issue: # https://github.com/rust-bitcoin/rust-secp256k1/pull/573#issuecomment-1399465995 - CC='clang -fsanitize=memory -fno-omit-frame-pointer' \ - RUSTFLAGS='-Zsanitizer=memory -Zsanitizer-memory-track-origins -Cforce-frame-pointers=yes -Cllvm-args=-msan-eager-checks=0' \ - cargo test --lib --all --features="$FEATURES" -Zbuild-std --target x86_64-unknown-linux-gnu + # + # There is currently a bug in the MemorySanitizer (MSAN) - disable the job for now. + # + # CC='clang -fsanitize=memory -fno-omit-frame-pointer' \ + # RUSTFLAGS='-Zsanitizer=memory -Zsanitizer-memory-track-origins -Cforce-frame-pointers=yes -Cllvm-args=-msan-eager-checks=0' \ + # cargo test --lib --all --features="$FEATURES" -Zbuild-std --target x86_64-unknown-linux-gnu pushd "$REPO_DIR/no_std_test" > /dev/null || exit 1 # See https://github.com/rust-bitcoin/rust-secp256k1/pull/641#issuecomment-1671598914