Hi all, one some of the continuous integration VMs I get occasional build fails on src/couch_mrview/test/04-index-info.t. It is a bit hard to reproduce, but if I put a lot of CPU & memory load on the host machine via running the couch tests on other VMs and also hit IO hard with a `dd`, I can reproduce this error standalone with this:
while [ $? -eq 0 ]; do test/etap/run -v src/couch_mrview/test/04-index-info.t; done The log then looks like this: Apache CouchDB 0.0.0 (LogLevel=info) is starting. Apache CouchDB has started. Time to relax. [info] [<0.2.0>] Apache CouchDB has started on http://127.0.0.1:62155/ [info] [<0.117.0>] Opening index for db: foo idx: _design/bar sig: "276df562b152b3c4e5d34024f62672ed" [info] [<0.122.0>] Starting index update for db: foo idx: _design/bar [info] [<0.117.0>] Closing index for db: foo idx: _design/bar sig: "276df562b152b3c4e5d34024f62672ed" reason: normal # Test died abnormally: normal [error] [<0.30.0>] {error_report,<0.22.0>, {<0.30.0>,crash_report, [[{initial_call,{etap,start_etap_server,[]}}, {pid,<0.30.0>}, {registered_name,etap_server}, {error_info, {error,badarg, [{io,format, [<0.22.0>,"~s~n", [[66,97,105,108,32,111,117,116,33,32|normal]]], []}, {etap,test_server,1,[{file,"etap.erl"},{line,571}]}, {proc_lib,init_p_do_apply,3, [{file,"proc_lib.erl"},{line,227}]}]}}, {ancestors,[<0.2.0>]}, {messages,[done]}, {links,[]}, {dictionary,[]}, {trap_exit,false}, {status,running}, {heap_size,987}, {stack_size,24}, {reductions,437}], []]}} Failed 9/9 subtests Test Summary Report ------------------- src/couch_mrview/test/04-index-info.t (Wstat: 0 Tests: 0 Failed: 0) Parse errors: Bad plan. You planned 9 tests but ran 0. Files=1, Tests=0, 1 wallclock secs ( 0.04 usr 0.01 sys + 0.35 cusr 0.06 csys = 0.46 CPU) Result: FAIL The actual error is stuck somewhere in etap, and I don’t quite know how to get in there. Any help or ideas for debugging would be appreciated. Thanks! Jan --
