From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id D9A302ABE4 for ; Mon, 15 Apr 2019 09:26:04 -0400 (EDT) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id u2tjvW32rU1a for ; Mon, 15 Apr 2019 09:26:04 -0400 (EDT) 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 turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id 2B3182ABE0 for ; Mon, 15 Apr 2019 09:26:04 -0400 (EDT) Date: Mon, 15 Apr 2019 16:25:54 +0300 From: Alexander Turenko Subject: [tarantool-patches] Re: [PATCH v1] test: enable parallel testing for vinyl suite Message-ID: <20190415132554.vxxxuiex3owtk2it@tkn_work_nb> References: <836868d9fe292582c3dbc7ade8919081686fee22.1555329875.git.avtikhon@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <836868d9fe292582c3dbc7ade8919081686fee22.1555329875.git.avtikhon@tarantool.org> Sender: tarantool-patches-bounce@freelists.org Errors-to: tarantool-patches-bounce@freelists.org Reply-To: tarantool-patches@freelists.org List-Help: List-Unsubscribe: List-software: Ecartis version 1.0.0 List-Id: tarantool-patches List-Subscribe: List-Owner: List-post: List-Archive: To: avtikhon Cc: tarantool-patches@freelists.org I have enabled core files: ulimit -c unlimited. Then I run: for i in $(seq 1 100); do ./test-run.py -j 30 --long vinyl/ || break; done And observed the following crash: [020] [Instance "low_quota" killed by signal: 11 (SIGSEGV)] Program terminated with signal SIGSEGV, Segmentation fault. #0 0x000055ec89ca3e04 in matras_view_get_no_check (m=0x55ec8ae6eda8, v=0x55ec8af64080, id=0) at /home/alex/p/tarantool-meta/tarantool/src/lib/small/small/matras.h:353 353 return &extent[n1][n2][n3 * m->block_size]; [Current thread is 1 (Thread 0x7f7444bff700 (LWP 3114))] (gdb) bt #0 0x000055ec89ca3e04 in matras_view_get_no_check (m=0x55ec8ae6eda8, v=0x55ec8af64080, id=0) at /home/alex/p/tarantool-meta/tarantool/src/lib/small/small/matras.h:353 #1 0x000055ec89ca3e62 in matras_view_get (m=0x55ec8ae6eda8, v=0x55ec8af64080, id=0) at /home/alex/p/tarantool-meta/tarantool/src/lib/small/small/matras.h:363 #2 0x000055ec89ca4762 in bps_tree_memtx_tree_restore_block_ver (tree=0x55ec8ae6ed60, id=0, view=0x55ec8af64080) at /home/alex/p/tarantool-meta/tarantool/src/lib/salad/bps_tree.h:1285 #3 0x000055ec89ca4d55 in bps_tree_memtx_tree_get_leaf_safe (tree=0x55ec8ae6ed60, itr=0x55ec8af64078) at /home/alex/p/tarantool-meta/tarantool/src/lib/salad/bps_tree.h:1552 #4 0x000055ec89ca5763 in memtx_tree_iterator_get_elem (tree=0x55ec8ae6ed60, itr=0x55ec8af64078) at /home/alex/p/tarantool-meta/tarantool/src/lib/salad/bps_tree.h:1970 #5 0x000055ec89caedfd in tree_snapshot_iterator_next (iterator=0x55ec8af64060, size=0x7f74454fe61c) at /home/alex/p/tarantool-meta/tarantool/src/box/memtx_tree.c:734 #6 0x000055ec89cb6e66 in checkpoint_f (ap=0x7f7445400228) at /home/alex/p/tarantool-meta/tarantool/src/box/memtx_engine.c:661 #7 0x000055ec89c8f9a9 in fiber_cxx_invoke(fiber_func, typedef __va_list_tag __va_list_tag *) (f=0x55ec89cb6ce6 , ap=0x7f7445400228) at /home/alex/p/tarantool-meta/tarantool/src/lib/core/fiber.h:672 #8 0x000055ec89db5b73 in fiber_loop (data=0x0) at /home/alex/p/tarantool-meta/tarantool/src/lib/core/fiber.c:694 #9 0x000055ec89f8ccb3 in coro_init () at /home/alex/p/tarantool-meta/tarantool/third_party/coro/coro.c:110 2.2.0-179-ga00169714. Also I found a bunch of open issues re vinyl in parallel mode, added to #4158. Please, resolve them first. WBR, Alexander Turenko. On Mon, Apr 15, 2019 at 03:06:44PM +0300, avtikhon wrote: > Need to switch on is_parallel flag for vinyl suite > to be able to run subtests in parallel using: > ./test_run.pl -j'' > > Close #4158 > --- > > Github: https://github.com/tarantool/tarantool/tree/avtikhon/gh4158-vinyl-parallel > Issue: https://github.com/tarantool/tarantool/issues/4158 > > test/vinyl/suite.ini | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/test/vinyl/suite.ini b/test/vinyl/suite.ini > index 3612cf44b..98d9eb5ae 100644 > --- a/test/vinyl/suite.ini > +++ b/test/vinyl/suite.ini > @@ -7,6 +7,6 @@ config = suite.cfg > lua_libs = suite.lua stress.lua large.lua txn_proxy.lua ../box/lua/utils.lua > use_unix_sockets = True > long_run = stress.test.lua large.test.lua write_iterator_rand.test.lua dump_stress.test.lua select_consistency.test.lua throttle.test.lua > -is_parallel = False > +is_parallel = True > disabled = upgrade.test.lua > pretest_clean = True > -- > 2.17.1 >