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

test: replication/gh-3247-misc-iproto-sequence-value-not-replicated.test.lua test #178

Open
avtikhon opened this issue Sep 28, 2020 · 0 comments
Assignees

Comments

@avtikhon
Copy link
Contributor

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:

  1. OSX 14
  2. OSX 15

Bug description:

  1. https://gitlab.com/tarantool/tarantool/-/jobs/759928021#L4680

artifacts.zip

results file checksum: 4a4f2db6802e1b2fa2e31bb9948e7440

[025] --- replication/gh-3247-misc-iproto-sequence-value-not-replicated.result	Tue Sep 22 23:24:32 2020
[025] +++ replication/gh-3247-misc-iproto-sequence-value-not-replicated.reject	Mon Sep 28 06:45:00 2020
[025] @@ -23,33 +23,43 @@
[025]  ...
[025]  _ = box.schema.space.create('space1')
[025]  ---
[025] +- error: Can't modify data because this instance is in read-only mode.
[025]  ...
[025]  _ = box.schema.sequence.create('seq')
[025]  ---
[025] +- error: Can't modify data because this instance is in read-only mode.
[025]  ...
[025]  _ = box.space.space1:create_index('primary', {sequence = true} )
[025]  ---
[025] +- error: '[string "_ = box.space.space1:create_index(''primary'', ..."]:1: attempt
[025] +    to index field ''space1'' (a nil value)'
[025]  ...
[025]  _ = box.space.space1:create_index('secondary', {parts = {2, 'unsigned'}})
[025]  ---
[025] +- error: '[string "_ = box.space.space1:create_index(''secondary''..."]:1: attempt
[025] +    to index field ''space1'' (a nil value)'
[025]  ...
[025]  box.schema.user.grant('guest', 'read,write', 'space', 'space1')
[025]  ---
[025] +- error: Space 'space1' does not exist
[025]  ...
[025]  c = net_box.connect(box.cfg.listen)
[025]  ---
[025]  ...
[025]  c.space.space1:insert{box.NULL, "data"} -- fails, but bumps sequence value
[025]  ---
[025] -- error: 'Tuple field 2 type does not match one required by operation: expected unsigned'
[025] +- error: '[string "return c.space.space1:insert{box.NULL, "data"..."]:1: attempt to
[025] +    index field ''space1'' (a nil value)'
[025]  ...
[025]  c.space.space1:insert{box.NULL, 1, "data"}
[025]  ---
[025] -- [2, 1, 'data']
[025] +- error: '[string "return c.space.space1:insert{box.NULL, 1, "da..."]:1: attempt to
[025] +    index field ''space1'' (a nil value)'
[025]  ...
[025]  box.space.space1:select{}
[025]  ---
[025] -- - [2, 1, 'data']
[025] +- error: '[string "return box.space.space1:select{} "]:1: attempt to index field ''space1''
[025] +    (a nil value)'
[025]  ...
[025]  vclock = test_run:get_vclock("autobootstrap1")
[025]  ---
[025] @@ -66,7 +76,8 @@
[025]  ...
[025]  box.space.space1:select{}
[025]  ---
[025] -- - [2, 1, 'data']
[025] +- error: '[string "return box.space.space1:select{} "]:1: attempt to index field ''space1''
[025] +    (a nil value)'
[025]  ...
[025]  test_run:cmd("switch autobootstrap1")
[025]  ---
[025] @@ -74,6 +85,8 @@
[025]  ...
[025]  box.space.space1:drop()
[025]  ---
[025] +- error: '[string "return box.space.space1:drop() "]:1: attempt to index field ''space1''
[025] +    (a nil value)'
[025]  ...
[025]  test_run:cmd("switch default")
[025]  ---
[025] 
  1. https://gitlab.com/tarantool/tarantool/-/jobs/759111918
