From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtpng3.m.smailru.net (smtpng3.m.smailru.net [94.100.177.149]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 1DF5D469719 for ; Tue, 3 Mar 2020 12:53:21 +0300 (MSK) Date: Tue, 3 Mar 2020 12:53:18 +0300 From: Alexander Turenko Message-ID: <20200303095318.rqieurn2qia7kiao@tkn_work_nb> References: <20200228131151.18996-1-gorcunov@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200228131151.18996-1-gorcunov@gmail.com> Subject: Re: [Tarantool-patches] [PATCH] test: box-py/snapshot -- increase timeout List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Cyrill Gorcunov Cc: tml I got the following fail on tt-mac as before as well as after the patch: | space:drop() | --- | - error: Failed to write to disk | ... The logs contains: | 2020-03-03 12:40:27.124 [76700] wal/101/main xlog.c:756 !> SystemError failed to rename '/Users/a.turenko/tarantool/test/var/005_box-py/box/00000000000000000128.xlog.inprogress' file: No such file or directory | 2020-03-03 12:40:27.129 [76729] wal/101/main xlog.c:754 !> can't rename /Users/a.turenko/tarantool/test/var/008_box-py/box/00000000000000000080.xlog.inprogress to /Users/a.turenko/tarantool/test/var/008_box-py/box/00000000000000000080.xlog: No such file or directory It seems we should look into the problem deeper. WBR, Alexander Turenko. On Fri, Feb 28, 2020 at 04:11:51PM +0300, Cyrill Gorcunov wrote: > Signed-off-by: Cyrill Gorcunov > --- > test/box-py/snapshot.test.py | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git a/test/box-py/snapshot.test.py b/test/box-py/snapshot.test.py > index 2bfb8f621..f7e69be6b 100644 > --- a/test/box-py/snapshot.test.py > +++ b/test/box-py/snapshot.test.py > @@ -57,7 +57,11 @@ snapshot = os.path.join(os.path.join(server.vardir, server.name), snapshot) > > iteration = 0 > > -MAX_ITERATIONS = 100 > +# > +# Lets wait for 2 minutes to complete checkpoint process, > +# the OS may be loaded too much, we already got cases when > +# the test doesn't pass due to timeouts. > +MAX_ITERATIONS = 12000 > while not os.access(snapshot, os.F_OK) and iteration < MAX_ITERATIONS: > if iteration % 10 == 0: > os.kill(pid, SIGUSR1) > -- > 2.20.1 >