* [Tarantool-patches] [PATCH] test: recover FreeBSD skip conditions
@ 2020-05-20 16:16 sergeyb
2020-05-20 16:48 ` Alexander V. Tikhonov
2020-05-22 13:04 ` Kirill Yukhin
0 siblings, 2 replies; 3+ messages in thread
From: sergeyb @ 2020-05-20 16:16 UTC (permalink / raw)
To: tarantool-patches; +Cc: o.piskunov, alexander.turenko
From: Sergey Bronnikov <sergeyb@tarantool.org>
Due to inaccuracy FreeBSD skip conditions were overwritten by OpenBSD
skip conditions.
Closes #5004
---
test/app/crypto.skipcond | 4 ++++
test/app/digest.skipcond | 4 ++++
test/app/socket.skipcond | 30 +++++++++++++++++++++++++++---
test/box/net.box.skipcond | 4 ++++
test/box/net_msg_max.skipcond | 4 ++++
5 files changed, 43 insertions(+), 3 deletions(-)
diff --git a/test/app/crypto.skipcond b/test/app/crypto.skipcond
index 9c1ca22b1..108e776c4 100644
--- a/test/app/crypto.skipcond
+++ b/test/app/crypto.skipcond
@@ -1,5 +1,9 @@
import platform
+# Disabled on FreeBSD due to flaky fail #4271.
+if platform.system() == 'FreeBSD':
+ self.skip = 1
+
# Disabled on OpenBSD due to fail #XXXX.
if platform.system() == 'OpenBSD':
self.skip = 1
diff --git a/test/app/digest.skipcond b/test/app/digest.skipcond
index 9c1ca22b1..108e776c4 100644
--- a/test/app/digest.skipcond
+++ b/test/app/digest.skipcond
@@ -1,5 +1,9 @@
import platform
+# Disabled on FreeBSD due to flaky fail #4271.
+if platform.system() == 'FreeBSD':
+ self.skip = 1
+
# Disabled on OpenBSD due to fail #XXXX.
if platform.system() == 'OpenBSD':
self.skip = 1
diff --git a/test/app/socket.skipcond b/test/app/socket.skipcond
index 9c1ca22b1..a3748b093 100644
--- a/test/app/socket.skipcond
+++ b/test/app/socket.skipcond
@@ -1,7 +1,31 @@
+
+# vim: set ft=python :
+import re
+import os.path
+import socket
+import os
+import tempfile
import platform
-# Disabled on OpenBSD due to fail #XXXX.
-if platform.system() == 'OpenBSD':
+test_dir = tempfile.mkdtemp(prefix='tarantool-test-socket')
+test_path = os.path.join(test_dir, 'socket')
+
+s = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
+try:
+ s.bind(test_path)
+except:
self.skip = 1
-# vim: set ft=python:
+s.close()
+
+if os.path.exists(test_path):
+ os.remove(test_path)
+ os.rmdir(test_dir)
+
+# Disabled on FreeBSD due to flaky fail #4271.
+if platform.system() == 'FreeBSD':
+ self.skip = 1
+
+# Disabled on OpenBSD due to fail #XXX.
+if platform.system() == 'OpenBSD':
+ self.skip = 1
diff --git a/test/box/net.box.skipcond b/test/box/net.box.skipcond
index 9c1ca22b1..58b83f415 100644
--- a/test/box/net.box.skipcond
+++ b/test/box/net.box.skipcond
@@ -4,4 +4,8 @@ import platform
if platform.system() == 'OpenBSD':
self.skip = 1
+# Disabled on FreeBSD due to flaky fail #4271.
+if platform.system() == 'FreeBSD':
+ self.skip = 1
+
# vim: set ft=python:
diff --git a/test/box/net_msg_max.skipcond b/test/box/net_msg_max.skipcond
index 9c1ca22b1..58b83f415 100644
--- a/test/box/net_msg_max.skipcond
+++ b/test/box/net_msg_max.skipcond
@@ -4,4 +4,8 @@ import platform
if platform.system() == 'OpenBSD':
self.skip = 1
+# Disabled on FreeBSD due to flaky fail #4271.
+if platform.system() == 'FreeBSD':
+ self.skip = 1
+
# vim: set ft=python:
--
2.23.0
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Tarantool-patches] [PATCH] test: recover FreeBSD skip conditions
2020-05-20 16:16 [Tarantool-patches] [PATCH] test: recover FreeBSD skip conditions sergeyb
@ 2020-05-20 16:48 ` Alexander V. Tikhonov
2020-05-22 13:04 ` Kirill Yukhin
1 sibling, 0 replies; 3+ messages in thread
From: Alexander V. Tikhonov @ 2020-05-20 16:48 UTC (permalink / raw)
To: sergeyb; +Cc: tarantool-patches
Hi Sergey, thanks for the patch, LGTM.
On Wed, May 20, 2020 at 07:16:58PM +0300, sergeyb@tarantool.org wrote:
> From: Sergey Bronnikov <sergeyb@tarantool.org>
>
> Due to inaccuracy FreeBSD skip conditions were overwritten by OpenBSD
> skip conditions.
>
> Closes #5004
> ---
> test/app/crypto.skipcond | 4 ++++
> test/app/digest.skipcond | 4 ++++
> test/app/socket.skipcond | 30 +++++++++++++++++++++++++++---
> test/box/net.box.skipcond | 4 ++++
> test/box/net_msg_max.skipcond | 4 ++++
> 5 files changed, 43 insertions(+), 3 deletions(-)
>
> diff --git a/test/app/crypto.skipcond b/test/app/crypto.skipcond
> index 9c1ca22b1..108e776c4 100644
> --- a/test/app/crypto.skipcond
> +++ b/test/app/crypto.skipcond
> @@ -1,5 +1,9 @@
> import platform
>
> +# Disabled on FreeBSD due to flaky fail #4271.
> +if platform.system() == 'FreeBSD':
> + self.skip = 1
> +
> # Disabled on OpenBSD due to fail #XXXX.
> if platform.system() == 'OpenBSD':
> self.skip = 1
> diff --git a/test/app/digest.skipcond b/test/app/digest.skipcond
> index 9c1ca22b1..108e776c4 100644
> --- a/test/app/digest.skipcond
> +++ b/test/app/digest.skipcond
> @@ -1,5 +1,9 @@
> import platform
>
> +# Disabled on FreeBSD due to flaky fail #4271.
> +if platform.system() == 'FreeBSD':
> + self.skip = 1
> +
> # Disabled on OpenBSD due to fail #XXXX.
> if platform.system() == 'OpenBSD':
> self.skip = 1
> diff --git a/test/app/socket.skipcond b/test/app/socket.skipcond
> index 9c1ca22b1..a3748b093 100644
> --- a/test/app/socket.skipcond
> +++ b/test/app/socket.skipcond
> @@ -1,7 +1,31 @@
> +
> +# vim: set ft=python :
> +import re
> +import os.path
> +import socket
> +import os
> +import tempfile
> import platform
>
> -# Disabled on OpenBSD due to fail #XXXX.
> -if platform.system() == 'OpenBSD':
> +test_dir = tempfile.mkdtemp(prefix='tarantool-test-socket')
> +test_path = os.path.join(test_dir, 'socket')
> +
> +s = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
> +try:
> + s.bind(test_path)
> +except:
> self.skip = 1
>
> -# vim: set ft=python:
> +s.close()
> +
> +if os.path.exists(test_path):
> + os.remove(test_path)
> + os.rmdir(test_dir)
> +
> +# Disabled on FreeBSD due to flaky fail #4271.
> +if platform.system() == 'FreeBSD':
> + self.skip = 1
> +
> +# Disabled on OpenBSD due to fail #XXX.
> +if platform.system() == 'OpenBSD':
> + self.skip = 1
> diff --git a/test/box/net.box.skipcond b/test/box/net.box.skipcond
> index 9c1ca22b1..58b83f415 100644
> --- a/test/box/net.box.skipcond
> +++ b/test/box/net.box.skipcond
> @@ -4,4 +4,8 @@ import platform
> if platform.system() == 'OpenBSD':
> self.skip = 1
>
> +# Disabled on FreeBSD due to flaky fail #4271.
> +if platform.system() == 'FreeBSD':
> + self.skip = 1
> +
> # vim: set ft=python:
> diff --git a/test/box/net_msg_max.skipcond b/test/box/net_msg_max.skipcond
> index 9c1ca22b1..58b83f415 100644
> --- a/test/box/net_msg_max.skipcond
> +++ b/test/box/net_msg_max.skipcond
> @@ -4,4 +4,8 @@ import platform
> if platform.system() == 'OpenBSD':
> self.skip = 1
>
> +# Disabled on FreeBSD due to flaky fail #4271.
> +if platform.system() == 'FreeBSD':
> + self.skip = 1
> +
> # vim: set ft=python:
> --
> 2.23.0
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Tarantool-patches] [PATCH] test: recover FreeBSD skip conditions
2020-05-20 16:16 [Tarantool-patches] [PATCH] test: recover FreeBSD skip conditions sergeyb
2020-05-20 16:48 ` Alexander V. Tikhonov
@ 2020-05-22 13:04 ` Kirill Yukhin
1 sibling, 0 replies; 3+ messages in thread
From: Kirill Yukhin @ 2020-05-22 13:04 UTC (permalink / raw)
To: sergeyb; +Cc: o.piskunov, tarantool-patches, alexander.turenko
Hello,
On 20 май 19:16, sergeyb@tarantool.org wrote:
> From: Sergey Bronnikov <sergeyb@tarantool.org>
>
> Due to inaccuracy FreeBSD skip conditions were overwritten by OpenBSD
> skip conditions.
>
> Closes #5004
I've checked your patch into master.
--
Regards, Kirill Yukhin
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-05-22 13:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-20 16:16 [Tarantool-patches] [PATCH] test: recover FreeBSD skip conditions sergeyb
2020-05-20 16:48 ` Alexander V. Tikhonov
2020-05-22 13:04 ` Kirill Yukhin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox