couch_peruser_test:276: should_remove_user_from_db_members...*failed*
in function couch_peruser_test:'-should_remove_user_from_db_members/1-fun-7-'/1 (test/couch_peruser_test.erl, line 276)
**error:{assertion_failed,[{module,couch_peruser_test},
{line,276},
{expression,"not lists : member ( << \"qux\" >> , NewMemberNames )"},
{expected,true},
{value,false}]}
[notice] 2017-07-21T19:56:55.023738Z nonode@nohost <0.27095.3> 2fb94b4598 127.0.0.1:33443 127.0.0.1 admin PUT /eunit-test-db-1500667014924151 201 ok 70
[notice] 2017-07-21T19:56:55.025610Z nonode@nohost <0.26819.3> -------- config: [couch_httpd_auth] authentication_db set to eunit-test-db-1500667014924151 for reason nil
[notice] 2017-07-21T19:56:55.034682Z nonode@nohost <0.30225.3> -------- 127.0.0.1 - - PUT /_config/couch_httpd_auth/authentication_db 200
[notice] 2017-07-21T19:56:55.037392Z nonode@nohost <0.26819.3> -------- config: [couch_peruser] enable set to true for reason nil
[notice] 2017-07-21T19:56:55.039888Z nonode@nohost <0.30227.3> -------- 127.0.0.1 - - PUT /_config/couch_peruser/enable 200
[error] 2017-07-21T19:56:55.044410Z nonode@nohost <0.27095.3> 4d6fbd635a Request to create N=3 DB but only 1 node(s)
[notice] 2017-07-21T19:56:55.094404Z nonode@nohost <0.27095.3> 4d6fbd635a 127.0.0.1:33443 127.0.0.1 admin PUT /userdb-717578 201 ok 53
[notice] 2017-07-21T19:56:55.105922Z nonode@nohost <0.27095.3> b0d6b54447 127.0.0.1:33443 127.0.0.1 admin PUT /userdb-717578/_security 200 ok 9
[notice] 2017-07-21T19:56:55.138388Z nonode@nohost <0.27095.3> ea145cace6 127.0.0.1:33443 127.0.0.1 admin PUT /eunit-test-db-1500667014924151/org.couchdb.user:qux 201 ok 31
[error] 2017-07-21T19:56:56.199052Z nonode@nohost emulator -------- Error in process <0.30466.3> with exit value: {database_does_not_exist,[{mem3_shards,load_shards_from_db,"eunit-test-db-1500666379209097",[{file,"src/mem3_shards.erl"},{line,403}]},{mem3_shards,load_shards_from_disk,1,[{file,"src/mem3_shards.erl"},{line,378}]},{mem3_shards...
[notice] 2017-07-21T19:56:56.199106Z nonode@nohost <0.27111.3> -------- chttpd_auth_cache changes listener died database_does_not_exist at mem3_shards:load_shards_from_db/30(line:403) <= mem3_shards:load_shards_from_disk/1(line:378) <= mem3_shards:load_shards_from_disk/2(line:407) <= mem3_shards:for_docid/3(line:91) <= fabric_doc_open:go/3(line:38) <= chttpd_auth_cache:ensure_auth_ddoc_exists/2(line:187) <= chttpd_auth_cache:listen_for_changes/1(line:134)
[notice] 2017-07-21T19:56:57.142054Z nonode@nohost <0.30461.3> 77721104b9 127.0.0.1:33443 127.0.0.1 admin GET /userdb-717578/_security 200 ok 2
[notice] 2017-07-21T19:56:57.146181Z nonode@nohost <0.30462.3> 486e675271 127.0.0.1:33443 127.0.0.1 admin GET /eunit-test-db-1500667014924151/org.couchdb.user:qux 200 ok 3
[notice] 2017-07-21T19:56:58.101971Z nonode@nohost <0.27095.3> af574f1547 127.0.0.1:33443 127.0.0.1 admin DELETE /eunit-test-db-1500667014924151/org.couchdb.user:qux?rev=1-0f47e2456876aa5f86bd43f443f7b9f7 200 ok 950
[error] 2017-07-21T19:57:01.459893Z nonode@nohost emulator -------- Error in process <0.30602.3> with exit value: {database_does_not_exist,[{mem3_shards,load_shards_from_db,"eunit-test-db-1500666379209097",[{file,"src/mem3_shards.erl"},{line,403}]},{mem3_shards,load_shards_from_disk,1,[{file,"src/mem3_shards.erl"},{line,378}]},{mem3_shards...
[notice] 2017-07-21T19:57:01.460062Z nonode@nohost <0.27111.3> -------- chttpd_auth_cache changes listener died database_does_not_exist at mem3_shards:load_shards_from_db/30(line:403) <= mem3_shards:load_shards_from_disk/1(line:378) <= mem3_shards:load_shards_from_disk/2(line:407) <= mem3_shards:for_docid/3(line:91) <= fabric_doc_open:go/3(line:38) <= chttpd_auth_cache:ensure_auth_ddoc_exists/2(line:187) <= chttpd_auth_cache:listen_for_changes/1(line:134)
[notice] 2017-07-21T19:57:01.462020Z nonode@nohost <0.30539.3> 0ceb56af73 127.0.0.1:33443 127.0.0.1 admin GET /userdb-717578/_security 200 ok 1358
[notice] 2017-07-21T19:57:01.474141Z nonode@nohost <0.26819.3> -------- config: [couch_peruser] enable set to false for reason nil
[notice] 2017-07-21T19:57:01.480819Z nonode@nohost <0.30574.3> -------- 127.0.0.1 - - PUT /_config/couch_peruser/enable 200
[error] 2017-07-21T19:57:01.483244Z nonode@nohost <0.26979.3> -------- Supervisor couch_secondary_services had child couch_peruser started with couch_peruser:start_link() at <0.30259.3> exit with reason killed in context child_terminated
[notice] 2017-07-21T19:57:01.492049Z nonode@nohost <0.26819.3> -------- config: [couch_peruser] delete_dbs set to false for reason nil
[notice] 2017-07-21T19:57:01.494552Z nonode@nohost <0.30575.3> -------- 127.0.0.1 - - PUT /_config/couch_peruser/delete_dbs 200
[notice] 2017-07-21T19:57:01.503197Z nonode@nohost <0.26819.3> -------- config: [couch_httpd_auth] authentication_db set to _users for reason nil
[notice] 2017-07-21T19:57:01.610544Z nonode@nohost <0.30576.3> -------- 127.0.0.1 - - PUT /_config/couch_httpd_auth/authentication_db 200
[notice] 2017-07-21T19:57:01.993786Z nonode@nohost <0.30572.3> 3edf457ee9 127.0.0.1:33443 127.0.0.1 admin DELETE /eunit-test-db-1500667014924151 200 ok 380
[notice] 2017-07-21T19:57:02.000346Z nonode@nohost <0.30214.3> -------- 127.0.0.1 - - DELETE /eunit-test-db-1500667014924151 200
[notice] 2017-07-21T19:57:02.003787Z nonode@nohost <0.30573.3> 1e92d54c38 127.0.0.1:33443 127.0.0.1 admin GET /_all_dbs 200 ok 2
[notice] 2017-07-21T19:57:02.834862Z nonode@nohost <0.27095.3> 9d352fc604 127.0.0.1:33443 127.0.0.1 admin DELETE /userdb-717578 200 ok 831
[notice] 2017-07-21T19:57:02.835207Z nonode@nohost <0.26819.3> -------- config: [admins] admin deleted for reason nil
[info] 2017-07-21T19:57:02.838080Z nonode@nohost <0.7.0> -------- Application chttpd exited with reason: stopped
[info] 2017-07-21T19:57:02.838817Z nonode@nohost <0.7.0> -------- Application fabric exited with reason: stopped
[info] 2017-07-21T19:57:02.839268Z nonode@nohost <0.7.0> -------- Application mem3 exited with reason: stopped
[info] 2017-07-21T19:57:02.840103Z nonode@nohost <0.7.0> -------- Application rexi exited with reason: stopped
[info] 2017-07-21T19:57:02.840593Z nonode@nohost <0.7.0> -------- Application ets_lru exited with reason: stopped
Initial analysis: This test is creating and deleting the same database over and over again. That's likely to cause problems. I'll submit a PR to fix that.
couch.log:
Initial analysis: This test is creating and deleting the same database over and over again. That's likely to cause problems. I'll submit a PR to fix that.