Tarantool development patches archive
 help / color / mirror / Atom feed
* [Tarantool-patches] [PATCH] test: box-py/snapshot -- increase timeout
@ 2020-02-28 13:11 Cyrill Gorcunov
  2020-03-03  9:53 ` Alexander Turenko
  0 siblings, 1 reply; 3+ messages in thread
From: Cyrill Gorcunov @ 2020-02-28 13:11 UTC (permalink / raw)
  To: Alexander Turenko; +Cc: tml

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
---
 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Tarantool-patches] [PATCH] test: box-py/snapshot -- increase timeout
  2020-02-28 13:11 [Tarantool-patches] [PATCH] test: box-py/snapshot -- increase timeout Cyrill Gorcunov
@ 2020-03-03  9:53 ` Alexander Turenko
  2020-03-03 10:00   ` Cyrill Gorcunov
  0 siblings, 1 reply; 3+ messages in thread
From: Alexander Turenko @ 2020-03-03  9:53 UTC (permalink / raw)
  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 <gorcunov@gmail.com>
> ---
>  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
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Tarantool-patches] [PATCH] test: box-py/snapshot -- increase timeout
  2020-03-03  9:53 ` Alexander Turenko
@ 2020-03-03 10:00   ` Cyrill Gorcunov
  0 siblings, 0 replies; 3+ messages in thread
From: Cyrill Gorcunov @ 2020-03-03 10:00 UTC (permalink / raw)
  To: Alexander Turenko; +Cc: tml

On Tue, Mar 03, 2020 at 12:53:18PM +0300, Alexander Turenko wrote:
> 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.

Yes, looks like there are a few problems weaved together.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-03-03 10:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-28 13:11 [Tarantool-patches] [PATCH] test: box-py/snapshot -- increase timeout Cyrill Gorcunov
2020-03-03  9:53 ` Alexander Turenko
2020-03-03 10:00   ` Cyrill Gorcunov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox