From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtpng1.m.smailru.net (smtpng1.m.smailru.net [94.100.181.251]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 9291046970F for ; Thu, 21 Nov 2019 11:25:59 +0300 (MSK) From: "Alexander V. Tikhonov" Date: Thu, 21 Nov 2019 11:25:54 +0300 Message-Id: Subject: [Tarantool-patches] [PATCH v1 0/2] Add LSAN to ASAN testing List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Igor Munkin Cc: tarantool-patches@dev.tarantool.org Added memory leaks detection LSAN to ASAN testing. Added files with exceptions: - address sanitizer on compilation: asan/ignore_asan.txt - memory leak sanitizer on run-time: asan/ignore_lsan.txt Blocked 'box/on_shutdown.test.lua' test that breaks the testing, all of excepted tests will be enabled during issue #4360. Added 'engine' and replication' suites into the testing. To enable replication suite testing removed all local connection timeout setups, where it is not the part of the testing scenario. Instead of it the default value will be used, because the most of tests used the replication connection timeout is equal to 0.5 second, while default value is set at sources file: src/box/lua/load_cfg.lua to the value of 30 seconds: replication_connect_timeout = 30 which is quite enough for all of the tests. Close #2058 --- Github: https://github.com/tarantool/tarantool/tree/avtikhon/gh-2058-asan-with-leaks Issue: https://github.com/tarantool/tarantool/issues/2058 Alexander V. Tikhonov (2): test: use default replication connection timeout gitlab-ci: ASAN testing memory leaks add .travis.mk | 13 ++- asan/ignore_asan.txt | 17 +++ asan/ignore_lsan.txt | 105 ++++++++++++++++++ cmake/profile.cmake | 4 +- test/box/on_shutdown.skipcond | 7 ++ test/replication/autobootstrap.lua | 2 - test/replication/autobootstrap.result | 2 +- test/replication/autobootstrap.test.lua | 2 +- test/replication/autobootstrap_guest.lua | 2 - test/replication/before_replace.result | 6 +- test/replication/before_replace.test.lua | 6 +- test/replication/ddl.lua | 2 - test/replication/hot_standby.lua | 1 - test/replication/master.lua | 1 - test/replication/master_quorum.lua | 2 - test/replication/on_replace.lua | 2 - test/replication/quorum.lua | 2 - test/replication/quorum.result | 15 ++- test/replication/quorum.test.lua | 15 ++- test/replication/rebootstrap.lua | 2 - test/replication/rebootstrap.result | 4 +- test/replication/rebootstrap.test.lua | 4 +- test/replication/recover_missing_xlog.result | 2 +- .../replication/recover_missing_xlog.test.lua | 2 +- test/replication/replica.lua | 1 - test/replication/replica_auth.lua | 2 - test/replication/replica_no_quorum.lua | 1 - test/replication/replica_quorum.lua | 2 - test/replication/replica_timeout.lua | 2 - test/replication/replica_uuid.lua | 1 - test/replication/replica_uuid_ro.lua | 2 - test/replication/replicaset_ro_mostly.result | 2 +- .../replication/replicaset_ro_mostly.test.lua | 2 +- test/replication/wal_off.lua | 1 - 34 files changed, 168 insertions(+), 68 deletions(-) create mode 100644 asan/ignore_asan.txt create mode 100644 asan/ignore_lsan.txt create mode 100644 test/box/on_shutdown.skipcond -- 2.17.1