[043] Last 15 lines of Tarantool Log file [Instance "autobootstrap1"][/tmp/tnt/043_replication/autobootstrap1.log]:
[043] 2020-09-26 23:00:33.078 [53362] main/114/applier/cluster@unix/:/private/tmp/tnt/043_replication/autobootstrap3.sock I> will retry every 0.03 second
[043] 2020-09-26 23:00:33.078 [53362] main/112/applier/cluster@unix/:/private/tmp/tnt/043_replication/autobootstrap1.sock I> remote master a424519a-af42-49d3-8d78-caeb3f450bdd at unix/:/private/tmp/tnt/043_replication/autobootstrap1.sock running Tarantool 2.6.0
[043] 2020-09-26 23:00:33.214 [53362] main/113/applier/cluster@unix/:/private/tmp/tnt/043_replication/autobootstrap2.sock I> remote master 297ea2ee-6690-42ba-99f8-27472dd5fc30 at unix/:/private/tmp/tnt/043_replication/autobootstrap2.sock running Tarantool 2.6.0
[043] 2020-09-26 23:00:33.379 [53362] main/114/applier/cluster@unix/:/private/tmp/tnt/043_replication/autobootstrap3.sock I> remote master 6730501b-a187-4fdb-9747-7838cb1c97fb at unix/:/private/tmp/tnt/043_replication/autobootstrap3.sock running Tarantool 2.6.0
[043] 2020-09-26 23:00:33.380 [53362] main/103/autobootstrap1 I> connected to 3 replicas
[043] 2020-09-26 23:00:33.380 [53362] main/114/applier/cluster@unix/:/private/tmp/tnt/043_replication/autobootstrap3.sock I> failed to authenticate
[043] 2020-09-26 23:00:33.380 [53362] main/114/applier/cluster@unix/:/private/tmp/tnt/043_replication/autobootstrap3.sock box.cc:1662 E> ER_LOADING: Instance bootstrap hasn't finished yet
[043] 2020-09-26 23:00:33.380 [53362] main/114/applier/cluster@unix/:/private/tmp/tnt/043_replication/autobootstrap3.sock I> will retry every 0.03 second
[043] 2020-09-26 23:00:33.411 [53362] main/114/applier/cluster@unix/:/private/tmp/tnt/043_replication/autobootstrap3.sock I> authenticated
[043] 2020-09-26 23:00:33.411 [53362] main/103/autobootstrap1 I> bootstrapping replica from 6730501b-a187-4fdb-9747-7838cb1c97fb at unix/:/private/tmp/tnt/043_replication/autobootstrap3.sock
[043] 2020-09-26 23:00:33.411 [53362] main/114/applier/cluster@unix/:/private/tmp/tnt/043_replication/autobootstrap3.sock I> can't read row
[043] 2020-09-26 23:00:33.411 [53362] main/114/applier/cluster@unix/:/private/tmp/tnt/043_replication/autobootstrap3.sock box.cc:152 E> ER_READONLY: Can't modify data because this instance is in read-only mode.
[043] 2020-09-26 23:00:33.411 [53362] main/103/autobootstrap1 box.cc:152 E> ER_READONLY: Can't modify data because this instance is in read-only mode.
[043] 2020-09-26 23:00:33.411 [53362] main/103/autobootstrap1 F> can't initialize storage: Can't modify data because this instance is in read-only mode.
[043] 2020-09-26 23:00:33.411 [53362] main/103/autobootstrap1 F> can't initialize storage: Can't modify data because this instance is in read-only mode.
[043] [ fail ]

Steps to reproduce:

Optional (but very desirable):

  • coredump
  • backtrace
  • netstat
@avtikhon avtikhon self-assigned this Sep 28, 2020
avtikhon referenced this issue in tarantool/tarantool Sep 28, 2020
Added for tests with issues:
  app/fiber.test.lua				gh-5341
  app-tap/debug.test.lua			gh-5346
  app-tap/http_client.test.lua			gh-5346
  app-tap/inspector.test.lua			gh-5346
  box/hash_collation.test.lua		gh-5247
  box/lua.test.lua				gh-5351
  box/net.box_on_schema_reload-gh-1904.test.lua gh-5354
  box/protocol.test.lua			gh-5247
  box/update.test.lua			gh-5247
  replication/autobootstrap.test.lua		gh-4533
  replication/autobootstrap_guest.test.lua	gh-4533
  replication/ddl.test.lua			gh-5337
  replication/gh-3160-misc-heartbeats-on-master-changes.test.lua gh-4940
  replication/gh-3247-misc-iproto-sequence-value-not-replicated.test.lua.test.lua gh-5357
  replication/gh-3637-misc-error-on-replica-auth-fail.test.lua gh-5343
  replication/long_row_timeout.test.lua		gh-4351
  replication/on_replace.test.lua		gh-5344, gh-5349
  replication/qsync_advanced.test.lua		gh-5340
  replication/qsync_basic.test.lua		gh-5355
  replication/replicaset_ro_mostly.test.lua	gh-5342
  replication/wal_rw_stress.test.lua		gh-5347
  sql-tap/selectG.test.lua			gh-5350
  vinyl/ddl.test.lua				gh-5338
  vinyl/gh-3395-read-prepared-uncommitted.test.lua gh-5197
  vinyl/iterator.test.lua			gh-5336
  vinyl/write_iterator_rand.test.lua	gh-5356
  xlog/panic_on_wal_error.test.lua		gh-5348
avtikhon referenced this issue in tarantool/tarantool Sep 28, 2020
Added for tests with issues:
  app/fiber.test.lua				gh-5341
  app-tap/debug.test.lua			gh-5346
  app-tap/http_client.test.lua			gh-5346
  app-tap/inspector.test.lua			gh-5346
  box/gh-2763-session-credentials-update.test.lua gh-5363
  box/hash_collation.test.lua			gh-5247
  box/lua.test.lua				gh-5351
  box/net.box_connect_triggers_gh-2858.test.lua	gh-5247
  box/net.box_incompatible_index-gh-1729.test.lua gh-5360
  box/net.box_on_schema_reload-gh-1904.test.lua gh-5354
  box/protocol.test.lua				gh-5247
  box/update.test.lua				gh-5247
  box-tap/net.box.test.lua			gh-5346
  replication/autobootstrap.test.lua		gh-4533
  replication/autobootstrap_guest.test.lua	gh-4533
  replication/ddl.test.lua			gh-5337
  replication/gh-3160-misc-heartbeats-on-master-changes.test.lua gh-4940
  replication/gh-3247-misc-iproto-sequence-value-not-replicated.test.lua.test.lua gh-5357
  replication/gh-3637-misc-error-on-replica-auth-fail.test.lua gh-5343
  replication/long_row_timeout.test.lua		gh-4351
  replication/on_replace.test.lua		gh-5344, gh-5349
  replication/prune.test.lua			gh-5361
  replication/qsync_advanced.test.lua		gh-5340
  replication/qsync_basic.test.lua		gh-5355
  replication/replicaset_ro_mostly.test.lua	gh-5342
  replication/wal_rw_stress.test.lua		gh-5347
  replication-py/multi.test.py			gh-5362
  sql/prepared.test.lua test			gh-5359
  sql-tap/selectG.test.lua			gh-5350
  vinyl/ddl.test.lua				gh-5338
  vinyl/gh-3395-read-prepared-uncommitted.test.lua gh-5197
  vinyl/iterator.test.lua			gh-5336
  vinyl/write_iterator_rand.test.lua	gh-5356
  xlog/panic_on_wal_error.test.lua		gh-5348
kyukhin referenced this issue in tarantool/tarantool Sep 28, 2020
Added for tests with issues:
  app/fiber.test.lua				gh-5341
  app-tap/debug.test.lua			gh-5346
  app-tap/http_client.test.lua			gh-5346
  app-tap/inspector.test.lua			gh-5346
  box/gh-2763-session-credentials-update.test.lua gh-5363
  box/hash_collation.test.lua			gh-5247
  box/lua.test.lua				gh-5351
  box/net.box_connect_triggers_gh-2858.test.lua	gh-5247
  box/net.box_incompatible_index-gh-1729.test.lua gh-5360
  box/net.box_on_schema_reload-gh-1904.test.lua gh-5354
  box/protocol.test.lua				gh-5247
  box/update.test.lua				gh-5247
  box-tap/net.box.test.lua			gh-5346
  replication/autobootstrap.test.lua		gh-4533
  replication/autobootstrap_guest.test.lua	gh-4533
  replication/ddl.test.lua			gh-5337
  replication/gh-3160-misc-heartbeats-on-master-changes.test.lua gh-4940
  replication/gh-3247-misc-iproto-sequence-value-not-replicated.test.lua.test.lua gh-5357
  replication/gh-3637-misc-error-on-replica-auth-fail.test.lua gh-5343
  replication/long_row_timeout.test.lua		gh-4351
  replication/on_replace.test.lua		gh-5344, gh-5349
  replication/prune.test.lua			gh-5361
  replication/qsync_advanced.test.lua		gh-5340
  replication/qsync_basic.test.lua		gh-5355
  replication/replicaset_ro_mostly.test.lua	gh-5342
  replication/wal_rw_stress.test.lua		gh-5347
  replication-py/multi.test.py			gh-5362
  sql/prepared.test.lua test			gh-5359
  sql-tap/selectG.test.lua			gh-5350
  vinyl/ddl.test.lua				gh-5338
  vinyl/gh-3395-read-prepared-uncommitted.test.lua gh-5197
  vinyl/iterator.test.lua			gh-5336
  vinyl/write_iterator_rand.test.lua	gh-5356
  xlog/panic_on_wal_error.test.lua		gh-5348
kyukhin referenced this issue in tarantool/tarantool Sep 28, 2020
Added for tests with issues:
  app/fiber.test.lua				gh-5341
  app-tap/debug.test.lua			gh-5346
  app-tap/http_client.test.lua			gh-5346
  app-tap/inspector.test.lua			gh-5346
  box/gh-2763-session-credentials-update.test.lua gh-5363
  box/hash_collation.test.lua			gh-5247
  box/lua.test.lua				gh-5351
  box/net.box_connect_triggers_gh-2858.test.lua	gh-5247
  box/net.box_incompatible_index-gh-1729.test.lua gh-5360
  box/net.box_on_schema_reload-gh-1904.test.lua gh-5354
  box/protocol.test.lua				gh-5247
  box/update.test.lua				gh-5247
  box-tap/net.box.test.lua			gh-5346
  replication/autobootstrap.test.lua		gh-4533
  replication/autobootstrap_guest.test.lua	gh-4533
  replication/ddl.test.lua			gh-5337
  replication/gh-3160-misc-heartbeats-on-master-changes.test.lua gh-4940
  replication/gh-3247-misc-iproto-sequence-value-not-replicated.test.lua.test.lua gh-5357
  replication/gh-3637-misc-error-on-replica-auth-fail.test.lua gh-5343
  replication/long_row_timeout.test.lua		gh-4351
  replication/on_replace.test.lua		gh-5344, gh-5349
  replication/prune.test.lua			gh-5361
  replication/qsync_advanced.test.lua		gh-5340
  replication/qsync_basic.test.lua		gh-5355
  replication/replicaset_ro_mostly.test.lua	gh-5342
  replication/wal_rw_stress.test.lua		gh-5347
  replication-py/multi.test.py			gh-5362
  sql/prepared.test.lua test			gh-5359
  sql-tap/selectG.test.lua			gh-5350
  vinyl/ddl.test.lua				gh-5338
  vinyl/gh-3395-read-prepared-uncommitted.test.lua gh-5197
  vinyl/iterator.test.lua			gh-5336
  vinyl/write_iterator_rand.test.lua	gh-5356
  xlog/panic_on_wal_error.test.lua		gh-5348

