[Tarantool-patches] [PATCH v2] test: fix OSX host setup

Alexander Tikhonov avtikhon at tarantool.org
Wed Mar 25 17:34:50 MSK 2020


Alexander, I’ve corrected the patch as you suggested, thank you.

  
>Среда, 25 марта 2020, 16:38 +03:00 от Alexander Turenko <alexander.turenko at tarantool.org>:
> 
>> >> >> + brew update || echo | /usr/bin/ruby -e \
>> >> >> + "$(curl -fsSL  https://raw.githubusercontent.com/Homebrew/install/master/install )"
>> >> >
>> >> >Why don't update formulae after installing brew?
>> >>
>> >> The tapped formula does not exist in brew any more, though it can’t be
>> >> updated.
>> >
>> >After installing brew you'll have fresh brew, but no formulae, I guess.
>> >Will the next `brew install` work? I guess, no. You need `brew update`
>> >after this.
>>
>> I’ve tried to remove the brew and reinstalled it with this command,
>> seems that all needed updates were tried to do during the
>> installation:
>
>Okay so.
>
>> >> >From the previous review [1]:
>> >> >
>> >> >> > The problem with 'var' directory is not related to the new way to Python
>> >> >> > 2 installation? Why everything is in one commit?
>> >> >>
>> >> >> This commit is about OSX host setup for building and testing, so I
>> >> >> think it is ok to set it here.
>> >> >
>> >> >It sounds as 'because something going not right, when something was
>> >> >changed'. Neat reason.
>> >> >
>> >> >I cannot say neither 'ok', not 'not ok' for this. Okay, I can guess that
>> >> >working directory is changed somehow, but why and where?
>> >>
>> >> ‘var’ directory lays too deep at the path and the length of the path
>> >> is too long for test-run.py tool which fails because of it, the
>> >> solution to fix it is to use the short link for the ‘var’ directory.
>> >
>> >Why it was okay, but becomes too long?
>> Because the name of the user on the new mac mini and its home path is really long
>> echo ~ | wc -c
>>       28
>> also the path of tarantool/test/var adds.
>
>Okay, so it worth to state something like:
>
>> We're going to enable new Mac machines into CI and usernames on them
>> are long according to internal policies. It makes a home directory to
>> be long too and so a path to a unix socket created during testing can
>> be longer then UNIX_PATH_MAX constant (108). Move the working
>> directory for testing into <...>.
>
>It would be also good to link the issue, which describes some details
>around the path length limit:
>https://github.com/tarantool/tarantool/issues/4634 
 
 
--
Alexander Tikhonov
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.tarantool.org/pipermail/tarantool-patches/attachments/20200325/518d441a/attachment.html>


More information about the Tarantool-patches mailing list