From dev-return-9310-apmail-couchdb-dev-archive=couchdb.apache.org@couchdb.apache.org Wed Mar 24 12:08:42 2010 Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 9095 invoked from network); 24 Mar 2010 12:08:42 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 24 Mar 2010 12:08:42 -0000 Received: (qmail 65210 invoked by uid 500); 24 Mar 2010 12:08:42 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 65158 invoked by uid 500); 24 Mar 2010 12:08:42 -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 65149 invoked by uid 99); 24 Mar 2010 12:08:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Mar 2010 12:08:42 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of bchesneau@gmail.com designates 209.85.212.52 as permitted sender) Received: from [209.85.212.52] (HELO mail-vw0-f52.google.com) (209.85.212.52) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Mar 2010 12:08:34 +0000 Received: by vws3 with SMTP id 3so3186389vws.11 for ; Wed, 24 Mar 2010 05:08:13 -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=zpXmmEAzucWAm+2GEzp63vqKFtYq3uGhPDZobaL+EVk=; b=xpcxD7NEvS7VoMYkYkMX9sKEdb3EDM+opAdzi4aTcR21sFruWWHuHScd8u+V3VsjwE v838ZDNYOX2VJ6yO4X6+YRbN2bVVuA8MAo4Mz/PI2qYHD9Iie5WgE+MsZp35jY+0QJqp sWt/UU7bkotcn24m2NrGuDc/ouIedLv4fnxrA= 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=s8uNZhbcHqsTv81Wz9YHUIT4/ze+v48ciMV3v7YJdoDon0r+7ZlE5qyQgu7txHqccV U44G6FhsD8Ziv2Xn8YOy9Amay1ZuDLBiwNspu3R4l6K7gMfNRPfzS2Is7crSwaUBUQHK /zaHIQ/N1vaLCwfaPEMazkM66M1UuBEaX86Xk= MIME-Version: 1.0 Received: by 10.220.126.201 with SMTP id d9mr578639vcs.106.1269432492901; Wed, 24 Mar 2010 05:08:12 -0700 (PDT) In-Reply-To: References: <20100324094049.GA5069@uk.tiscali.com> Date: Wed, 24 Mar 2010 13:08:12 +0100 Message-ID: Subject: Re: [VOTE] Apache CouchDB 0.11.0 release, second round 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 Wed, Mar 24, 2010 at 1:04 PM, Benoit Chesneau wrot= e: > On Wed, Mar 24, 2010 at 10:40 AM, Brian Candler wro= te: >> Now installs fine under Ubuntu Hardy (8.04) i386, once I'd remembered to >> rm -rf /usr/local/lib/couchdb/erlang/lib. >> >> However, the in-browser test suite gave me various intermittent errors. >> >> Quite consistently I could get this one, even after disabling firefox >> extensions(*): >> >> reader_acl =A0 =A0 =A0error =A0 190ms >> =A0 1. Exception raised: {} >> >> It repeated consistently when clicking the arrow to re-run it. >> >> Clicking "run with debugger" just seemed to freeze the browser, although >> maybe that's because I had disabled firebug at this point. >> >> So I re-enabled firebug, restarted firefox, and tried re-running just th= e >> readeracl test again. =A0This time, I managed to crash the couchdb serve= r >> itself! >> >> $ telnet localhost 5984 >> Trying 127.0.0.1... >> telnet: Unable to connect to remote host: Connection refused >> >> Logs showed: >> >> [Wed, 24 Mar 2010 08:52:21 GMT] [info] [<0.5319.0>] 127.0.0.1 - - 'POST'= /test_suite_users/_ensure_full_commit 201 >> >> [Wed, 24 Mar 2010 08:52:21 GMT] [info] [<0.5319.0>] 127.0.0.1 - - 'POST'= /_restart 200 >> >> [Wed, 24 Mar 2010 08:52:21 GMT] [error] [<0.5301.0>] ** Generic server c= ouch_config terminating >> ** Last message in was {set,"couch_httpd_auth","secret", >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0"f8da3b2729ce9bea= 76220f692378eb0b",true} >> ** When Server state =3D=3D {config,[{<0.5349.0>,#Fun}, >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 {false,#= Fun}, >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 {<0.5347= .0>,#Fun}, >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 {<0.5347= .0>,#Fun}, >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 {<0.5320= .0>,#Fun}, >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 {<0.5318= .0>,#Fun}, >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 {<0.5315= .0>,#Fun}, >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 {<0.5315= .0>,#Fun}, >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 {<0.5313= .0>,#Fun}, >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 {<0.5312= .0>,#Fun}, >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 {<0.5310= .0>,#Fun}, >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 {false,#= Fun}, >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 {<0.4.0>= ,#Fun}], >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0"/usr/loc= al/etc/couchdb/local.ini"} >> ** Reason for termination =3D=3D >> ** {{badmatch,{error,eacces}}, >> =A0 =A0[{couch_config_writer,save_to_file,2}, >> =A0 =A0 {couch_config,handle_call,3}, >> =A0 =A0 {gen_server,handle_msg,5}, >> =A0 =A0 {proc_lib,init_p_do_apply,3}]} >> >> >> [Wed, 24 Mar 2010 08:52:21 GMT] [error] [<0.5301.0>] {error_report,<0.29= .0>, >> =A0 =A0 =A0 =A0 =A0 =A0 =A0{<0.5301.0>,crash_report, >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 [[{pid,<0.5301.0>}, >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 {registered_name,couch_config}, >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 {error_info,{exit,{{badmatch,{error,eacc= es}}, >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0[= {couch_config_writer,save_to_file,2}, >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = {couch_config,handle_call,3}, >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = {gen_server,handle_msg,5}, >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = {proc_lib,init_p_do_apply,3}]}, >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 [{ge= n_server,terminate,6}, >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0{= proc_lib,init_p_do_apply,3}]}}, >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 {initial_call,{couch_config,init,['Argum= ent__1']}}, >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 {ancestors,[couch_server_sup,<0.30.0>]}, >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 {messages,[]}, >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 {links,[<0.75.0>]}, >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 {dictionary,[]}, >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 {trap_exit,false}, >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 {status,running}, >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 {heap_size,6765}, >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 {stack_size,23}, >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 {reductions,42634}], >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0[]]}} >> >> [Wed, 24 Mar 2010 08:52:21 GMT] [error] [<0.75.0>] {error_report,<0.29.0= >, >> =A0 =A0{<0.75.0>,supervisor_report, >> =A0 =A0 [{supervisor,{local,couch_server_sup}}, >> =A0 =A0 =A0{errorContext,child_terminated}, >> =A0 =A0 =A0{reason, >> =A0 =A0 =A0 =A0 =A0{{badmatch,{error,eacces}}, >> =A0 =A0 =A0 =A0 =A0 [{couch_config_writer,save_to_file,2}, >> =A0 =A0 =A0 =A0 =A0 =A0{couch_config,handle_call,3}, >> =A0 =A0 =A0 =A0 =A0 =A0{gen_server,handle_msg,5}, >> =A0 =A0 =A0 =A0 =A0 =A0{proc_lib,init_p_do_apply,3}]}}, >> =A0 =A0 =A0{offender, >> =A0 =A0 =A0 =A0 =A0[{pid,<0.5301.0>}, >> =A0 =A0 =A0 =A0 =A0 {name,couch_config}, >> =A0 =A0 =A0 =A0 =A0 {mfa, >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 {couch_server_sup,couch_config_start_link_wr= apper, >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 [["/usr/local/etc/couchdb/default.in= i", >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 "/usr/local/etc/couchdb/local.in= i", >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 "/usr/local/etc/couchdb/default.= ini", >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 "/usr/local/etc/couchdb/local.in= i"], >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0<0.74.0>]}}, >> =A0 =A0 =A0 =A0 =A0 {restart_type,permanent}, >> =A0 =A0 =A0 =A0 =A0 {shutdown,brutal_kill}, >> =A0 =A0 =A0 =A0 =A0 {child_type,worker}]}]}} >> >> [Wed, 24 Mar 2010 08:52:21 GMT] [error] [<0.75.0>] {error_report,<0.29.0= >, >> =A0 =A0{<0.75.0>,supervisor_report, >> =A0 =A0 [{supervisor,{local,couch_server_sup}}, >> =A0 =A0 =A0{errorContext,shutdown}, >> =A0 =A0 =A0{reason,reached_max_restart_intensity}, >> =A0 =A0 =A0{offender, >> =A0 =A0 =A0 =A0 =A0[{pid,<0.5301.0>}, >> =A0 =A0 =A0 =A0 =A0 {name,couch_config}, >> =A0 =A0 =A0 =A0 =A0 {mfa, >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 {couch_server_sup,couch_config_start_link_wr= apper, >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 [["/usr/local/etc/couchdb/default.in= i", >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 "/usr/local/etc/couchdb/local.in= i", >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 "/usr/local/etc/couchdb/default.= ini", >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 "/usr/local/etc/couchdb/local.in= i"], >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0<0.74.0>]}}, >> =A0 =A0 =A0 =A0 =A0 {restart_type,permanent}, >> =A0 =A0 =A0 =A0 =A0 {shutdown,brutal_kill}, >> =A0 =A0 =A0 =A0 =A0 {child_type,worker}]}]}} >> >> [Wed, 24 Mar 2010 08:52:21 GMT] [error] [<0.5319.0>] Uncaught error in H= TTP request: {exit, >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 {{{badma= tch,{error,eacces}}, >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 [{co= uch_config_writer,save_to_file,2}, >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0{= couch_config,handle_call,3}, >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0{= gen_server,handle_msg,5}, >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0{= proc_lib,init_p_do_apply,3}]}, >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0{gen_= server,call, >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 [cou= ch_config, >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0{= set,"couch_httpd_auth","secret", >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = "f8da3b2729ce9bea76220f692378eb0b", >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = true}]}}} >> >> [Wed, 24 Mar 2010 08:52:21 GMT] [error] [emulator] Error in process <0.5= 356.0> with exit value: {badarg,[{ets,insert,[stats_hit_table,{{couchdb,ope= n_databases},-1}]},{couch_stats_collector,decrement,1}]} >> >> >> >> [Wed, 24 Mar 2010 08:52:21 GMT] [error] [emulator] Error in process <0.5= 352.0> with exit value: {badarg,[{ets,insert,[stats_hit_table,{{couchdb,ope= n_os_files},-1}]},{couch_stats_collector,decrement,1}]} >> >> eaccess suggested a permissions problem, so I did >> =A0chown couchdb:couchdb /usr/local/etc/couchdb/local.ini >> and restarted couchdb. After that this test suite was OK. However it's >> not clear to me why it hadn't crashed before. >> >> Before then I had also seen intermittently other tests failing with the = same >> error - whole groups of them (**). =A0For example, on one run everything= from >> reduce_builtin to view_pagination inclusive failing with the same "Excep= tion >> raised: {}" error. >> >> I checked the log after that run and found some odd errors: >> >> [Wed, 24 Mar 2010 09:00:50 GMT] [info] [<0.113.0>] OS Process #Port<0.18= 64> Log :: function raised exception (new ReferenceError("gc is not defined= ", "")) with doc._id 8450bfd7a0371f80a9baf032553367f4 >> >> [Wed, 24 Mar 2010 09:00:50 GMT] [info] [<0.103.0>] checkpointing view up= date at seq 1 for test_suite_db _temp >> >> [Wed, 24 Mar 2010 09:00:50 GMT] [info] [<0.94.0>] 127.0.0.1 - - 'POST' /= test_suite_db/_temp_view 200 >> >> [Wed, 24 Mar 2010 09:00:50 GMT] [info] [<0.113.0>] OS Process #Port<0.18= 64> Log :: function raised exception (new ReferenceError("map_funs is not d= efined", "")) with doc._id 8450bfd7a0371f80a9baf032553367f4 >> >> [Wed, 24 Mar 2010 09:00:50 GMT] [info] [<0.115.0>] checkpointing view up= date at seq 1 for test_suite_db _temp >> >> [Wed, 24 Mar 2010 09:00:50 GMT] [info] [<0.94.0>] 127.0.0.1 - - 'POST' /= test_suite_db/_temp_view 200 >> >> [Wed, 24 Mar 2010 09:00:50 GMT] [info] [<0.113.0>] OS Process #Port<0.18= 64> Log :: function raised exception (new ReferenceError("map_results is no= t defined", "")) with doc._id 8450bfd7a0371f80a9baf032553367f4 >> >> [Wed, 24 Mar 2010 09:00:50 GMT] [info] [<0.125.0>] checkpointing view up= date at seq 1 for test_suite_db _temp >> >> [Wed, 24 Mar 2010 09:00:50 GMT] [info] [<0.94.0>] 127.0.0.1 - - 'POST' /= test_suite_db/_temp_view 200 >> >> [Wed, 24 Mar 2010 09:00:50 GMT] [info] [<0.125.0>] Shutting down view gr= oup server, monitored db is closing. >> >> [Wed, 24 Mar 2010 09:00:50 GMT] [info] [<0.115.0>] Shutting down view gr= oup server, monitored db is closing. >> >> [Wed, 24 Mar 2010 09:00:50 GMT] [info] [<0.103.0>] Shutting down view gr= oup server, monitored db is closing. >> >> Anyway, nobody else seems to have had this problem, it's quite possibly >> something to do with my setup, and browser-based tests are fragile anywa= y. >> Hence I'm not going to vote against the release. =A0It's a 0 from me. >> >> Regards, >> >> Brian. >> >> (*) firebug, flashblock, jssh, open in browser, user agent switcher; lea= ving >> only "Ubuntu Firefox Modifications 0.5" >> >> (**) On my first run of the full test suite, it failed at >> >> reader_acl =A0 =A0 =A0error =A0 190ms >> =A0 1. Exception raised: {} >> >> The subsequent tests were OK from recreate_doc down to security_validati= on >> (inclusive), but then all the tests from show_documents to view_xml >> (inclusive) all failed with the same error: >> >> show_documents =A0error =A0 13282ms >> =A0 1. Exception raised: {} >> >> stats =A0 error =A0 18ms >> =A0 1. Exception raised: {} >> >> update_documents =A0 =A0 =A0 =A0error =A0 14ms >> =A0 1. Exception raised: {} >> ... etc >> >> So I reloaded the page and ran all the tests from the top. On this secon= d >> run, tests from form_submit down to stats (inclusive) failed in the same= way. >> > I reported the same yesterday. Had to remove the db folder and > relaunch the tests. Something happend in last 2 weeks about these > tests. > > - benoit > I can only reproduce that on my macbook anyway. Do we change something in the way we delete/reset the db recently ? I may have missed a commit. - benoit