From 21f95c45369fa84f78b374dee8d4b8e98ef22c45 Mon Sep 17 00:00:00 2001 From: "Rodrigo Q. Saramago" Date: Mon, 30 Jan 2023 13:22:58 +0100 Subject: [PATCH] Suppress libcln from asan tests --- .circleci/cln-asan.supp | 1 + .circleci/config.yml | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 .circleci/cln-asan.supp diff --git a/.circleci/cln-asan.supp b/.circleci/cln-asan.supp new file mode 100644 index 000000000..b16becf29 --- /dev/null +++ b/.circleci/cln-asan.supp @@ -0,0 +1 @@ +leak:*libcln* diff --git a/.circleci/config.yml b/.circleci/config.yml index b2c1ab920..81b757a66 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1094,6 +1094,9 @@ jobs: environment: TERM: xterm ASAN_OPTIONS: check_initialization_order=true:detect_stack_use_after_return=true:strict_init_order=true:strict_string_checks=true:detect_invalid_pointer_pairs=2 + # Suppress CLN memory leak. + # See: https://github.com/ethereum/solidity/issues/13891 for details. + LSAN_OPTIONS: suppressions=.circleci/cln-asan.supp <<: *steps_cmdline_tests t_ubu_asan_soltest: @@ -1104,6 +1107,9 @@ jobs: OPTIMIZE: 0 SOLTEST_FLAGS: --no-smt ASAN_OPTIONS: check_initialization_order=true:detect_stack_use_after_return=true:strict_init_order=true:strict_string_checks=true:detect_invalid_pointer_pairs=2 + # Suppress CLN memory leak. + # See: https://github.com/ethereum/solidity/issues/13891 for details. + LSAN_OPTIONS: suppressions=.circleci/cln-asan.supp <<: *steps_soltest t_ubu_asan_clang_soltest: