From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from [87.239.111.99] (localhost [127.0.0.1]) by dev.tarantool.org (Postfix) with ESMTP id 515B06ECE2; Tue, 24 Nov 2026 15:09:56 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 515B06ECE2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1795522196; bh=GHI0dZ6CjiDXhFLKmUBsF91e4ouRhsRIWkG6uKqyXus=; h=Date:To:References:In-Reply-To:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=UNIDZ6flJprAr3ntVKsjsG05bDv0hrDVAOygcsgeu5o+aFCI0nke8pkx5hRY1zAFF w5EJaKGAxH8VaRqaGgriqDiPd2VQiVn22zQLHaa8NeBAzjB67Mr+c1S53c5e30zv3n fK/m087PjqrVosmfk5JoJXXFVIGbet6ebQhTh3oc= Received: from send218.i.mail.ru (send218.i.mail.ru [95.163.59.57]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id B90856ECE2 for ; Tue, 24 Nov 2026 15:09:54 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org B90856ECE2 Received: by exim-smtp-canary-30-7cf57c478c-lj79m with esmtpa (envelope-from ) id 1xVpLM-00000000Fdk-4BQP; Tue, 24 Nov 2026 15:09:53 +0300 Message-ID: <96c727fe-9975-4186-9cda-b56e9ee6c8ad@tarantool.org> Date: Tue, 24 Nov 2026 15:09:51 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: Evgeniy Temirgaleev References: <68d8da9f72cbf7237b0e21f9c643789d36fa82a8.1793574664.git.e.temirgaleev@tarantool.org> Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Mailru-Src: smtp X-4EC0790: 10 X-7564579A: 646B95376F6C166E X-77F55803: 4F1203BC0FB41BD9DFC18640EC9820973AB87E6D124C57EF06B051F3447C6130182A05F538085040070CF5A8D29151153DE06ABAFEAF6705AF7209C984F6B47337701B9528011784D37E07BDF5347EEA X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE70A10A23A3B64B805EA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F7900637AC83A81C8FD4AD23D82A6BABE6F325AC2E85FA5F3EDFCBAA7353EFBB5533756603DA5D6BE41EFC0D476702C8475F5737AAA42E00013048F6945C099A5CDC74C1389733CBF5DBD5E9D5E8D9A59859A8B652D31B9D28593E51CC7F00164DA146DA6F5DAA56C3B73B237318B6A418E8EAB86D1867E19FE14079C09775C1D3CA48CF3D321E7403792E342EB15956EA79C166A417C69337E82CC275ECD9A6C639B01B78DA827A17800CE7888FFA144A8AE6D0731C566533BA786AA5CC5B56E945C8DA X-C1DE0DAB: 0D63561A33F958A516C8009D9F4CE9655002B1117B3ED696A748DADDDF64B0C322DFD5397F446790823CB91A9FED034534781492E4B8EEAD21D4E6D365FE45D1BDAD6C7F3747799A X-C8649E89: 1C3962B70DF3F0AD73CAD6646DEDE1918E10F71CB4DF9F96AB70F9BE574AE9C625B6776AC983F447FC0B9F89525902EE6F57B2FD27647F25E66C117BDB76D659286A60DDE5051D79E965D7F654EB4C811114777D699C32131FCD6134C5F3E30D48783AC9035C4BCFB8341EE9D5BE9A0A4E04AEDB24B940349C5880F69782AA0BC95215C3853BD3AF6536EB022892E5344C41F94D744909CE2512F26BEC029E55448553D2254B8D95CD72808BE417F3B9E0E7457915DAA85F X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu53w8ahmwBjZKM/YPHZyZHvz5uv+WouB9+ObcCpyrx6l7KImUglyhkEat/+ysWwi0gdhEs0JGjl6ggRWTy1haxBpVdbIX1nthFXOcIETfglQORZ0zpDET4Zrk3igikrdHlWEifKtzW4NAy3KofJT2Itw4= X-Mailru-Sender: 689FA8AB762F73937C9FA53A4753B3130051EA8C0C24B20BF7DC83082992F24488F2933B576844ECEF86D5F70DA33880E41E8EF7A07863ECB274557F927329BE2DDF8182D28ACDB545BD1C3CC395C826B4A721A3011E896F X-Mras: Ok Subject: Re: [Tarantool-patches] [PATCH luajit v3 2/2] Improve CLI signal handling on POSIX. X-BeenThere: tarantool-patches@dev.tarantool.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Sergey Bronnikov via Tarantool-patches Reply-To: Sergey Bronnikov Cc: tarantool-patches@dev.tarantool.org Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" Hello, please see comments below. Please resend series after fixes. Sergey On 11/15/26 23:40, Evgeniy Temirgaleev wrote: > >>> + jit.os ~= 'Linux' and >>> +                                           jit.os ~= 'OSX' and >>> +                                           jit.os ~= 'POSIX', >>> +}) >>> + >>> +local ffi = require('ffi') >>> +ffi.cdef[[ >>> +  int kill(int pid, int sig); >>> +]] >>> +local SIGINT = 2 >>> + >>> +test:plan(1) >>> +local utils = require('utils') >>> +local script = utils.exec.test_data(arg, 'script.lua') >>> +local cmd = ('exec %s %s 2>&1'):format(utils.exec.luacmd(arg), script) >> The suite skips signal/timing-sensitive tests under Valgrind via >> `os.getenv('LUAJIT_TEST_USE_VALGRIND')`, while this one still does >> not. The >> Valgrind CI job runs the whole `tarantool-tests` suite, and here the >> child is >> spawned through `luacmd()`, so it is wrapped in Valgrind as well, >> which makes >> startup and signal delivery slower. I could not check this locally >> (no Valgrind >> in this environment). Is running this test under Valgrind >> intentional, or would >> the usual skip condition be safer? > I tried to run CI several times and can't reproduce a fail in the > Valgrind environment with the test. I shall add the skip if you will > insist. > ok, let's keep as is. > --- > > > >>> diff --git a/test/tarantool-tests/lj-noticket-fix-cli-posix-sigint- >>> handling/script.lua >>> b/test/tarantool-tests/lj-noticket-fix-cli-posix- >>> sigint-handling/script.lua >>> new file mode 100644 >>> index 00000000..d2430a52 >>> --- /dev/null >>> +++ >>> b/test/tarantool-tests/lj-noticket-fix-cli-posix-sigint-handling/ >>> script.lua >>> @@ -0,0 +1,26 @@ >>> +local ffi = require('ffi') >>> + >> >> the version at the branch contains a comment missed here: >> >>  > +-- The script runs via 'popen()' with closed pipe read-end, > -- The script runs via 'popen("r")' by the test process and the popen has another prototype: io.popen (prog [, mode]) [1], please fix. Also, replace apostrophes by backticks for popen. 1. https://www.lua.org/manual/5.1/manual.html#pdf-io.popen