Tarantool development patches archive
 help / color / mirror / Atom feed
From: Sergey Kaplun via Tarantool-patches <tarantool-patches@dev.tarantool.org>
To: Evgeniy Temirgaleev <e.temirgaleev@tarantool.org>,
	Sergey Bronnikov <sergeyb@tarantool.org>
Cc: tarantool-patches@dev.tarantool.org
Subject: [Tarantool-patches] [PATCH luajit] test: add skipcond to cli-posix-sigint-handling
Date: Fri,  4 Dec 2026 15:20:58 +0300	[thread overview]
Message-ID: <20261204122058.1910489-1-skaplun@tarantool.org> (raw)

This test sometimes fails in our CI. It is observed only on
the macOS x86_64 + clang + ASAN build.

This patch adds the skip condition for this test to skip it under ASAN
and macOS x86_64.

Relates to tarantool/tarantool#13914
---

Branch: https://github.com/tarantool/luajit/tree/skaplun/test-fix-posix-timeout-asan

 test/tarantool-tests/CMakeLists.txt                        | 7 +++++++
 .../lj-noticket-fix-cli-posix-sigint-handling.test.lua     | 2 ++
 2 files changed, 9 insertions(+)

diff --git a/test/tarantool-tests/CMakeLists.txt b/test/tarantool-tests/CMakeLists.txt
index c764a50a..cd9904ff 100644
--- a/test/tarantool-tests/CMakeLists.txt
+++ b/test/tarantool-tests/CMakeLists.txt
@@ -114,6 +114,13 @@ if(BUILDMODE STREQUAL "dynamic")
   list(APPEND LUA_TEST_ENV_MORE LUAJIT_BUILDMODE=dynamic)
 endif()
 
+# Needed to skip the flaky
+# lj-noticket-fix-cli-posix-sigint-handling.test.lua.
+# See https://github.com/tarantool/tarantool/issues/13914.
+if(LUAJIT_USE_ASAN)
+  list(APPEND LUA_TEST_ENV_MORE LUAJIT_TEST_USE_ASAN=1)
+endif()
+
 set(TEST_SUITE_NAME "tarantool-tests")
 
 # XXX: The call produces both test and target
diff --git a/test/tarantool-tests/lj-noticket-fix-cli-posix-sigint-handling.test.lua b/test/tarantool-tests/lj-noticket-fix-cli-posix-sigint-handling.test.lua
index 04b02205..51d7bdc0 100644
--- a/test/tarantool-tests/lj-noticket-fix-cli-posix-sigint-handling.test.lua
+++ b/test/tarantool-tests/lj-noticket-fix-cli-posix-sigint-handling.test.lua
@@ -22,6 +22,8 @@ local test = tap.test('lj-noticket-fix-cli-posix-sigint-handling'):skipcond({
                                       jit.os ~= 'Linux' and
                                       jit.os ~= 'OSX' and
                                       jit.os ~= 'POSIX',
+  ['Disabled on macOS x86_64 under ASAN due to #13914'] = jit.os == 'OSX' and
+    jit.arch == 'x64' and os.getenv('LUAJIT_TEST_USE_ASAN'),
 })
 
 local ffi = require('ffi')
-- 
2.56.1


             reply	other threads:[~2026-12-04 12:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-04 12:20 Sergey Kaplun via Tarantool-patches [this message]
2026-12-04 16:14 ` Evgeniy Temirgaleev via Tarantool-patches

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261204122058.1910489-1-skaplun@tarantool.org \
    --to=tarantool-patches@dev.tarantool.org \
    --cc=e.temirgaleev@tarantool.org \
    --cc=sergeyb@tarantool.org \
    --cc=skaplun@tarantool.org \
    --subject='Re: [Tarantool-patches] [PATCH luajit] test: add skipcond to cli-posix-sigint-handling' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox