Tarantool development patches archive
 help / color / mirror / Atom feed
From: Alexander Turenko <alexander.turenko@tarantool.org>
To: "Alexander V. Tikhonov" <avtikhon@tarantool.org>
Cc: tarantool-patches@freelists.org
Subject: [tarantool-patches] Re: [PATCH v5 2/3] Enable GitLab CI testing
Date: Tue, 25 Jun 2019 19:20:37 +0300	[thread overview]
Message-ID: <20190625162037.4q2gn5krinph5koz@tkn_work_nb> (raw)
In-Reply-To: <6e058b46beaa6f8546cf4220c5783fba41db3215.1561439243.git.avtikhon@tarantool.org>

I don't more have objections about the patchset, except forgotten
support of full testing of a branch.

Look however to several minor comments below.

Let's solve infrastructure questions we discussed privately, then I'll
formally approve the patchset.

WBR, Alexander Turenko.

> +release_lto:
> +  only:
> +    refs:
> +      - master

We discussed that we'll add something like /.*-full-ci/ here to allow a
developer to test a branch with all targets.

BTW, can we use a variable for 'master' here to reduce amount of changes
that will be needed to backport the patch to 2.1 and 1.10?

Is I understand right that it is the only change that will be needed
between branches?

> +###########
> +# FreeBSD #
> +###########
> +
> +deps_freebsd:
> +	sudo pkg install -y git cmake gmake gcc coreutils \
> +	readline ncurses libyaml openssl curl libunwind icu \
> +	python27 py27-pip py27-setuptools py27-daemon \
> +	py27-yaml py27-argparse py27-six py27-gevent \
> +	gdb bash

Broken indent, should be:

foo:
	foo \
		bar \
		baz

> diff --git a/test/app-tap/console.skipcond b/test/app-tap/console.skipcond
> new file mode 100644
> index 000000000..8cf610777
> --- /dev/null
> +++ b/test/app-tap/console.skipcond
> @@ -0,0 +1,8 @@
> +import os

os module is not used, the import can be removed. The same for skipconds
below.

> diff --git a/test/app/socket.skipcond b/test/app/socket.skipcond
> index 89a293f81..8cf610777 100644
> --- a/test/app/socket.skipcond
> +++ b/test/app/socket.skipcond
> @@ -1,22 +1,8 @@
> -
> -# vim: set ft=python :
> -import re
> -import os.path
> -import socket
>  import os
> -import tempfile
> -
> -test_dir = tempfile.mkdtemp(prefix='tarantool-test-socket')
> -test_path = os.path.join(test_dir, 'socket')
> +import platform
>  
> -s = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
> -try:
> -    s.bind(test_path)
> -except:
> +# Disabled on FreeBSD due to flaky fail #4271.
> +if platform.system() == 'FreeBSD':
>      self.skip = 1
>  
> -s.close()
> -
> -if os.path.exists(test_path):
> -    os.remove(test_path)
> -    os.rmdir(test_dir)
> +# vim: set ft=python:

I don't think we should remove the existing check. Instead we should add
our own at the end.

           reply	other threads:[~2019-06-25 16:21 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <6e058b46beaa6f8546cf4220c5783fba41db3215.1561439243.git.avtikhon@tarantool.org>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190625162037.4q2gn5krinph5koz@tkn_work_nb \
    --to=alexander.turenko@tarantool.org \
    --cc=avtikhon@tarantool.org \
    --cc=tarantool-patches@freelists.org \
    --subject='[tarantool-patches] Re: [PATCH v5 2/3] Enable GitLab CI testing' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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