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 DFD8B6F862; Tue, 24 Nov 2026 17:24:01 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org DFD8B6F862 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1795530242; bh=JdKkfbvVpOQBjW5W4nx7e4mCQlkqQwTWncVVXgeKkUQ=; 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=EHxr0MVs2VLY/OD98THg5VJgqAMpHw3HNoyR5CkA+4qwGJ9MIZma9L40UdkOFwOu/ Vu/n7DIDY4u7qlzk617ka3rz1k5J2VA6KLiRW4TozrDyRkpA1Sau8Tfo+u0n/9Ly9Z +q58cDqE3t22pVp/zEwcLn/XZO5uD+JO8H/MsyHY= Received: from send151.i.mail.ru (send151.i.mail.ru [89.221.237.246]) (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 2FAA66F862 for ; Tue, 24 Nov 2026 17:23:19 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 2FAA66F862 Received: by exim-smtp-56bb8ff957-vww87 with esmtpa (envelope-from ) id 1xVrQT-000000009xW-31Hh; Tue, 24 Nov 2026 17:23:18 +0300 Message-ID: <76e8361a-f425-4478-97e9-e442e0aedc63@tarantool.org> Date: Tue, 24 Nov 2026 17:23:17 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: Sergey Bronnikov References: <68d8da9f72cbf7237b0e21f9c643789d36fa82a8.1793574664.git.e.temirgaleev@tarantool.org> <96c727fe-9975-4186-9cda-b56e9ee6c8ad@tarantool.org> Content-Language: en-US In-Reply-To: <96c727fe-9975-4186-9cda-b56e9ee6c8ad@tarantool.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Mailru-Src: smtp X-4EC0790: 10 X-7564579A: B8F34718100C35BD X-77F55803: 4F1203BC0FB41BD9DFC18640EC982097122D20FA8431945B6BA03077C98BB699182A05F53808504021E517E755E617963DE06ABAFEAF67056AC04C678F05FF54B1581956376A59BA37AD88C62730AFDD X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE7F1942E6D70B4A2F0EA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F7900637AC83A81C8FD4AD23D82A6BABE6F325AC2E85FA5F3EDFCBAA7353EFBB5533756603DA5D6BE41EFC0DC488EF96F9DAA52B6EEAA6F06FBC89DB1A56C804BE78F4EF389733CBF5DBD5E9D5E8D9A59859A8B64854413538E1713FCC7F00164DA146DA6F5DAA56C3B73B237318B6A418E8EAB8090A508E0FED6299176DF2183F8FC7C04606285C4B2CAE5FCD04E86FAF290E2DB606B96278B59C421DD303D21008E29813377AFFFEAFD269A417C69337E82CC2E827F84554CEF50127C277FBC8AE2E8BA83251EDC214901ED5E8D9A59859A8B6BDB3AEF73D8456A4089D37D7C0E48F6C5571747095F342E88FB05168BE4CE3AF X-C1DE0DAB: 0D63561A33F958A5539B5381ED6982805002B1117B3ED696D2B99B5D8B7B38518B25839F35DFE037823CB91A9FED034534781492E4B8EEAD0942DC5495D0595EBDAD6C7F3747799A X-C8649E89: 1C3962B70DF3F0AD73CAD6646DEDE1918E10F71CB4DF9F96AB70F9BE574AE9C625B6776AC983F447FC0B9F89525902EE6F57B2FD27647F25E66C117BDB76D6599267EEA18233CA0B2DF964A949C3D7204C2FF0722E0DD0D454D66FE26A43D92A968EA75069A9FAAEB8341EE9D5BE9A0A0C42ADD5003B569CD6679DCE2B8A9778BE14D89A3A0ED208C7CEAA0681F5848F4C41F94D744909CEEF9E35A692215F79327F81E6EEE0AEB67A0F9F91F029B6AF33F2C28C22F508233FCF178C6DD14203 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu53w8ahmwBjZKM/YPHZyZHvz5uv+WouB9+ObcCpyrx6l7KImUglyhkEat/+ysWwi0gdhEs0JGjl6ggRWTy1haxBpVdbIX1nthFXOcIETfglQORZ0zpDET4Zrk3igikrdHlWB8xfMIygqrSAP+qXqN/L60= X-Mailru-Sender: 015BA6FC0EFA223AFF5DE35D6D355F430DFE54678DCE21894756507F36A35F4BC192181E37E79962F30F474DC15C42BE8C34D365DA2E1307B60569B44082A3A3197AF8DA6C69D34BA7BD66BEAC8CCB0C4198E0F3ECE9B5443453F38A29522196 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: Evgeniy Temirgaleev via Tarantool-patches Reply-To: Evgeniy Temirgaleev Cc: tarantool-patches@dev.tarantool.org Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" Hi, Sergey! Thanks for review! Last comment fixed. The branch was force pushed, v4 patch set was emailed. On 11/24/26 3:09 PM, Sergey Bronnikov wrote: > 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 > > > -- -- Best regards, Evgeniy Temirgaleev