You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Andreas Wenk <a....@netzmeister-st-pauli.de> on 2009/03/29 03:14:26 UTC

errors in Futon test suite

Hi,

I actually installed CouchDB 0.9.0 on a fresh machine. It's a Debian 
Lenny VM on a MAC Leopard. I configured a proxy in Apache2 to reach 
CouchDB on the VM. I had some troubles getting the correct config for 
the copy but the Wiki solved it - nearly.

While running the Test Suite I had a lot of errros - due to the wrong 
Proxy config I guess. After getting the best proxy config, there are 
still errors:

[START]
uuids failure	86ms Assertion failed: currentTime - dateHeader < 3000

attachments failure	254ms Assertion failed: 
xhr.getResponseHeader("Etag") == '"' + save_response.rev + '"'

view_collation -> running to long without result ...have to stop it

replication error 407ms	Exception raised: {"message":"Result of 
expression 'docB' [null] is not an 
object.","line":125,"sourceId":428883856,"expressionBeginOffset":4093,
"expressionCaretOffset":4097,"expressionEndOffset":4102,"name":"TypeError"}

etags_head	failure	545ms	
Assertion failed: xhr.status == 201
Assertion failed: xhr.status == 304
Assertion failed: xhr.status == 200

etags_views	failure	504ms	
Assertion failed: xhr.status == 304
Assertion failed: xhr.status == 304
Assertion failed: xhr.status == 304
Assertion failed: xhr.status == 304

show_documents	failure	292ms	
Assertion failed: "Accept" == xhr.getResponseHeader("Vary")
Assertion failed: xhr.status == 304
Assertion failed: xhr.status == 304
Assertion failed: xhr.status == 304

list_views	failure	586ms	
Assertion failed: xhr.status == 304
Assertion failed: xhr.status == 304

config	failure	50ms	
Assertion failed: config.httpd.port == port

stats error	17ms	
Exception raised: {"error":"unauthorized","reason":"You are not a server 
admin.","line":383,"expressionBeginOffset":12637,"expressionEndOffset":12649,
"sourceId":529909440,"sourceURL":"http://couchdb/_utils/script/couch.js?0.9.0"}

rev_stemming error	13ms	
Exception raised: {"error":"unauthorized","reason":"You are not a server 
admin.","line":383,"expressionBeginOffset":12637,"expressionEndOffset":12649,
"sourceId":529909440,"sourceURL":"http://couchdb/_utils/script/couch.js?0.9.0"}
[END]


Any ideas what causes these errors? By the way - I installed couchapp 
and Sofa. No problems here ...

Thank you and cheers

Andy

-- 
St.Pauli - Hamburg - Germany

Andreas Wenk


Re: errors in Futon test suite

Posted by Andreas Wenk <a....@netzmeister-st-pauli.de>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Andreas Wenk schrieb:
> Hi,
> 
> I actually installed CouchDB 0.9.0 on a fresh machine. It's a Debian
> Lenny VM on a MAC Leopard. I configured a proxy in Apache2 to reach
> CouchDB on the VM. I had some troubles getting the correct config for
> the copy but the Wiki solved it - nearly.
> 
> While running the Test Suite I had a lot of errros - due to the wrong
> Proxy config I guess. After getting the best proxy config, there are
> still errors:
> 
> [START]
> uuids failure    86ms Assertion failed: currentTime - dateHeader < 3000
> 
> attachments failure    254ms Assertion failed:
> xhr.getResponseHeader("Etag") == '"' + save_response.rev + '"'
> 
> view_collation -> running to long without result ...have to stop it
> 
> replication error 407ms    Exception raised: {"message":"Result of
> expression 'docB' [null] is not an
> object.","line":125,"sourceId":428883856,"expressionBeginOffset":4093,
> "expressionCaretOffset":4097,"expressionEndOffset":4102,"name":"TypeError"}
> 
> etags_head    failure    545ms   
> Assertion failed: xhr.status == 201
> Assertion failed: xhr.status == 304
> Assertion failed: xhr.status == 200
> 
> etags_views    failure    504ms   
> Assertion failed: xhr.status == 304
> Assertion failed: xhr.status == 304
> Assertion failed: xhr.status == 304
> Assertion failed: xhr.status == 304
> 
> show_documents    failure    292ms   
> Assertion failed: "Accept" == xhr.getResponseHeader("Vary")
> Assertion failed: xhr.status == 304
> Assertion failed: xhr.status == 304
> Assertion failed: xhr.status == 304
> 
> list_views    failure    586ms   
> Assertion failed: xhr.status == 304
> Assertion failed: xhr.status == 304
> 
> config    failure    50ms   
> Assertion failed: config.httpd.port == port
> 
> stats error    17ms   
> Exception raised: {"error":"unauthorized","reason":"You are not a server
> admin.","line":383,"expressionBeginOffset":12637,"expressionEndOffset":12649,
> 
> "sourceId":529909440,"sourceURL":"http://couchdb/_utils/script/couch.js?0.9.0"}
> 
> 
> rev_stemming error    13ms   
> Exception raised: {"error":"unauthorized","reason":"You are not a server
> admin.","line":383,"expressionBeginOffset":12637,"expressionEndOffset":12649,
> 
> "sourceId":529909440,"sourceURL":"http://couchdb/_utils/script/couch.js?0.9.0"}
> 
> [END]
> 
> 
> Any ideas what causes these errors? By the way - I installed couchapp
> and Sofa. No problems here ...
> 
> Thank you and cheers
> 
> Andy
> 

Actually I setup a nginx 0.7.46 webserver and configured a basic proxy. There are less
errors in the test suite what is really cool ;-). What failed is "replication" and
"security_validation" because of a "gateway timeout". And then "config" failed (Assertion
failed: config.httpd.port == port). I think to get rid of these errors, the nginx conf
must be optimized. Is ther anybody with experience in this?

And for sure I am still interested in an idea why apache made that lot of stress ...

Thanks a lot!

Andy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknSDvwACgkQVa7znmSP9AwPYACfcnxnVSG62tyTO0rZNTOo3Kqq
sycAnjqpY2x0U9F2DdAWM8PA226hGipQ
=kWgL
-----END PGP SIGNATURE-----