Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flaky test: storage_1_1_test.lua #416

Open
Serpentian opened this issue Apr 26, 2023 · 1 comment
Open

flaky test: storage_1_1_test.lua #416

Serpentian opened this issue Apr 26, 2023 · 1 comment

Comments

@Serpentian
Copy link
Contributor

Serpentian commented Apr 26, 2023

The test fails with the following error:

[005] not ok 10	storage.engine:"vinyl".memtx_use_mvcc_engine:true.test_bucket_send_field_types
[005] #   ...ing/tnt/vshard/test/storage-luatest/storage_1_1_test.lua:152: bucket_send no error
[005] #   expected: nil, actual: {"bucket_id":6,"reason":"transition 'active' to 'sent' is not allowed","code":39,"type":"ShardingError","message":"Bucket 6 update is invalid: transition 'active' to 'sent' is not allowed","name":"BUCKET_INVALID_UPDATE"}
[005] #   stack traceback:
[005] #   	...ing/tnt/vshard/test/storage-luatest/storage_1_1_test.lua:148: in function 'storage.engine:"vinyl".memtx_use_mvcc_engine:true.test_bucket_send_field_types'
[005] #   	...
[005] #   	[C]: in function 'xpcall'
[005] not ok 11	storage.engine:"vinyl".memtx_use_mvcc_engine:true.test_on_bucket_event
[005] #   ...ing/tnt/vshard/test/storage-luatest/storage_1_1_test.lua:214: Content of the tables are not identical:
[005] #   Expected: 
[005] #   {
[005] #       {"bucket_data_recv_txn", 1, {spaces = {"data1"}}},
[005] #       {"bucket_data_recv_txn", 1, {spaces = {"data2"}}},
[005] #   }
[005] #   Actual: 
[005] #   {
[005] #       {"bucket_data_recv_txn", 1, {spaces = {"test"}}},
[005] #       {"bucket_data_recv_txn", 1, {spaces = {"data2"}}},
[005] #       {"bucket_data_recv_txn", 1, {spaces = {"data1"}}},
[005] #   }
[005] #   stack traceback:
[005] #   	...ing/tnt/vshard/test/storage-luatest/storage_1_1_test.lua:251: in function 'storage.engine:"vinyl".memtx_use_mvcc_engine:true.test_on_bucket_event'
[005] #   	...
[005] #   	[C]: in function 'xpcall'
[005] not ok 12	storage.engine:"vinyl".memtx_use_mvcc_engine:true.test_basic_storage_service_info
[005] #   ...an/Programming/tnt/vshard/test/luatest_helpers/vtest.lua:622: timed out: routes_applier_service is still nil
[005] #   stack traceback:
[005] #   	...ing/tnt/vshard/test/storage-luatest/storage_1_1_test.lua:302: in function 'storage.engine:"vinyl".memtx_use_mvcc_engine:true.test_basic_storage_service_info'
[005] #   	...
[005] #   	[C]: in function 'xpcall'

The problem is reproduced with or without mvcc, doesn't seem to be related to it.

Setup:

 | Tarantool 2.10.6-0-g3990f976b
 | Target: Linux-x86_64-RelWithDebInfo
 | Build options: cmake . -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_BACKTRACE=ON
 | Compiler: GNU-12.2.1
 | C_FLAGS:-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/tarantool/src=/usr/src/debug/tarantool -flto=auto -fexceptions -funwind-tables -fno-common -fopenmp -msse2 -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -fPIC -fmacro-prefix-map=/build/tarantool/src/tarantool=. -std=c11 -Wall -Wextra -Wno-strict-aliasing -Wno-char-subscripts -Wno-format-truncation -Wno-gnu-alignof-expression -fno-gnu89-inline -Wno-cast-function-type
 | CXX_FLAGS:-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/build/tarantool/src=/usr/src/debug/tarantool -flto=auto -fexceptions -funwind-tables -fno-common -fopenmp -msse2 -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -fPIC -fmacro-prefix-map=/build/tarantool/src/tarantool=. -std=c++11 -Wall -Wextra -Wno-strict-aliasing -Wno-char-subscripts -Wno-format-truncation -Wno-invalid-offsetof -Wno-gnu-alignof-expression -Wno-cast-function-type

Reproduced locally and on CI

@Serpentian
Copy link
Contributor Author

The test sometimes fails with the following error, which isn't related to the above-mentioned one:

[010] storage-luatest/storage_1_1_test.lua                            
[010] TAP version 13
[010] 1..6
[010] # Started on Thu Apr 27 10:41:04 2023
[010] # Starting group: storage.engine:"memtx"
[010] ok     1	storage.engine:"memtx".test_bucket_send_field_types
[010] ok     2	storage.engine:"memtx".test_on_bucket_event
[010] not ok 3	storage.engine:"memtx".test_basic_storage_service_info
[010] #   ...an/Programming/tnt/vshard/test/luatest_helpers/vtest.lua:622: timed out: routes_applier_service is still nil
[010] #   stack traceback:
[010] #   	...ing/tnt/vshard/test/storage-luatest/storage_1_1_test.lua:302: in function 'storage.engine:"memtx".test_basic_storage_service_info'
[010] #   	...
[010] #   	[C]: in function 'xpcall'
[010] # Starting group: storage.engine:"vinyl"
[010] ok     4	storage.engine:"vinyl".test_bucket_send_field_types
[010] ok     5	storage.engine:"vinyl".test_on_bucket_event
[010] ok     6	storage.engine:"vinyl".test_basic_storage_service_info
[010] # Ran 6 tests in 60.930 seconds, 5 successes, 1 error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant