incubator-couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benoit Chesneau (JIRA)" <j...@apache.org>
Subject [jira] Updated: (COUCHDB-524) make check should not use the default CouchDB port when starting its server
Date Tue, 03 Nov 2009 04:46:59 GMT

     [ https://issues.apache.org/jira/browse/COUCHDB-524?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Benoit Chesneau updated COUCHDB-524:
------------------------------------

    Attachment: couchdb-src_couch_server.erl.patch

Here is a patch that return current port on whitch couchdb is listening. So for example, starting
couchdb with command :

env ERL_FLAGS="-name couchdb@enlil.local" ./utils/run -b

allow us to get port from shell with this other command:

erl -noshell -name test@enlil.local -pa src/couchdb -pa src/mochiweb -pa src/ibrowse -pa src/erlang-oauth
-eval "error_logger:tty(false), io:format(\"~p~n\",[rpc:call(couchdb@enlil.local, couch_server,
get_port, [])])" -run init stop


> make check should not use the default CouchDB port when starting its server
> ---------------------------------------------------------------------------
>
>                 Key: COUCHDB-524
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-524
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Test Suite
>    Affects Versions: 0.10
>         Environment: Erlang R13B02 (erts-5.7.3) [source] [64-bit] [smp:2:2] [rq:2]
> [async-threads:0] [hipe] [kernel-poll:false]
> FreeBSD node0.couchdbhub.com 7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #0:
> Wed Jun 24 00:14:35 UTC 2009     root@amd64-builder.da
> emonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
> Erlang R13B01 (erts-5.7.2) [source] [64-bit] [smp:2:2] [rq:2]
> [async-threads:0] [kernel-poll:false]
> Darwin enlil-2.local 10.0.0 Darwin Kernel Version 10.0.0: Fri Jul 31
> 22:47:34 PDT 2009; root:xnu-1456.1.25~1/RELEASE_I386 i386
>            Reporter: Benoit Chesneau
>         Attachments: couchdb-src_couch_server.erl.patch
>
>
> make check fails. https tests are ok. Here are trace of tests :
> * freebsd :
> est/etap/070-couch-db....................
> Crash dump was written to: erl_crash.dump
> init terminating in do_boot (killed)
> test/etap/070-couch-db....................dubious
>        Test returned status 1 (wstat 256, 0x100)
> DIED. FAILED tests 1-4
>        Failed 4/4 tests, 0.00% okay
> test/etap/080-config-get-set..............ok
> test/etap/081-config-override.............ok
> test/etap/082-config-register.............ok
> test/etap/083-config-no-files.............ok
> test/etap/090-task-status.................ok
> test/etap/100-ref-counter.................ok
> test/etap/110-replication-httpc...........
> Crash dump was written to: erl_crash.dump
> init terminating in do_boot (killed)
> test/etap/110-replication-httpc...........dubious
>        Test returned status 1 (wstat 256, 0x100)
> DIED. FAILED tests 1-6
>        Failed 6/6 tests, 0.00% okay
> test/etap/111-replication-changes-feed....
> Crash dump was written to: erl_crash.dump
> init terminating in do_boot (killed)
> test/etap/111-replication-changes-feed....dubious
>        Test returned status 1 (wstat 256, 0x100)
> DIED. FAILED tests 1-13
>        Failed 13/13 tests, 0.00% okay
> test/etap/112-replication-missing-revs....
> Crash dump was written to: erl_crash.dump
> init terminating in do_boot (killed)
> test/etap/112-replication-missing-revs....dubious
>        Test returned status 1 (wstat 256, 0x100)
> DIED. FAILED tests 1-12
>        Failed 12/12 tests, 0.00% okay
> Failed Test                              Stat Wstat Total Fail  List of Failed
> -------------------------------------------------------------------------------
> test/etap/070-couch-db.t                    1   256     4    8  1-4
> test/etap/110-replication-httpc.t           1   256     6   12  1-6
> test/etap/111-replication-changes-feed.t    1   256    13   26  1-13
> test/etap/112-replication-missing-revs.t    1   256    12   24  1-12
> Failed 4/25 test scripts. 35/331 subtests failed.
> Files=25, Tests=331, 20 wallclock secs (16.91 cusr +  2.88 csys = 19.79 CPU)
> Failed 4/25 test programs. 35/331 subtests failed.
> * macosx
> test/etap/001-load........................ok
> test/etap/010-file-basics.................ok
> test/etap/011-file-headers................ok
> test/etap/020-btree-basics................ok
> test/etap/021-btree-reductions............ok
> test/etap/030-doc-from-json...............ok
> test/etap/031-doc-to-json.................ok
> test/etap/040-util........................ok
> test/etap/050-stream......................ok
> test/etap/060-kt-merging..................ok
> test/etap/061-kt-missing-leaves...........ok
> test/etap/062-kt-remove-leaves............ok
> test/etap/063-kt-get-leaves...............ok
> test/etap/064-kt-counting.................ok
> test/etap/065-kt-stemming.................ok
> test/etap/070-couch-db....................
> Crash dump was written to: erl_crash.dump
> init terminating in do_boot (killed)
> test/etap/070-couch-db....................dubious
>       Test returned status 1 (wstat 256, 0x100)
> DIED. FAILED tests 1-4
>       Failed 4/4 tests, 0.00% okay
> test/etap/080-config-get-set..............ok
> test/etap/081-config-override.............ok
> test/etap/082-config-register.............ok
> test/etap/083-config-no-files.............ok
> test/etap/090-task-status.................ok
> test/etap/100-ref-counter.................ok
> test/etap/110-replication-httpc...........
> Crash dump was written to: erl_crash.dump
> init terminating in do_boot (killed)
> test/etap/110-replication-httpc...........dubious
>       Test returned status 1 (wstat 256, 0x100)
> DIED. FAILED tests 1-6
>       Failed 6/6 tests, 0.00% okay
> test/etap/111-replication-changes-feed....
> Crash dump was written to: erl_crash.dump
> init terminating in do_boot (killed)
> test/etap/111-replication-changes-feed....dubious
>       Test returned status 1 (wstat 256, 0x100)
> DIED. FAILED tests 1-13
>       Failed 13/13 tests, 0.00% okay
> test/etap/112-replication-missing-revs....
> Crash dump was written to: erl_crash.dump
> init terminating in do_boot (killed)
> test/etap/112-replication-missing-revs....dubious
>       Test returned status 1 (wstat 256, 0x100)
> DIED. FAILED tests 1-12
>       Failed 12/12 tests, 0.00% okay
> Failed Test                              Stat Wstat Total Fail  List of Failed
> -------------------------------------------------------------------------------
> test/etap/070-couch-db.t                    1   256     4    8  1-4
> test/etap/110-replication-httpc.t           1   256     6   12  1-6
> test/etap/111-replication-changes-feed.t    1   256    13   26  1-13
> test/etap/112-replication-missing-revs.t    1   256    12   24  1-12
> Failed 4/25 test scripts. 35/331 subtests failed.
> Files=25, Tests=331, 33 wallclock secs (11.73 cusr +  5.51 csys = 17.24 CPU)
> Failed 4/25 test programs. 35/331 subtests failed.
> make: *** [check] Error 1

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message