Skip to content

Qsync times out a lot when tests are running sequentially #6965

Open
tarantool/test-run
#449
@Gerold103

Description

@Gerold103

When I do this: python test-run.py qsync -j -1, I get some qsync timeout errors. When I run just python test-run.py qsync, all is fine. That is quite strange and deserves an investigation. The failing tests are:

replication/gh-5163-qsync-restart-crash
Test failed! Result content mismatch:
--- replication/gh-5163-qsync-restart-crash.result	Fri Feb 11 00:24:42 2022
+++ var/rejects/replication/gh-5163-qsync-restart-crash.reject	Tue Mar 29 00:24:49 2022
@@ -22,13 +22,13 @@
 
 box.space.sync:replace{1}
  | ---
- | - [1]
+ | - error: Quorum collection for a synchronous transaction is timed out
  | ...
 test_run:cmd('restart server default')
  | 
 box.space.sync:select{}
  | ---
- | - - [1]
+ | - []
  | ...
 box.space.sync:drop()
replication/gh-5288-qsync-recovery
Test failed! Result content mismatch:
--- replication/gh-5288-qsync-recovery.result	Fri Feb 11 00:24:42 2022
+++ var/rejects/replication/gh-5288-qsync-recovery.reject	Tue Mar 29 00:25:01 2022
@@ -17,7 +17,7 @@
  | ...
 s:insert{1}
  | ---
- | - [1]
+ | - error: Quorum collection for a synchronous transaction is timed out
  | ...
 box.snapshot()
replication/gh-5298-qsync-recovery-snap
Test failed! Result content mismatch:
--- replication/gh-5298-qsync-recovery-snap.result	Fri Feb 11 00:24:42 2022
+++ var/rejects/replication/gh-5298-qsync-recovery-snap.reject	Tue Mar 29 00:25:17 2022
@@ -22,6 +22,7 @@
  | ...
 for i = 1, 10 do box.space.sync:replace{i} end
  | ---
+ | - error: Quorum collection for a synchronous transaction is timed out
  | ...
 
 -- Local rows could affect this by increasing the signature.
@@ -46,7 +47,7 @@
 -- Could hang if the limbo would incorrectly handle the snapshot end.
 box.space.sync:replace{11}
  | ---
- | - [11]
+ | - error: Quorum collection for a synchronous transaction is timed out
  | ...
 
 old_synchro_quorum = box.cfg.replication_synchro_quorum
@@ -79,7 +80,6 @@
  | ...
 box.space.sync:get({11})
  | ---
- | - [11]
  | ...
 box.space.sync:get({12})
replication/gh-5446-qsync-eval-quorum (almost no output)
Test failed! Result content mismatch:
--- replication/gh-5446-qsync-eval-quorum.result	Fri Feb 11 00:24:42 2022
+++ var/rejects/replication/gh-5446-qsync-eval-quorum.reject	Tue Mar 29 00:27:19 2022
@@ -94,258 +94,3 @@
 
 -- Only one master node -> 1/2 + 1 = 1
 s:insert{1} -- should pass
- | ---
- | - [1]
- | ...

and nothing below this line. All red.

Then I gave up, next tests hang.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions