[Tarantool-patches] [PATCH v1 0/2] Add LSAN to ASAN testing

Alexander V. Tikhonov avtikhon at tarantool.org
Thu Nov 21 11:25:54 MSK 2019


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



More information about the Tarantool-patches mailing list