couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Filipe David Manana <fdman...@apache.org>
Subject Re: Issues blocking 1.2.0 release
Date Sun, 22 Jan 2012 18:01:01 GMT
Noah, does it fail occasionally or every time for you?

I'm assuming you're with a slow machine or the machine is a bit overloaded.
Can you try with the following patch?

diff --git a/test/etap/242-replication-many-leaves.t
b/test/etap/242-replication-many-leaves.t
index d8d3eb9..ad9d180 100755
--- a/test/etap/242-replication-many-leaves.t
+++ b/test/etap/242-replication-many-leaves.t
@@ -77,6 +77,7 @@ test() ->
     couch_server_sup:start_link(test_util:config_files()),
     ibrowse:start(),
     crypto:start(),
+    couch_config:set("replicator", "worker_processes", "1", false),

     Pairs = [
         {source_db_name(), target_db_name()},



On Sun, Jan 22, 2012 at 5:41 PM, Noah Slater <nslater@tumbolia.org> wrote:
> Hello,
>
> The following test fails:
>
> ./test/etap/run test/etap/242-replication-many-leaves.t
>
>
> Log is:
>
> ok 38  - Document revisions updated with 2 attachments
> # Triggering replication again
> [info] [<0.3567.0>] 127.0.0.1 - - HEAD /couch_test_rep_db_b/ 200
> [info] [<0.3567.0>] 127.0.0.1 - - GET /couch_test_rep_db_b/ 200
> [info] [<0.3567.0>] 127.0.0.1 - - GET
> /couch_test_rep_db_b/_local/4296cc7705ed9d0c0cf63593b42a10b7 200
> [info] [<0.6460.0>] Replication `"4296cc7705ed9d0c0cf63593b42a10b7"` is
> using:
> 4 worker processes
> a worker batch size of 500
> 20 HTTP connections
> a connection timeout of 30000 milliseconds
> 10 retries per request
> socket options are: [{keepalive,true},{nodelay,false}]
> source start sequence 6
> [info] [<0.2.0>] starting new replication
> `4296cc7705ed9d0c0cf63593b42a10b7` at <0.6460.0> (`couch_test_rep_db_a` -> `
> http://127.0.0.1:53314/couch_test_rep_db_b/`)
> [info] [<0.3573.0>] 127.0.0.1 - - POST /couch_test_rep_db_b/_revs_diff 200
> [info] [<0.3569.0>] 127.0.0.1 - - POST /couch_test_rep_db_b/_revs_diff 200
> [info] [<0.3573.0>] 127.0.0.1 - - POST /couch_test_rep_db_b/_bulk_docs 201
> [info] [<0.3567.0>] 127.0.0.1 - - POST /couch_test_rep_db_b/_revs_diff 200
> [info] [<0.3567.0>] 127.0.0.1 - - POST /couch_test_rep_db_b/_bulk_docs 201
> [info] [<0.6468.0>] Retrying POST request to
> http://127.0.0.1:53314/couch_test_rep_db_b/_bulk_docs in 0.25 seconds due
> to error req_timedout
> [info] [<0.3573.0>] 127.0.0.1 - - POST /couch_test_rep_db_b/_bulk_docs 201
> [info] [<0.6468.0>] Retrying POST request to
> http://127.0.0.1:53314/couch_test_rep_db_b/_bulk_docs in 0.5 seconds due to
> error req_timedout
> [info] [<0.3568.0>] 127.0.0.1 - - POST /couch_test_rep_db_b/_bulk_docs 201
> [info] [<0.6468.0>] Retrying POST request to
> http://127.0.0.1:53314/couch_test_rep_db_b/_bulk_docs in 1.0 seconds due to
> error req_timedout
> [info] [<0.3571.0>] 127.0.0.1 - - POST /couch_test_rep_db_b/_bulk_docs 201
> [info] [<0.6468.0>] Retrying POST request to
> http://127.0.0.1:53314/couch_test_rep_db_b/_bulk_docs in 2.0 seconds due to
> error req_timedout
> [info] [<0.6463.0>] 127.0.0.1 - - POST /couch_test_rep_db_b/_bulk_docs 201
> [info] [<0.6468.0>] Retrying POST request to
> http://127.0.0.1:53314/couch_test_rep_db_b/_bulk_docs in 4.0 seconds due to
> error req_timedout
> [info] [<0.8537.0>] 127.0.0.1 - - POST /couch_test_rep_db_b/_bulk_docs 201
> [info] [<0.6468.0>] Retrying POST request to
> http://127.0.0.1:53314/couch_test_rep_db_b/_bulk_docs in 8.0 seconds due to
> error req_timedout
> [info] [<0.9151.0>] 127.0.0.1 - - POST /couch_test_rep_db_b/_bulk_docs 201
> [info] [<0.6468.0>] Retrying POST request to
> http://127.0.0.1:53314/couch_test_rep_db_b/_bulk_docs in 16.0 seconds due
> to error req_timedout
> [info] [<0.9768.0>] 127.0.0.1 - - POST /couch_test_rep_db_b/_bulk_docs 201
> [info] [<0.6468.0>] Retrying POST request to
> http://127.0.0.1:53314/couch_test_rep_db_b/_bulk_docs in 32.0 seconds due
> to error req_timedout
> [info] [<0.10390.0>] 127.0.0.1 - - POST /couch_test_rep_db_b/_bulk_docs 201
> Bail out! Timeout waiting for replication to finish
> escript: exception error: bad argument
>  in function  etap:diag/1
>  in call from erl_eval:do_apply/5
>  in call from erl_eval:exprs/5
>  in call from escript:eval_exprs/5
>  in call from erl_eval:local_func/5
>  in call from escript:interpret/4
>  in call from escript:start/1
>  in call from init:start_it/1
>
>
> Please advise.
>
> Thanks,
>
> N



-- 
Filipe David Manana,

"Reasonable men adapt themselves to the world.
 Unreasonable men adapt the world to themselves.
 That's why all progress depends on unreasonable men."

Mime
View raw message