tarantool / tarantool-qa

QA related issues of Tarantool
3 stars 0 forks source link

app/fiber.test.lua permanently fails on macOS 12.6.3 arm64 #308

Closed ylobankov closed 1 year ago

ylobankov commented 1 year ago

OS:

ProductName:    macOS
ProductVersion: 12.6.3
BuildVersion:   21G419

Arch:

arm64

Tarantool:

Target: Darwin-arm64-Debug
Build options: cmake . -DCMAKE_INSTALL_PREFIX=/usr/local -DENABLE_BACKTRACE=TRUE
Compiler: Clang-14.0.0.14000029
C_FLAGS: -fexceptions -funwind-tables -fasynchronous-unwind-tables -fno-common -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -fPIC -fmacro-prefix-map=/Users/tntmac07.tarantool.i/actions-runner/_work/tarantool/tarantool=. -std=c11 -Wall -Wextra -Wno-gnu-alignof-expression -Wno-cast-function-type -Werror
CXX_FLAGS: -fexceptions -funwind-tables -fasynchronous-unwind-tables -fno-common -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -fPIC -fmacro-prefix-map=/Users/tntmac07.tarantool.i/actions-runner/_work/tarantool/tarantool=. -std=c++11 -Wall -Wextra -Wno-invalid-offsetof -Wno-gnu-alignof-expression -Wno-cast-function-type -Werror

Steps to reproduce:

cmake -S . -B . -DCMAKE_BUILD_TYPE=Debug -DTEST_BUILD=ON
cmake --build . --parallel 8
cd test
./test-run.py app/fiber.test.lua

Expected result:

Test is successful.

Actual result:

======================================================================================
WORKR TEST                                            PARAMS          RESULT
---------------------------------------------------------------------------------
[001] app/fiber.test.lua                                              [ fail ]
[001]
[001] Test failed! Result content mismatch:
[001] --- app/fiber.result  Tue Feb 14 14:11:07 2023
[001] +++ /tmp/t/rejects/app/fiber.reject   Tue Feb 14 14:31:35 2023
[001] @@ -879,15 +879,15 @@
[001]  ...
[001]  bt_str:find('sf1') ~= nil
[001]  ---
[001] -- true
[001] +- false
[001]  ...
[001]  bt_str:find('loop') ~= nil
[001]  ---
[001] -- true
[001] +- false
[001]  ...
[001]  bt_str:find('sf3') ~= nil
[001]  ---
[001] -- true
[001] +- false
[001]  ...
[001]  -- # gh-666: nulls in output
[001]  --
[001]
[001] Last 15 lines of Tarantool Log file [Instance "app"][/tmp/t/001_app/app.log]:
[001] 2023-02-14 14:31:35.778 [69196] main/4143/lua utils.c:557 E> LuajitError: [string "_ = fiber.create(function() error('gh-1238') ..."]:1: gh-1238
[001] hello
[001] 2023-02-14 14:31:35.783 [69196] main/4147/lua [string "_ = fiber.create(function() box.error(box.err..."]:1 E> ER_ILLEGAL_PARAMS: Illegal parameters, oh my
[001] 2023-02-14 14:31:35.808 [69196] main/4148/console/unix/: C> Potentially long select from space 'test' (514)
[001]  stack traceback:
[001]   builtin/box/schema.lua:2507: in function 'check_select_safety'
[001]   builtin/box/schema.lua:2523: in function <builtin/box/schema.lua:2511>
[001]   [C]: in function 'pcall'
[001]   builtin/box/console.lua:415: in function 'eval'
[001]   builtin/box/console.lua:750: in function 'repl'
[001]   builtin/box/console.lua:922: in function <builtin/box/console.lua:908>
[001]   [C]: in function 'pcall'
[001]   builtin/socket.lua:1084: in function <builtin/socket.lua:1082>
[001] 2023-02-14 14:31:35.815 [69196] main/4148/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa txn.c:1565 W> Transaction has been aborted by a fiber yield
[001] 2023-02-14 14:31:35.820 [69196] main/4148/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa txn.c:1565 W> Transaction has been aborted by a fiber yield
[001] Worker "001_app" got failed test; restarted the server
---------------------------------------------------------------------------------
Duration of failed tests (seconds):
*   0.23 app/fiber.test.lua

Top 10 longest tests (seconds):
*   0.23 app/fiber.test.lua
---------------------------------------------------------------------------------
Statistics:
* fail: 1
Failed tasks:
- [app/fiber.test.lua, null]
# logfile:        /private/tmp/t/log/001_app.log
# reproduce file: /private/tmp/t/reproduce/001_app.list.yaml
---
- [app/fiber.test.lua, null]
...
Gumix commented 1 year ago

Looks like https://github.com/tarantool/tarantool/issues/8074