Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9FB915557 for ; Wed, 11 May 2011 01:24:53 +0000 (UTC) Received: (qmail 16738 invoked by uid 500); 11 May 2011 01:24:53 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 16708 invoked by uid 500); 11 May 2011 01:24: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 16699 invoked by uid 99); 11 May 2011 01:24:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 May 2011 01:24:53 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of paul.joseph.davis@gmail.com designates 209.85.220.180 as permitted sender) Received: from [209.85.220.180] (HELO mail-vx0-f180.google.com) (209.85.220.180) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 May 2011 01:24:46 +0000 Received: by vxk12 with SMTP id 12so38324vxk.11 for ; Tue, 10 May 2011 18:24:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type:content-transfer-encoding; bh=n98XL3o14m4rQOvaJ4aQ29ahFC6gBrn4RBNr2THOSmk=; b=Muz+CNzspvsGseojCmpPVyXhYe1YBkjj5g7qMmLT73ooek4nGp3588Ig8bHg1QYPzl 8nhC5EnGHPNpy65XNBWL8HFUta8NAOlAzw8i5FsjjEHt/aHQ5qXegQrgqGFsks4vz1mi 7PLU5/e+YpK7GYJEDuPqCqfPR7czo7Nf9JckU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=iegiQUKhY0yAR7gHemz/6ZNDhXP9Ja9DMvO5fuI5zUTMca3Ps1yAYxqu4fFI8orkjU 5CwLFq9s+gwDTvoHMA7SBMKXh+4YG4QB2ZEVUaecPD7DrQA3DlC/33DKTsfLE5zPzPGU JunkLie9ptNN/dN4WtwSdsIaGuC2JgryejTk8= Received: by 10.52.111.10 with SMTP id ie10mr917649vdb.81.1305077065236; Tue, 10 May 2011 18:24:25 -0700 (PDT) MIME-Version: 1.0 Received: by 10.52.101.166 with HTTP; Tue, 10 May 2011 18:23:45 -0700 (PDT) In-Reply-To: References: From: Paul Davis Date: Tue, 10 May 2011 21:23:45 -0400 Message-ID: Subject: Re: Tips for getting past test suite errors 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 Jake, What browser are you using? Officially we only support FF3.5 (unless that version changed recently?) but the tests generally work on all the WebKit browsers as well though occasionally they get out of whack and someone eventually gets pissed and fixes them so we don't have to run FF. Beyond that it looks like your environment is up to snuff. I'd expect many more failures if not. The last error I think is an on purpose one which just says your SM is a bit old. The others I've not heard reports of or seen myself though its been awhile since I've run the Futon tests on trunk. Also, for tests there's also the etap tests which you can run using `make check` that might also point at an error somewhere. Paul On Tue, May 10, 2011 at 5:09 PM, Jake Levirne wro= te: > Hello- > > I'm new to couchdb-dev and am trying to get to the point where I can > make useful contributions. =A0Right now 8 of my tests are failing when I > run the test suite in futon (details below). > > I'm running on an Ubuntu 10.04.2 Server virtualbox, and I've forked > and cloned apache/couchdb on github and am up to date with > git.apache.org/couchdb.git (so I think I have the latest trunk). > > I've followed these instructions for running couchdb in dev mode: > http://wiki.apache.org/couchdb/Running%20CouchDB%20in%20Dev%20Mode > > and I believe all my dependencies are in order (I =A0was able to > bootstrap, configure, and build successfully). =A0Are these errors > expected? =A0If not, any pointers for how to get started tracking down > what might be wrong with my setup? > > basics =A0success 14232ms > all_docs =A0 =A0 =A0 =A0success 6441ms > attachments =A0 =A0 error =A0 5699ms > > =A0 =A0Run with debugger > =A0 =A0Assertion failed: xhr.responseText =3D=3D lorem > =A0 =A0Exception raised: {"message":"actual is > null","fileName":"http://192.168.2.13:5984/_utils/script/couch_test_runne= r.js?0.11.0","lineNumber":322,"stack":"TEqualsIgnoreCase(\"text/plain;chars= et=3Dutf-8\",null)@http://192.168.2.13:5984/_utils/script/couch_test_runner= .js?0.11.0:322\u000a(false)@http://192.168.2.13:5984/_utils/script/couch_te= st_runner.js?0.11.0:147\u000arun(0)@http://192.168.2.13:5984/_utils/script/= couch_test_runner.js?0.11.0:91\u000a"} > > attachments_multipart =A0 success 4498ms > attachment_names =A0 =A0 =A0 =A0success 1643ms > attachment_paths =A0 =A0 =A0 =A0success 3852ms > attachment_ranges =A0 =A0 =A0 success 3046ms > attachment_views =A0 =A0 =A0 =A0success 2370ms > auth_cache =A0 =A0 =A0success 16065ms > batch_save =A0 =A0 =A0success 67251ms > bulk_docs =A0 =A0 =A0 success 4190ms > changes success 19200ms > compact success 11128ms > config =A0success 4686ms > conflicts =A0 =A0 =A0 success 2191ms > content_negotiation =A0 =A0 success 1253ms > cookie_auth =A0 =A0 success 12960ms > copy_doc =A0 =A0 =A0 =A0success 2367ms > delayed_commits success 25500ms > design_docs =A0 =A0 success 40423ms > design_options =A0success 2835ms > design_paths =A0 =A0success 3316ms > erlang_views =A0 =A0success 5132ms > etags_head =A0 =A0 =A0failure 2012ms > > =A0 =A0Run with debugger > =A0 =A0Assertion failed: xhr.status =3D=3D 304 > > etags_views =A0 =A0 success 12380ms > form_submit =A0 =A0 success 558ms > http =A0 =A0success 1980ms > invalid_docids =A0success 1386ms > jsonp =A0 success 2227ms > large_docs =A0 =A0 =A0success 1504ms > list_views =A0 =A0 =A0failure 6230ms > > =A0 =A0Run with debugger > =A0 =A0Assertion 'xhr.status =3D=3D 200, "standard get should be 200"' > failed: standard get should be 200 > =A0 =A0Assertion failed: /head0123456789tail/.test(xhr.responseText) > > lots_of_docs =A0 =A0success 1329ms > method_override success 1730ms > multiple_rows =A0 success 2342ms > oauth =A0 success 15701ms > proxyauth =A0 =A0 =A0 success 5462ms > purge =A0 success 8323ms > reader_acl =A0 =A0 =A0success 11426ms > recreate_doc =A0 =A0success 10891ms > reduce =A0success 38180ms > reduce_builtin =A0failure 50824ms > > =A0 =A0Run with debugger > =A0 =A0Assertion failed: db.info().doc_count =3D=3D (i - 1) * 10 * 11 + (= j + 1) * 11 > > reduce_false =A0 =A0success 1184ms > reduce_false_temp =A0 =A0 =A0 success 1171ms > replication =A0 =A0 success 554998ms > replicator_db =A0 failure 137115ms > > =A0 =A0Run with debugger > =A0 =A0Assertion failed: typeof repDoc2._replication_state =3D=3D=3D "und= efined" > =A0 =A0Assertion failed: typeof repDoc2._replication_state_time =3D=3D=3D= "undefined" > > rev_stemming =A0 =A0failure 10205ms > > =A0 =A0Run with debugger > =A0 =A0Assertion failed: db.open("bar", {revs: > true})._revisions.ids.length =3D=3D newLimit + 1 > =A0 =A0Assertion failed: db.open("bar", {revs: > true})._revisions.ids.length =3D=3D newLimit + 1 > > rewrite success 7711ms > security_validation =A0 =A0 success 26567ms > show_documents =A0success 9692ms > stats =A0 failure 43987ms > > =A0 =A0Run with debugger > =A0 =A0Assertion 'triggered, "We managed to force a all_dbs_active > error."' failed: We managed to force a all_dbs_active error. > > update_documents =A0 =A0 =A0 =A0success 5215ms > users_db =A0 =A0 =A0 =A0success 4339ms > utf8 =A0 =A0success 3098ms > uuids =A0 success 2186ms > view_collation =A0success 13409ms > view_collation_raw =A0 =A0 =A0success 7263ms > view_conflicts =A0success 2533ms > view_compaction success 5684ms > view_errors =A0 =A0 success 7816ms > view_include_docs =A0 =A0 =A0 success 7203ms > view_multi_key_all_docs success 3578ms > view_multi_key_design =A0 success 5621ms > view_multi_key_temp =A0 =A0 success 1158ms > view_offsets =A0 =A0success 23291ms > view_pagination success 15272ms > view_sandboxing failure 3380ms > > =A0 =A0Run with debugger > =A0 =A0Assertion 'Warning: installed SpiderMonkey version doesn't allow > sealing of arrays' failed: expected '2', got '3' > > view_update_seq success 10399ms > view_xml =A0 =A0 =A0 =A0success 1728ms >