(cherry picked from commit 75ba744)
kyukhin referenced this issue in tarantool/tarantool Sep 28, 2020
Added for tests with issues:
  app/fiber.test.lua				gh-5341
  app-tap/debug.test.lua			gh-5346
  app-tap/http_client.test.lua			gh-5346
  app-tap/inspector.test.lua			gh-5346
  box/gh-2763-session-credentials-update.test.lua gh-5363
  box/hash_collation.test.lua			gh-5247
  box/lua.test.lua				gh-5351
  box/net.box_connect_triggers_gh-2858.test.lua	gh-5247
  box/net.box_incompatible_index-gh-1729.test.lua gh-5360
  box/net.box_on_schema_reload-gh-1904.test.lua gh-5354
  box/protocol.test.lua				gh-5247
  box/update.test.lua				gh-5247
  box-tap/net.box.test.lua			gh-5346
  replication/autobootstrap.test.lua		gh-4533
  replication/autobootstrap_guest.test.lua	gh-4533
  replication/ddl.test.lua			gh-5337
  replication/gh-3160-misc-heartbeats-on-master-changes.test.lua gh-4940
  replication/gh-3247-misc-iproto-sequence-value-not-replicated.test.lua.test.lua gh-5357
  replication/gh-3637-misc-error-on-replica-auth-fail.test.lua gh-5343
  replication/long_row_timeout.test.lua		gh-4351
  replication/on_replace.test.lua		gh-5344, gh-5349
  replication/prune.test.lua			gh-5361
  replication/qsync_advanced.test.lua		gh-5340
  replication/qsync_basic.test.lua		gh-5355
  replication/replicaset_ro_mostly.test.lua	gh-5342
  replication/wal_rw_stress.test.lua		gh-5347
  replication-py/multi.test.py			gh-5362
  sql/prepared.test.lua test			gh-5359
  sql-tap/selectG.test.lua			gh-5350
  vinyl/ddl.test.lua				gh-5338
  vinyl/gh-3395-read-prepared-uncommitted.test.lua gh-5197
  vinyl/iterator.test.lua			gh-5336
  vinyl/write_iterator_rand.test.lua	gh-5356
  xlog/panic_on_wal_error.test.lua		gh-5348

(cherry picked from commit 75ba744)
kyukhin referenced this issue in tarantool/tarantool Sep 28, 2020
Added for tests with issues:
  app/fiber.test.lua				gh-5341
  app-tap/debug.test.lua			gh-5346
  app-tap/http_client.test.lua			gh-5346
  app-tap/inspector.test.lua			gh-5346
  box/gh-2763-session-credentials-update.test.lua gh-5363
  box/hash_collation.test.lua			gh-5247
  box/lua.test.lua				gh-5351
  box/net.box_connect_triggers_gh-2858.test.lua	gh-5247
  box/net.box_incompatible_index-gh-1729.test.lua gh-5360
  box/net.box_on_schema_reload-gh-1904.test.lua gh-5354
  box/protocol.test.lua				gh-5247
  box/update.test.lua				gh-5247
  box-tap/net.box.test.lua			gh-5346
  replication/autobootstrap.test.lua		gh-4533
  replication/autobootstrap_guest.test.lua	gh-4533
  replication/ddl.test.lua			gh-5337
  replication/gh-3160-misc-heartbeats-on-master-changes.test.lua gh-4940
  replication/gh-3247-misc-iproto-sequence-value-not-replicated.test.lua.test.lua gh-5357
  replication/gh-3637-misc-error-on-replica-auth-fail.test.lua gh-5343
  replication/long_row_timeout.test.lua		gh-4351
  replication/on_replace.test.lua		gh-5344, gh-5349
  replication/prune.test.lua			gh-5361
  replication/qsync_advanced.test.lua		gh-5340
  replication/qsync_basic.test.lua		gh-5355
  replication/replicaset_ro_mostly.test.lua	gh-5342
  replication/wal_rw_stress.test.lua		gh-5347
  replication-py/multi.test.py			gh-5362
  sql/prepared.test.lua test			gh-5359
  sql-tap/selectG.test.lua			gh-5350
  vinyl/ddl.test.lua				gh-5338
  vinyl/gh-3395-read-prepared-uncommitted.test.lua gh-5197
  vinyl/iterator.test.lua			gh-5336
  vinyl/write_iterator_rand.test.lua	gh-5356
  xlog/panic_on_wal_error.test.lua		gh-5348

(cherry picked from commit 75ba744)
@ylobankov ylobankov transferred this issue from tarantool/tarantool Apr 15, 2022
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