tarantool / vshard

The new generation of sharding based on virtual buckets
Other
100 stars 30 forks source link

flaky test: router/complex_call.test.lua' #303

Open VitaliyaIoffe opened 2 years ago

VitaliyaIoffe commented 2 years ago

tarantool-ubuntu-focal-d3c3031bd2695a27ade5807351810d1365f0c9fb

router/complex_call.test.lua                                    
[Instance "box_1_c"] Tarantool server failed to start

Last 15 lines of Tarantool Log file [Instance "box_1_c"][/home/runner/work/tarantool/tarantool/test/var/001_router/box_1_c.log]:
2021-10-21 18:23:27.567 [5109] relay/127.0.0.1:58488/101/main I> recover from `/home/runner/work/tarantool/tarantool/test/var/001_router/box_1_c/00000000000000000043.xlog'
2021-10-21 18:23:27.571 [5109] main/113/applier/storage@127.0.0.1:3302 I> authenticated
2021-10-21 18:23:27.571 [5109] main/113/applier/storage@127.0.0.1:3302 I> subscribed
2021-10-21 18:23:27.571 [5109] main/113/applier/storage@127.0.0.1:3302 I> remote vclock {1: 44} local vclock {1: 44}
2021-10-21 18:23:27.571 [5109] main/113/applier/storage@127.0.0.1:3302 I> RAFT: message {term: 1, state: follower} from 3
2021-10-21 18:23:27.572 [5109] main/132/applierw/storage@127.0.0.1:3302 C> leaving orphan mode
2021-10-21 18:23:27.832 [5109] main/113/applier/storage@127.0.0.1:3302 I> can't read row
2021-10-21 18:23:27.832 [5109] main/113/applier/storage@127.0.0.1:3302 coio.cc:378 !> SystemError unexpected EOF when reading from socket, called on fd 31, aka 127.0.0.1:47472, peer of 127.0.0.1:3302: Broken pipe
2021-10-21 18:23:27.832 [5109] main/113/applier/storage@127.0.0.1:3302 I> will retry every 0.10 second
2021-10-21 18:23:27.832 [5109] relay/127.0.0.1:58488/101/main coio.cc:378 !> SystemError unexpected EOF when reading from socket, called on fd 25, aka 127.0.0.1:3303, peer of 127.0.0.1:58488: Broken pipe
2021-10-21 18:23:27.832 [5109] relay/127.0.0.1:58488/101/main C> exiting the relay loop
2021-10-21 18:23:27.879 [5109] main C> got signal 15 - Terminated
2021-10-21 18:23:27.879 [5109] main I> tx_binary: stopped
Starting instance box_1_c...
Start failed: builtin/box/console.lua:865: failed to create server localhost:35394: Address already in use

[Instance "test"] Failed to start tarantool instance "box_1_c"
[ fail ]
Gerold103 commented 2 years ago

The problem is that the tests can't run in parallel. They use hardcoded ports. Will fail even if you have tests running in some other repository and occupying one of the hardcoded ports. Same as https://github.com/tarantool/vshard/issues/174.