You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by Robert Dionne <di...@dionne-associates.com> on 2009/10/09 15:51:56 UTC

Re: [jira] Created: (COUCHDB-524) make check fail on freebsd 7.2 & osx 10.0


On Oct 9, 2009, at 9:17 AM, Benoit Chesneau wrote:

> On Fri, Oct 9, 2009 at 2:24 PM, Robert Dionne
> <di...@dionne-associates.com> wrote:
>> fwiw, one thing these failed etaps all have in common is that they  
>> start a
>> couchdb server
>>
> i retried by making sure any other couchdb was sown but still have  
> errors.
> test/etap/110-replication-httpc...........FAILED before any test  
> output arrived
> test/etap/111-replication-changes-feed....ok 5/13
> Crash dump was written to: erl_crash.dump
> init terminating in do_boot ()
> test/etap/111-replication-changes-feed....dubious
>       Test returned status 1 (wstat 256, 0x100)
> DIED. FAILED tests 7-13
>       Failed 7/13 tests, 46.15% okay
> test/etap/112-replication-missing-revs....ok 3/12
> Crash dump was written to: erl_crash.dump
> init terminating in do_boot ()
> test/etap/112-replication-missing-revs....dubious
>       Test returned status 1 (wstat 256, 0x100)
> DIED. FAILED tests 5-12
>       Failed 8/12 tests, 33.33% okay
> Failed Test                              Stat Wstat Total Fail  List  
> of Failed
> -------------------------------------------------------------------------------
> test/etap/110-replication-httpc.t                      ??   ??  ??
> test/etap/111-replication-changes-feed.t    1   256    13   14  7-13
> test/etap/112-replication-missing-revs.t    1   256    12   16  5-12
> Failed 3/25 test scripts. 21/331 subtests failed.
> Files=25, Tests=331, 50 wallclock secs (13.54 cusr +  5.52 csys =  
> 19.06 CPU)
> Failed 3/25 test programs. 21/331 subtests failed.
> make: *** [check] Error 1
>
>
> about server launch wouldn't it be better to launch it on an available
> port so it cannot conflict with anything?

good idea, will look into it.

>
> - benoît


Re: [jira] Created: (COUCHDB-524) make check fail on freebsd 7.2 & osx 10.0

Posted by Benoit Chesneau <bc...@gmail.com>.
On Fri, Oct 9, 2009 at 3:51 PM, Robert Dionne
<di...@dionne-associates.com> wrote:
>
>
> On Oct 9, 2009, at 9:17 AM, Benoit Chesneau wrote:
>
>> On Fri, Oct 9, 2009 at 2:24 PM, Robert Dionne
>> <di...@dionne-associates.com> wrote:
>>>
>>> fwiw, one thing these failed etaps all have in common is that they start
>>> a
>>> couchdb server
>>>
>> i retried by making sure any other couchdb was sown but still have errors.
>> test/etap/110-replication-httpc...........FAILED before any test output
>> arrived
>> test/etap/111-replication-changes-feed....ok 5/13
>> Crash dump was written to: erl_crash.dump
>> init terminating in do_boot ()
>> test/etap/111-replication-changes-feed....dubious
>>      Test returned status 1 (wstat 256, 0x100)
>> DIED. FAILED tests 7-13
>>      Failed 7/13 tests, 46.15% okay
>> test/etap/112-replication-missing-revs....ok 3/12
>> Crash dump was written to: erl_crash.dump
>> init terminating in do_boot ()
>> test/etap/112-replication-missing-revs....dubious
>>      Test returned status 1 (wstat 256, 0x100)
>> DIED. FAILED tests 5-12
>>      Failed 8/12 tests, 33.33% okay
>> Failed Test                              Stat Wstat Total Fail  List of
>> Failed
>>
>> -------------------------------------------------------------------------------
>> test/etap/110-replication-httpc.t                      ??   ??  ??
>> test/etap/111-replication-changes-feed.t    1   256    13   14  7-13
>> test/etap/112-replication-missing-revs.t    1   256    12   16  5-12
>> Failed 3/25 test scripts. 21/331 subtests failed.
>> Files=25, Tests=331, 50 wallclock secs (13.54 cusr +  5.52 csys = 19.06
>> CPU)
>> Failed 3/25 test programs. 21/331 subtests failed.
>> make: *** [check] Error 1
>>
>>
>> about server launch wouldn't it be better to launch it on an available
>> port so it cannot conflict with anything?
>
> good idea, will look into it.
>


quick code to get avalable port from another project :

    {ok, Ip} = inet_parse:address("127.0.0.1"),
    {ok, S} = gen_tcp:listen(0, [{ip, Ip}]),
    {ok, Port} = inet:port(S),
    gen_tcp:close(S),


obviously first line could be ignored if you pass the right ip tuple
(here ip was dynamic).

- benoit