You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by gi...@git.apache.org on 2017/07/06 07:52:03 UTC

[GitHub] wohali opened a new issue #649: couch_mrview_changes_since_tests gen_server failing with unknown_info

wohali opened a new issue #649: couch_mrview_changes_since_tests gen_server failing with unknown_info
URL: https://github.com/apache/couchdb/issues/649
 
 
   Possible recurrence of the #548 issue:
   
   https://builds.apache.org/blue/organizations/jenkins/CouchDB/detail/master/57/pipeline/50
   
   ```
   module 'couch_mrview_changes_since_tests'
     changes_since tests
       couch_mrview_changes_since_tests:109: test_basic...ok
       couch_mrview_changes_since_tests:132: test_basic_since...ok
       couch_mrview_changes_since_tests:145: test_basic_count...ok
       couch_mrview_changes_since_tests:154: test_basic_count_since...ok
       undefined
       *** instantiation of subtests failed ***
   **in function gen_server:call/3 (gen_server.erl, line 212)
   in call from couch_mrview_util:get_view_index_state/5 (src/couch_mrview_util.erl, line 83)
   in call from couch_mrview_util:get_view/4 (src/couch_mrview_util.erl, line 45)
   in call from couch_mrview:count_view_changes_since/5 (src/couch_mrview.erl, line 304)
   in call from couch_mrview_changes_since_tests:test_compact/1 (test/couch_mrview_changes_since_tests.erl, line 163)
   **exit:{unknown_info,{gen_server,call,[<0.22793.1>,{get_state,11},infinity]}}
   ```
   
   Searching on `<0.22793.1>` in the couch.log turned up:
   ```
   [info] 2017-07-06T04:37:28.456116Z nonode@nohost <0.22793.1> -------- Opening index for db: eunit-test-db-1499315848442098 idx: _design/bar sig: "7d577d5ace56a11c2e7289f38c77f383"
   [info] 2017-07-06T04:37:28.456384Z nonode@nohost <0.22798.1> -------- Compaction started for db: eunit-test-db-1499315848442098 idx: _design/bar
   [info] 2017-07-06T04:37:28.456583Z nonode@nohost <0.22796.1> -------- Starting index update for db: eunit-test-db-1499315848442098 idx: _design/bar
   [notice] 2017-07-06T04:37:28.461342Z nonode@nohost <0.22793.1> -------- Compaction swap for view /tmp/tmp.VHCxH73tOc/apache-couchdb-2.1.0-858088e/tmp/data/.eunit-test-db-1499315848442098_design/mrview/7d577d5ace56a11c2e7289f38c77f383.view 51 4200
   [info] 2017-07-06T04:37:28.461710Z nonode@nohost <0.22796.1> -------- Restarting index update for db: eunit-test-db-1499315848442098 idx: _design/bar
   [info] 2017-07-06T04:37:28.461894Z nonode@nohost <0.22798.1> -------- Compaction finished for db: eunit-test-db-1499315848442098 idx: _design/bar
   [error] 2017-07-06T04:37:28.462242Z nonode@nohost <0.22796.1> -------- gen_server <0.22796.1> terminated with reason: unknown_info
     last msg: {'EXIT',<0.22799.1>,{updated,<0.22799.1>,{mrst,<<125,87,125,90,206,86,161,28,46,114,137,243,140,119,243,131>>,<0.22795.1>,#Ref<0.0.786433.256464>,<<"eunit-test-db-1499315848442098">>,<<"_design/bar">>,<<"javascript">>,[{<<"seq_indexed">>,true}],true,false,{[]},[{mrview,0,11,0,[<<"baz">>],[],<<"function(doc) {emit(doc.val.toString(), doc.val);}">>,{btree,<0.22795.1>,{363,{10,[]},139},undefined,undefined,#Fun<couch_ejson_compare.less_json_ids.2>,#Fun<couch_mrview_util.17.88980446>,snappy},{btree,<0.22795.1>,{502,10,376},undefined,undefined,undefined,#Fun<couch_db_updater.btree_by_seq_reduce.2>,snappy},nil,true,false,[]}],{btree,<0.22795.1>,{51,[],135},undefined,undefined,undefined,nil,snappy},{btree,<0.22795.1>,{186,[],177},undefined,undefined,undefined,nil,snappy},11,0,undefined,undefined,undefined,undefined,undefined,nil}}}
        state: {st,<0.22793.1>,couch_mrview_index,<0.22807.1>}
   [error] 2017-07-06T04:37:28.462545Z nonode@nohost <0.22796.1> -------- CRASH REPORT Process  (<0.22796.1>) with 2 neighbors exited with reason: unknown_info at gen_server:terminate/7(line:826) <= proc_lib:init_p_do_apply/3(line:240); initial_call: {couch_index_updater,init,['Argument__1']}, ancestors: [<0.22793.1>,<0.22792.1>], messages: [], links: [<0.22793.1>], dictionary: [], trap_exit: true, status: running, heap_size: 1598, stack_size: 27, reductions: 1734
   [error] 2017-07-06T04:37:28.462718Z nonode@nohost <0.22797.1> -------- gen_server <0.22797.1> terminated with reason: unknown_info
     last msg: {'EXIT',<0.22793.1>,unknown_info}
        state: {st,<0.22793.1>,couch_mrview_index,<0.22798.1>}
   [error] 2017-07-06T04:37:28.463037Z nonode@nohost <0.22797.1> -------- CRASH REPORT Process  (<0.22797.1>) with 0 neighbors exited with reason: unknown_info at gen_server:terminate/7(line:826) <= proc_lib:init_p_do_apply/3(line:240); initial_call: {couch_index_compactor,init,['Argument__1']}, ancestors: [<0.22793.1>,<0.22792.1>], messages: [], links: [], dictionary: [], trap_exit: true, status: running, heap_size: 376, stack_size: 27, reductions: 158
   ```
   
   @eiri This feels a lot like what we ran into previously.
   
   /cc @kocolosk @janl @davisp 
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services