Skip to content

test: replication/errinj.test.lua failed on upstream status #7

Open
@sergw

Description

@sergw

Tarantool version: 2.1.1-78-g4ed1c41d0

OS version: docker

FROM packpack/packpack:ubuntu-cosmic

WORKDIR /tarantool
RUN set -x \
    && sudo apt-get update \
    && apt-get install -y -f \
       build-essential cmake coreutils sed \
       libreadline-dev libncurses5-dev libyaml-dev libssl-dev \
       libcurl4-openssl-dev libunwind-dev libicu-dev \
       python python-pip python-setuptools python-dev \
       python-msgpack python-yaml python-argparse python-six python-gevent \
       lcov ruby strace tcpdump lsof sysstat net-tools psmisc less vim-nox \
    && git clone https://github.com/tarantool/tarantool --recurse-submodules .
RUN set -x \
    && git checkout 2.1 \
    && cmake . -DCMAKE_BUILD_TYPE=Debug \
    && make -j

ENTRYPOINT /bin/bash

Bug description:
1.

[002] replication/errinj.test.lua                     memtx           [ fail ]
[002]
[002] Test failed! Result content mismatch:
[002] --- replication/errinj.result	Thu Dec  6 14:28:38 2018
[002] +++ errinj.reject	Tue Dec 11 07:43:53 2018
[002] @@ -301,7 +301,7 @@
[002]  ...
[002]  box.info.replication[1].upstream.status
[002]  ---
[002] -- follow
[002] +- disconnected
[002]  ...
[002]  box.info.replication[1].upstream.lag > 0
[002]  ---
[002]
[002] Last 15 lines of Tarantool Log file [Instance "master"][/tarantool/test/var/002_replication/master.log]:
[002] tcp_server: remove dead UNIX socket: /tarantool/test/var/002_replication/master.control
[002] started
[002] mkdir /tarantool/test/var/002_replication/master
[002] 2018-12-11 07:43:53.789 [68160] main/101/master C> Tarantool 2.1.1-78-g4ed1c41d0
[002] 2018-12-11 07:43:53.789 [68160] main/101/master C> log level 5
[002] 2018-12-11 07:43:53.789 [68160] main/101/master I> mapping 117440512 bytes for memtx tuple arena...
[002] 2018-12-11 07:43:53.789 [68160] main/101/master I> mapping 134217728 bytes for vinyl tuple arena...
[002] 2018-12-11 07:43:53.799 [68160] iproto/101/main I> binary: bound to 127.0.0.1:35674
[002] 2018-12-11 07:43:53.800 [68160] main/101/master I> initializing an empty data directory
[002] 2018-12-11 07:43:53.852 [68160] snapshot/101/main I> saving snapshot `/tarantool/test/var/002_replication/master/00000000000000000000.snap.inprogress'
[002] 2018-12-11 07:43:53.862 [68160] snapshot/101/main I> done
[002] 2018-12-11 07:43:53.863 [68160] main/101/master I> ready to accept requests
[002] 2018-12-11 07:43:53.863 [68160] main/104/checkpoint_daemon I> scheduled next checkpoint for Tue Dec 11 09:35:53 2018
[002] 2018-12-11 07:43:53.864 [68160] main/114/console/unix/:/tarantool/test/v I> started
[002] 2018-12-11 07:43:53.864 [68160] main C> entering the event loop

2.:

[013] replication/errinj.test.lua                     memtx           [ fail ]
[013] 
[013] Test failed! Result content mismatch:
[013] --- replication/errinj.result  Fri Dec  7 00:35:26 2018
[013] +++ errinj.reject  Mon Dec 10 21:45:58 2018
[013] @@ -494,7 +494,7 @@
[013]  ...
[013]  box.info.replication[1].upstream.status -- follow
[013]  ---
[013] -- follow
[013] +- ready
[013]  ...
[013]  test_run:cmd("switch default")
[013]  ---

https://gitlab.com/tarantool/tarantool/-/jobs/746670613#L4755
results file checksum: 5d3f58323aafc1a11d9b9264258f7acf

[028] --- replication/errinj.result	Fri Jun  5 06:49:36 2020
[028] +++ replication/errinj.reject	Sat Sep 19 10:10:16 2020
[028] @@ -340,7 +340,8 @@
[028]  ...
[028]  {box.info.replication[1].upstream.status, box.info.replication[1].upstream.message}
[028]  ---
[028] -- - follow
[028] +- - disconnected
[028] +  - timed out
[028]  ...
[028]  test_run:cmd("switch default")
[028]  ---
[028] 

Steps to reproduce:

  • flaky

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions