Tarantool development patches archive
 help / color / mirror / Atom feed
From: "Alexander V. Tikhonov" <avtikhon@tarantool.org>
To: Igor Munkin <imun@tarantool.org>
Cc: tarantool-patches@dev.tarantool.org
Subject: [Tarantool-patches] [PATCH v1 0/2] Add LSAN to ASAN testing
Date: Thu, 21 Nov 2019 11:25:54 +0300	[thread overview]
Message-ID: <cover.1574324040.git.avtikhon@tarantool.org> (raw)

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

             reply	other threads:[~2019-11-21  8:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-21  8:25 Alexander V. Tikhonov [this message]
2019-11-21  8:25 ` [Tarantool-patches] [PATCH v1 1/2] test: use default replication connection timeout Alexander V. Tikhonov
2020-01-14 23:23   ` Igor Munkin
2020-01-20  5:06     ` Alexander Tikhonov
2019-11-21  8:25 ` [Tarantool-patches] [PATCH v1 2/2] gitlab-ci: ASAN testing memory leaks add Alexander V. Tikhonov
2020-01-14 23:23   ` Igor Munkin
2020-01-20  5:26     ` Alexander Tikhonov
2020-04-02  7:53 ` [Tarantool-patches] [PATCH v1 0/2] Add LSAN to ASAN testing Kirill Yukhin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1574324040.git.avtikhon@tarantool.org \
    --to=avtikhon@tarantool.org \
    --cc=imun@tarantool.org \
    --cc=tarantool-patches@dev.tarantool.org \
    --subject='Re: [Tarantool-patches] [PATCH v1 0/2] Add LSAN to ASAN testing' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox