Skip to content

test: flaky box/lua.test.lua test 2 fails #181

Open
@avtikhon

Description

@avtikhon

Tarantool version:
Tarantool 2.6.0-115-ge19b392f0
Target: Darwin-x86_64-RelWithDebInfo
Build options: cmake . -DCMAKE_INSTALL_PREFIX=/usr/local -DENABLE_BACKTRACE=ON
Compiler: /Library/Developer/CommandLineTools/usr/bin/cc /Library/Developer/CommandLineTools/usr/bin/c++
C_FLAGS: -Wno-unknown-pragmas -fexceptions -funwind-tables -fno-omit-frame-pointer -fno-stack-protector -fno-common -msse2 -std=c11 -Wall -Wextra -Wno-strict-aliasing -Wno-char-subscripts -Wno-gnu-alignof-expression -Werror
CXX_FLAGS: -Wno-unknown-pragmas -fexceptions -funwind-tables -fno-omit-frame-pointer -fno-stack-protector -fno-common -msse2 -std=c++11 -Wall -Wextra -Wno-strict-aliasing -Wno-char-subscripts -Wno-invalid-offsetof -Wno-gnu-alignof-expression -Werror

OS version:
OSX 15

Bug description:

  1. https://gitlab.com/tarantool/tarantool/-/jobs/759928026#L4417

artifacts.zip

results file checksum: 6b0a398df80683a968d270fdc0efdf50

[006] --- box/lua.result	Wed Aug 26 06:06:15 2020
[006] +++ box/lua.reject	Mon Sep 28 06:39:48 2020
[006] @@ -600,7 +600,7 @@
[006]  ...
[006]  t:find(2)
[006]  ---
[006] -- 3
[006] +- 5
[006]  ...
[006]  t:findall(tonumber64(2))
[006]  ---
[006] 
  1. https://gitlab.com/tarantool/tarantool/-/jobs/759623446#L5217

artifacts.zip

results file checksum: 5d6a9c9a1b08cf5cd3f9bbdc2e0dfe3a

[031] --- box/lua.result	Sat Aug 22 05:06:33 2020
[031] +++ box/lua.reject	Sun Sep 27 20:20:36 2020
[031] @@ -147,8 +147,8 @@
[031]  ...
[031]  space.index['minmax']:select('of', { limit = 2, iterator = 'GE' })
[031]  ---
[031] -- - [1, 'of', 'might', 'and', 'magic']
[031] -  - [0, 'of', 'puppets']
[031] +- - [1234567, 'new', 'world']
[031] +  - [1, 'of', 'might', 'and', 'magic']
[031]  ...
[031]  space.index['minmax']:select('of', { limit = 2, iterator = 'LE' })
[031]  ---
[031] @@ -226,26 +226,27 @@
[031]  ...
[031]  num = tuple[1]
[031]  ---
[031] +- error: '[string "num = tuple[1] "]:1: attempt to index global ''tuple'' (a nil value)'
[031]  ...
[031]  num2 = tuple2[1]
[031]  ---
[031]  ...
[031]  num, num2
[031]  ---
[031] +- 18446744073709551615
[031]  - 125
[031] -- 125
[031]  ...
[031]  type(num) == 'number'
[031]  ---
[031] +- false
[031] +...
[031] +type(num2) == 'number'
[031] +---
[031]  - true
[031]  ...
[031] -type(num2) == 'number'
[031] ----
[031] -- true
[031] -...
[031]  num == tonumber64('125')
[031]  ---
[031] -- true
[031] +- false
[031]  ...
[031]  num2 == tonumber64('125')
[031]  ---
[031] @@ -368,15 +369,15 @@
[031]  ...
[031]  space.index['i1']:count(1)
[031]  ---
[031] -- 1
[031] +- 0
[031]  ...
[031]  space:count(1)
[031]  ---
[031] -- 1
[031] +- 0
[031]  ...
[031]  space.index['i1']:count(1)
[031]  ---
[031] -- 1
[031] +- 0
[031]  ...
[031]  space.index['i1']:count(2, { iterator = 'LE' })
[031]  ---
[031] @@ -384,7 +385,7 @@
[031]  ...
[031]  space.index['i1']:count(2, { iterator = 'GE' })
[031]  ---
[031] -- 5
[031] +- 0
[031]  ...
[031]  space:count(2, { iterator = 'GE' })
[031]  ---
[031] @@ -393,19 +394,19 @@
[031]  ...
[031]  space.index['i1']:count({2, 0}, { iterator = 'LE' })
[031]  ---
[031] -- 2
[031] +- 6
[031]  ...
[031]  space.index['i1']:count({2, 1}, { iterator = 'GE' })
[031]  ---
[031] -- 4
[031] +- 0
[031]  ...
[031]  space.index['i1']:count(2)
[031]  ---
[031] -- 2
[031] +- 0
[031]  ...
[031]  space.index['i1']:count({2, 1})
[031]  ---
[031] -- 1
[031] +- 0
[031]  ...
[031]  space.index['i1']:count({2, 2})
[031]  ---
[031] @@ -584,7 +585,7 @@
[031]  ...
[031]  t:find(2, '2')
[031]  ---
[031] -- 6
[031] +- 8
[031]  ...
[031]  t:find(89, '2')
[031]  ---
[031] @@ -593,19 +594,20 @@
[031]  t:findall(4, '3')
[031]  ---
[031]  - - 5
[031] +  - 8
[031] +...
[031] +t = space:insert{'Z', '2', 2, 3, tonumber64(2)}
[031] +---
[031] +...
[031] +t:find(2)
[031] +---
[031] +- 5
[031] +...
[031] +t:findall(tonumber64(2))
[031] +---
[031] +- - 5
[031] +  - 8
[031]    - 9
[031] -...
[031] -t = space:insert{'Z', '2', 2, 3, tonumber64(2)}
[031] ----
[031] -...
[031] -t:find(2)
[031] ----
[031] -- 3
[031] -...
[031] -t:findall(tonumber64(2))
[031] ----
[031] -- - 3
[031] -  - 5
[031]  ...
[031]  t:find('2')
[031]  ---
[031] 

Steps to reproduce:

Optional (but very desirable):

  • coredump
  • backtrace
  • netstat

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions