Tarantool development patches archive
 help / color / mirror / Atom feed
* [Tarantool-patches] [PATCH v1 0/2] Add LSAN to ASAN testing
@ 2019-11-21  8:25 Alexander V. Tikhonov
  2019-11-21  8:25 ` [Tarantool-patches] [PATCH v1 1/2] test: use default replication connection timeout Alexander V. Tikhonov
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Alexander V. Tikhonov @ 2019-11-21  8:25 UTC (permalink / raw)
  To: Igor Munkin; +Cc: tarantool-patches

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-04-02  7:53 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-21  8:25 [Tarantool-patches] [PATCH v1 0/2] Add LSAN to ASAN testing Alexander V. Tikhonov
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

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