From f6dfa72703990840f44bb69196c9d0d08c1e390e Mon Sep 17 00:00:00 2001 From: Darek Stojaczyk Date: Mon, 22 Jul 2019 10:40:02 +0200 Subject: [PATCH] autotest: disable ASAN when SPDK_TEST_BLOCKDEV At the time of SPDK 19.04 release the blockdev tests were run on machines without libasan installed. A few months after the release we've merged a fairly big patch series enabling blockdev to be run with ASAN and we've installed libasan on all CI machines. 19.04.x doesn't have this patch series and currently fails to start fio on CI. We don't want to cherry-pick the entire series, so just explicitly disable ASAN in our test scripts whenever blockdev tests are run. Change-Id: Ib5e26932b5dfd736611ffabd4b055459ec25e59f Signed-off-by: Darek Stojaczyk Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/462820 --- test/common/autotest_common.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/common/autotest_common.sh b/test/common/autotest_common.sh index 3c0b27a86..3750ce3fb 100644 --- a/test/common/autotest_common.sh +++ b/test/common/autotest_common.sh @@ -73,6 +73,11 @@ else export DEPENDENCY_DIR fi +if [ $SPDK_TEST_BLOCKDEV -eq 1 ]; then + # blockdev.sh in SPDK 19.04 is not able to run with ASAN + export SPDK_RUN_ASAN=0 +fi + if [ ! -z "$HUGEMEM" ]; then export HUGEMEM fi