Return-Path: Delivered-To: apmail-incubator-couchdb-dev-archive@locus.apache.org Received: (qmail 60375 invoked from network); 3 Nov 2008 00:38:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Nov 2008 00:38:13 -0000 Received: (qmail 53743 invoked by uid 500); 3 Nov 2008 00:38:19 -0000 Delivered-To: apmail-incubator-couchdb-dev-archive@incubator.apache.org Received: (qmail 53702 invoked by uid 500); 3 Nov 2008 00:38:19 -0000 Mailing-List: contact couchdb-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: couchdb-dev@incubator.apache.org Delivered-To: mailing list couchdb-dev@incubator.apache.org Received: (qmail 53691 invoked by uid 99); 3 Nov 2008 00:38:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Nov 2008 16:38:19 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of bchesneau@gmail.com designates 74.125.78.147 as permitted sender) Received: from [74.125.78.147] (HELO ey-out-1920.google.com) (74.125.78.147) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Nov 2008 00:37:02 +0000 Received: by ey-out-1920.google.com with SMTP id 4so884496eyg.54 for ; Sun, 02 Nov 2008 16:37:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=aDASf8z0s+oe5oO1Vma8X8EeYw9/KXQSE6fX8eUwsO8=; b=PNaJ0o3GYVP8UMoN/ZPuJVFhfYPZmNjjaTjKHSlh80PF13d6eU7ueVRh9kklVbbBYf OWP0qUmkqnGHcFlzqhWT0SqTfIsiRO7Oj2JYVXqNB+oFiNQGhfHELPdrxy1ulHbXDk+X KLeIWXbpNxqnLkdfhjvbtbcY4vsXDr6mMrMJQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=GDvrOrkZRnibIQZlRNNQbp11HWzYd5K3zAwGnrEoZrK32wlijnLsiSMhMXhWWuai/s Gpm3RKhdb9v814k3iADrdNEMS24f9Z28aIZ49EhVCdSLBxkESsIKDuImmix8kN0iKS1V 01969eGvCDc6iyyO0Cfux7VAbb+qK3shEuWNA= Received: by 10.210.62.12 with SMTP id k12mr4875191eba.42.1225672661885; Sun, 02 Nov 2008 16:37:41 -0800 (PST) Received: by 10.210.48.10 with HTTP; Sun, 2 Nov 2008 16:37:41 -0800 (PST) Message-ID: Date: Mon, 3 Nov 2008 01:37:41 +0100 From: "Benoit Chesneau" To: couchdb-dev@incubator.apache.org Subject: feedback openbsd 4.4-current MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org Just installed latest trunk on openbsd 4.4-current and launch test suite. After some changes in build (see patches in jira) all browser tests passed. I will test more with real product later this day. Does test/runner supposed to work right now ? If it is, find results attached. - beno=EEt results of test/runner.sh ----------------------------------------- Running 7 tests... -couch_config_test/0-fun-0- [PASSED] -couch_config_writer_test/0-fun-0- [PASSED] -couch_config_writer_test/0-fun-1- [PASSED] -couch_config_writer_test/0-fun-2- [PASSED] -couch_config_writer_test/0-fun-3- [PASSED] -couch_config_writer_test/0-fun-4- [PASSED] -couch_config_writer_test/0-fun-5- [PASSED] PASSED: 7, FAILED: 0, SKIPPED: 0 Running CouchDB Test Suite Host: 127.0.0.1:5984 Version: 0.8.1-incubating basics Assertion failed: all.offset =3D=3D 2 ERROR Exception raised: [object Object] Backtrace: undefined 1132ms conflicts PASS 1055ms recreate_doc PASS 4448ms copy_move_doc Assertion failed: xhr.status =3D=3D 201 ERROR Exception raised: TypeError: db.open("doc_that_was_copied") has no properti= es Backtrace: ()@-:2242 runTestConsole((function (debug) {var db =3D new CouchDB("test_suite_db");db.deleteDb();db.createDb();if (debug) {debugger;}T(db.save({_id:"doc_to_be_copied", v:1}).ok, "db.save({_id:\"doc_to_be_copied\", v:1}).ok");var xhr =3D CouchDB.request("COPY", "/test_suite_db/doc_to_be_copied", {headers:{Destination:"doc_that_was_copied"}});T(xhr.status =3D=3D 201, "xhr.status =3D=3D 201");T(db.open("doc_that_was_copied").v =3D=3D 1, "db.open(\"doc_that_was_copied\").v =3D=3D 1");var xhr =3D CouchDB.request("MOVE", "/test_suite_db/doc_to_be_copied", {headers:{Destination:"doc_that_was_moved"}});T(xhr.status =3D=3D 400, "xhr.status =3D=3D 400");var rev =3D db.open("doc_to_be_copied")._rev;var xhr =3D CouchDB.request("MOVE", "/test_suite_db/doc_to_be_copied?rev=3D" + rev, {headers:{Destination:"doc_that_was_moved"}});T(xhr.status =3D=3D 201, "xhr.status =3D=3D 201");T(db.open("doc_that_was_moved").v =3D=3D 1, "db.open(\"doc_that_was_moved\").v =3D=3D 1");T(db.open("doc_to_be_copied") =3D=3D null, "db.open(\"doc_to_be_copied\") =3D=3D null");T(db.save({_id:"doc_to_be_copied", v:1}).ok, "db.save({_id:\"doc_to_be_copied\", v:1}).ok");var doc =3D db.save({_id:"doc_to_be_overwritten", v:2});T(doc.ok, "doc.ok");var xhr =3D CouchDB.request("COPY", "/test_suite_db/doc_to_be_copied", {headers:{Destination:"doc_to_be_overwritten"}});T(xhr.status =3D=3D 412, "xhr.status =3D=3D 412");var rev =3D db.open("doc_to_be_overwritten")._rev;var xhr =3D CouchDB.request("COPY", "/test_suite_db/doc_to_be_copied", {headers:{Destination:"doc_to_be_overwritten?rev=3D" + rev}});T(xhr.status =3D=3D 201, "xhr.status =3D=3D 201");var over =3D db.open("doc_to_be_overwritten");T(rev !=3D over._rev, "rev !=3D over._rev");T(over.v =3D=3D 1, "over.v =3D=3D 1");}),false)@-:2601 runAllTestsConsole()@-:2591 @-:2629 250ms uuids Assertion failed: xhr.status =3D=3D 200 ERROR Exception raised: TypeError: result.uuids has no properties Backtrace: ()@-:2242 runTestConsole((function (debug) {var db =3D new CouchDB("test_suite_db");db.deleteDb();db.createDb();if (debug) {debugger;}var xhr =3D CouchDB.request("POST", "/_uuids");T(xhr.status =3D=3D 200, "xhr.status =3D=3D 200");var result =3D JSON.parse(xhr.responseText);T(result.uuids.length =3D=3D 1, "result.uuids.length =3D=3D 1");var first =3D result.uuids[0];xhr =3D CouchDB.request("POST", "/_uuids?count=3D1");T(xhr.status =3D=3D 200, "xhr.status =3D=3D 200");result =3D JSON.parse(xhr.responseText);T(result.uuids.length =3D=3D 1, "result.uuids.length =3D=3D 1");var second =3D result.uuids[0];T(first !=3D second, "first !=3D second");xhr =3D CouchDB.request("POST", "/_uuids?count=3D1000");T(xhr.status =3D=3D 200, "xhr.status =3D=3D 200");r= esult =3D JSON.parse(xhr.responseText);T(result.uuids.length =3D=3D 1000, "result.uuids.length =3D=3D 1000");var seen =3D {};for (var i in result.uuids) {var id =3D result.uuids[i];T(seen[id] =3D=3D=3D undefined, "seen[id] =3D=3D=3D undefined");seen[id] =3D 1;}}),false)@-:2601 runAllTestsConsole()@-:2591 @-:2629 23ms bulk_docs ERROR Exception raised: [object Object] Backtrace: undefined 25ms lots_of_docs ERROR Exception raised: [object Object] Backtrace: undefined 32ms reduce ERROR Exception raised: [object Object] Backtrace: undefined 117ms reduce_false ERROR Exception raised: [object Object] Backtrace: undefined 18ms multiple_rows PASS 913ms large_docs ERROR Exception raised: [object Object] Backtrace: undefined 16ms utf8 We skip the utf8 test because it fails due to problems in couch_js.c Run the in-browser tests to verify utf8. attachments