Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 15837 invoked from network); 9 Oct 2009 14:06:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Oct 2009 14:06:54 -0000 Received: (qmail 32821 invoked by uid 500); 9 Oct 2009 14:06:53 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 32736 invoked by uid 500); 9 Oct 2009 14:06:53 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 32726 invoked by uid 99); 9 Oct 2009 14:06:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Oct 2009 14:06:53 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of bchesneau@gmail.com designates 209.85.212.198 as permitted sender) Received: from [209.85.212.198] (HELO mail-vw0-f198.google.com) (209.85.212.198) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Oct 2009 14:06:43 +0000 Received: by vws36 with SMTP id 36so6245677vws.29 for ; Fri, 09 Oct 2009 07:06:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=Pq7IkHKA0bF4/TEdGSg7+xaA4f04qGhtBsY83BlM/L4=; b=tBLW2lmq7t1xTRs558UYEdBzzIRUBCMfzDN0m1yKI9D6w5vVii/YRPm86G03ZzDCi3 czJFTh3n9OOOERzSNFNBlTd6PlcCvTSLfYUwqjXEyi/8+en4iX3VHFrxWzNhsr4b88RH fleF0BDWMUOvReZLq4GvQaz6yEMcZ2O8DQdVI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=QLQA//n8ZPTxiZBDstCqUoJneOvETRJbtIhdZhcIt4LPX82xPwphTsmj+34dt8hrPX ODnHG3qJS8mdy3d0vXXAHfyjcBpD/IiWfx3IMYVrucMTBxAd7T/ir4vL47tZgyFVicMc cBL9p9WwIx6m6ZXgp6bcMNzk9SWMdfyEbipA4= MIME-Version: 1.0 Received: by 10.220.79.140 with SMTP id p12mr4062501vck.57.1255097182554; Fri, 09 Oct 2009 07:06:22 -0700 (PDT) In-Reply-To: References: <791835194.1255089331598.JavaMail.jira@brutus> <4D0EDD3C-3A0E-4153-96DA-07F1BD58BBC6@dionne-associates.com> Date: Fri, 9 Oct 2009 16:06:22 +0200 Message-ID: Subject: Re: [jira] Created: (COUCHDB-524) make check fail on freebsd 7.2 & osx 10.0 From: Benoit Chesneau To: dev@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Fri, Oct 9, 2009 at 3:51 PM, Robert Dionne wrote: > > > On Oct 9, 2009, at 9:17 AM, Benoit Chesneau wrote: > >> On Fri, Oct 9, 2009 at 2:24 PM, Robert Dionne >> wrote: >>> >>> fwiw, one thing these failed etaps all have in common is that they star= t >>> a >>> couchdb server >>> >> i retried by making sure any other couchdb was sown but still have error= s. >> 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 >> =A0 =A0 =A0Test returned status 1 (wstat 256, 0x100) >> DIED. FAILED tests 7-13 >> =A0 =A0 =A0Failed 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 >> =A0 =A0 =A0Test returned status 1 (wstat 256, 0x100) >> DIED. FAILED tests 5-12 >> =A0 =A0 =A0Failed 8/12 tests, 33.33% okay >> Failed Test =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0S= tat Wstat Total Fail =A0List of >> Failed >> >> ------------------------------------------------------------------------= ------- >> test/etap/110-replication-httpc.t =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0?? =A0 ?? =A0?? >> test/etap/111-replication-changes-feed.t =A0 =A01 =A0 256 =A0 =A013 =A0 = 14 =A07-13 >> test/etap/112-replication-missing-revs.t =A0 =A01 =A0 256 =A0 =A012 =A0 = 16 =A05-12 >> Failed 3/25 test scripts. 21/331 subtests failed. >> Files=3D25, Tests=3D331, 50 wallclock secs (13.54 cusr + =A05.52 csys = =3D 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} =3D inet_parse:address("127.0.0.1"), {ok, S} =3D gen_tcp:listen(0, [{ip, Ip}]), {ok, Port} =3D 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