From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp44.i.mail.ru (smtp44.i.mail.ru [94.100.177.104]) (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 E03C3469719 for ; Tue, 10 Nov 2020 16:46:28 +0300 (MSK) From: "Alexander V. Tikhonov" Date: Tue, 10 Nov 2020 16:46:26 +0300 Message-Id: <04bd8d7d3201ec7db25af37d601f026c8719092c.1605015930.git.avtikhon@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH v1] test: flaky engine/json.test.lua 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 Found issue: No output during 120 seconds. Will abort after 120 seconds without output. List of workers not reporting the status: - 001_engine [engine/json.test.lua, memtx] at var/001_engine/json.result:598 Test hung! Result content mismatch: --- engine/json.result Fri Nov 6 08:35:45 2020 +++ var/001_engine/json.result Mon Nov 9 03:48:40 2020 @@ -596,248 +596,3 @@ - ok ... test_run:cmd("restart server default") -engine = test_run:get_cfg('engine') ---- -… It happened because test-run used to restart 'tarantoolctl restart' routine with default signal SIGTERM. After tarantoolctl updated with the ability to provide needed signal to kill the instance, then SIGKILL was set in the test. Part of #5510 --- Github: https://github.com/tarantool/tarantool/tree/avtikhon/gh-5510-hang-test-json Issue: https://github.com/tarantool/tarantool/issues/5510 test/engine/json.result | 2 +- test/engine/json.test.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/engine/json.result b/test/engine/json.result index b8fd9a1b6..0780c39b7 100644 --- a/test/engine/json.result +++ b/test/engine/json.result @@ -595,7 +595,7 @@ box.snapshot() --- - ok ... -test_run:cmd("restart server default") +test_run:cmd("restart server default with signal=KILL") engine = test_run:get_cfg('engine') --- ... diff --git a/test/engine/json.test.lua b/test/engine/json.test.lua index 371bbad91..427f14c36 100644 --- a/test/engine/json.test.lua +++ b/test/engine/json.test.lua @@ -170,7 +170,7 @@ name:select({}) name:select({'Max'}) name:get({'Max', 'Stierlitz', 'Otto'}) box.snapshot() -test_run:cmd("restart server default") +test_run:cmd("restart server default with signal=KILL") engine = test_run:get_cfg('engine') s = box.space["withdata"] pk = s.index["pk"] -- 2.25.1