From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp37.i.mail.ru (smtp37.i.mail.ru [94.100.177.97]) (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 EDE51469719 for ; Wed, 30 Sep 2020 12:25:44 +0300 (MSK) From: "Alexander V. Tikhonov" Date: Wed, 30 Sep 2020 12:25:41 +0300 Message-Id: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH v1] asan: add leak suppressions for flaky test List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kirill Yukhin Cc: tarantool-patches@dev.tarantool.org Met flaky issues on test: replication/gh-3637-misc-error-on-replica-auth-fail.test.lua Found memory leaks: [093] Last 15 lines of Tarantool Log file [Instance "replica_auth"][/builds/DtQXhC5e/0/tarantool/tarantool/test/var/093_replication/replica_auth.log]: [093] #3 0xa13df8 in coio_on_call /builds/DtQXhC5e/0/tarantool/tarantool/src/lib/core/coio_task.c:264:16 [093] #4 0xfcedbe in eio_execute /builds/DtQXhC5e/0/tarantool/tarantool/third_party/libeio/eio.c:2015:9 [093] #5 0xfcedbe in etp_proc /builds/DtQXhC5e/0/tarantool/tarantool/third_party/libeio/etp.c:373 [093] #6 0x7f8c8260ffa2 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x7fa2) [093] [093] Indirect leak of 4 byte(s) in 1 object(s) allocated from: [093] #0 0x525dfa in calloc (/builds/DtQXhC5e/0/tarantool/tarantool/src/tarantool+0x525dfa) [093] #1 0xa2eb4a in mh_i64ptr_new /builds/DtQXhC5e/0/tarantool/tarantool/src/lib/salad/mhash.h:408:22 [093] #2 0x8a516d in vy_recovery_new_f /builds/DtQXhC5e/0/tarantool/tarantool/src/box/vy_log.c:2321:23 [093] #3 0xa13df8 in coio_on_call /builds/DtQXhC5e/0/tarantool/tarantool/src/lib/core/coio_task.c:264:16 [093] #4 0xfcedbe in eio_execute /builds/DtQXhC5e/0/tarantool/tarantool/third_party/libeio/eio.c:2015:9 [093] #5 0xfcedbe in etp_proc /builds/DtQXhC5e/0/tarantool/tarantool/third_party/libeio/etp.c:373 [093] #6 0x7f8c8260ffa2 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x7fa2) To stabilize testing these leaks added as suppressions to asan list. Part of #5343 --- Github: https://github.com/tarantool/tarantool/tree/avtikhon/flaky-checksums Issue: https://github.com/tarantool/tarantool/issues/5343 asan/lsan.supp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/asan/lsan.supp b/asan/lsan.supp index f1ec60da3..e3b62e653 100644 --- a/asan/lsan.supp +++ b/asan/lsan.supp @@ -46,6 +46,12 @@ leak:libc.so* # source: src/lib/salad/mhash.h leak:mh_i32ptr_new +# test: replication/gh-3637-misc-error-on-replica-auth-fail.test.lua +# source: src/lib/core/coio_task.c +leak:coio_on_call +# source: src/lib/salad/mhash.h +leak:mh_i64ptr_new + # test: sql-tap/gh2250-trigger-chain-limit.test.lua # source: src/lib/core/exception.cc leak:Exception::operator new -- 2.25.1