Skip to content

"Webapp/Can_create_and_authenticate_and_delete_user_via_API?" test produces couch conflict error

i started the test at 16:45:59 UTC on elephant:

root@elephant:/srv/leap/tests/white-box# date && /srv/leap/bin/run_tests --test Webapp/Can_create_and_authenticate_and_delete_user_via_API?
Thu Nov 27 16:45:59 UTC 2014
PASS: Webapp > Can create and authenticate and delete user via API?
1 tests: 1 passes, 0 skips, 0 warnings, 0 failures, 0 errors

logwatch on chameleon logs these errors in /var/lib/check_mk/logwatch/clam.dev.bitmask.i/\opt\bigcouch\var\log\bigcouch.log:

<<<2014-11-27 16:46:21 CRIT>>>
C [Thu, 27 Nov 2014 16:46:05 GMT] [error] [emulator] [--------] Error in process <0.24071.129> on node 'bigcouch@clam.dev.bitmask.net' with exit value: { {nocatch,conflict},[{fabric,update_doc,3,[{file,"src/fabric.erl"},{line,186}]},{chttpd_db,'-update_doc/6-fun-0-',3,[{file,"src/chttpd_db.erl"},{line,786}]}]}

from clam:/var/log/syslog:

Nov 27 16:45:59 clam tapicero[20158]: Creating database user-15698f44cc883656424cfc1690ea4900 failed due to: RestClient::PreconditionFailed: 412 Precondition Failed
Nov 27 16:46:05 clam tapicero[20158]: Uploading design doc to user-15698f44cc883656424cfc1690ea4900 failed due to: RestClient::Conflict: 409 Conflict
Nov 27 16:46:10 clam tapicero[20158]: Uploading design doc to user-15698f44cc883656424cfc1690ea4900 failed twice due to: RestClient::ResourceNotFound: 404 Resource Not Found: {"error":"not_found","reason":"Database does not exist."}
Nov 27 16:46:10 clam tapicero[20158]: Uploading design doc to user-15698f44cc883656424cfc1690ea4900 failed due to: RestClient::ResourceNotFound: 404 Resource Not Found: {"error":"not_found","reason":"Database does not exist."}
Nov 27 16:46:15 clam tapicero[20158]: Uploading design doc to user-15698f44cc883656424cfc1690ea4900 failed twice due to: RestClient::ResourceNotFound: 404 Resource Not Found: {"error":"not_found","reason":"Database does not exist."}
Nov 27 16:46:15 clam tapicero[20158]: Uploading design doc to user-15698f44cc883656424cfc1690ea4900 failed due to: RestClient::ResourceNotFound: 404 Resource Not Found: {"error":"not_found","reason":"Database does not exist."}
Nov 27 16:46:20 clam kernel: [87742.210343] dm_mod: Unknown symbol dm_kobject_release (err 0)
Nov 27 16:46:20 clam tapicero[20158]: Uploading design doc to user-15698f44cc883656424cfc1690ea4900 failed twice due to: RestClient::ResourceNotFound: 404 Resource Not Found: {"error":"not_found","reason":"Database does not exist."}
Nov 27 16:46:20 clam tapicero[20158]: Prepared storage user-15698f44cc883656424cfc1690ea4900

from clam:/opt/bigcouch/var/log/bigcouch.log:

[Thu, 27 Nov 2014 16:45:59 GMT] [info] [<0.23692.129>] [3a8f9a98] undefined - - 'GET' /identities/_design/Identity/_view/by_address_and_destination?key=%5B%22test_user_iyrgwbqckcmhq%40dev.bitmask.net%22%2C%22test_user_iyrgwbqckcmhq%40dev.bitmask.net%22%5D&limit=1&include_docs=true&reduce=false 200
[Thu, 27 Nov 2014 16:45:59 GMT] [info] [<0.23692.129>] [3a8f9a98] 127.0.0.1 localhost:4096 GET /identities/_design/Identity/_view/by_address_and_destination?key=%5B%22test_user_iyrgwbqckcmhq%40dev.bitmask.net%22%2C%22test_user_iyrgwbqckcmhq%40dev.bitmask.net%22%5D&limit=1&include_docs=true&reduce=false 200 ok 17
[Thu, 27 Nov 2014 16:45:59 GMT] [info] [<0.23693.129>] [a1120263] undefined - - 'GET' /user-15698f44cc883656424cfc1690ea4900 404
[Thu, 27 Nov 2014 16:45:59 GMT] [info] [<0.23693.129>] [a1120263] 127.0.0.1 localhost:5984 GET /user-15698f44cc883656424cfc1690ea4900 404 ok 3
[Thu, 27 Nov 2014 16:45:59 GMT] [info] [<0.23694.129>] [1c83ab1a] undefined - - 'PUT' /user-15698f44cc883656424cfc1690ea4900 412
[Thu, 27 Nov 2014 16:45:59 GMT] [info] [<0.23694.129>] [1c83ab1a] 127.0.0.1 localhost:5984 PUT /user-15698f44cc883656424cfc1690ea4900 412 ok 52
[Thu, 27 Nov 2014 16:45:59 GMT] [info] [<0.23708.129>] [ef0f852b] undefined - - 'GET' /identities/_design/Identity/_view/by_address?key=%22test_user_iyrgwbqckcmhq%40dev.bitmask.net%22&include_docs=true&reduce=false 200
[Thu, 27 Nov 2014 16:45:59 GMT] [info] [<0.23708.129>] [ef0f852b] 127.0.0.1 localhost:4096 GET /identities/_design/Identity/_view/by_address?key=%22test_user_iyrgwbqckcmhq%40dev.bitmask.net%22&include_docs=true&reduce=false 200 ok 50
[Thu, 27 Nov 2014 16:45:59 GMT] [info] [<0.23709.129>] [77a0fff8] undefined - - 'GET' /users/_design/User/_view/by_login?key=%22test_user_iyrgwbqckcmhq%22&limit=2&include_docs=false&reduce=false 200
[Thu, 27 Nov 2014 16:46:00 GMT] [info] [<0.23709.129>] [77a0fff8] 127.0.0.1 localhost:4096 GET /users/_design/User/_view/by_login?key=%22test_user_iyrgwbqckcmhq%22&limit=2&include_docs=false&reduce=false 200 ok 17
[Thu, 27 Nov 2014 16:46:00 GMT] [info] [<0.23710.129>] [0a05fba8] undefined - - 'GET' /users/_design/User/_view/by_login?key=%22test_user_iyrgwbqckcmhq%22&limit=1&include_docs=true&reduce=false 200
[Thu, 27 Nov 2014 16:46:00 GMT] [info] [<0.23710.129>] [0a05fba8] 127.0.0.1 localhost:4096 GET /users/_design/User/_view/by_login?key=%22test_user_iyrgwbqckcmhq%22&limit=1&include_docs=true&reduce=false 200 ok 10
[Thu, 27 Nov 2014 16:46:00 GMT] [info] [<0.23711.129>] [d0fad005] undefined - - 'PUT' /sessions/1848067513d574cf8c3483fa9f445536 201
[Thu, 27 Nov 2014 16:46:00 GMT] [info] [<0.23711.129>] [d0fad005] 127.0.0.1 localhost:4096 PUT /sessions/1848067513d574cf8c3483fa9f445536 201 ok 10
[Thu, 27 Nov 2014 16:46:00 GMT] [info] [<0.23712.129>] [29336b6c] undefined - - 'GET' /users/_design/User/_view/by_login?key=%22test_user_iyrgwbqckcmhq%22&limit=1&include_docs=true&reduce=false 200
[Thu, 27 Nov 2014 16:46:00 GMT] [info] [<0.23712.129>] [29336b6c] 127.0.0.1 localhost:4096 GET /users/_design/User/_view/by_login?key=%22test_user_iyrgwbqckcmhq%22&limit=1&include_docs=true&reduce=false 200 ok 10
[Thu, 27 Nov 2014 16:46:00 GMT] [info] [<0.23713.129>] [e8ae99eb] undefined - - 'PUT' /sessions/075c907737d365eb200ebbad2e4cf9fd 201
[Thu, 27 Nov 2014 16:46:00 GMT] [info] [<0.23713.129>] [e8ae99eb] 127.0.0.1 localhost:4096 PUT /sessions/075c907737d365eb200ebbad2e4cf9fd 201 ok 9
[Thu, 27 Nov 2014 16:46:00 GMT] [info] [<0.23714.129>] [d443b770] undefined - - 'GET' /users/15698f44cc883656424cfc1690ea4900 200
[Thu, 27 Nov 2014 16:46:00 GMT] [info] [<0.23714.129>] [d443b770] 127.0.0.1 localhost:4096 GET /users/15698f44cc883656424cfc1690ea4900 200 ok 5
[Thu, 27 Nov 2014 16:46:00 GMT] [info] [<0.23715.129>] [c1f409a5] undefined - - 'GET' /tickets/_design/Ticket/_view/by_created_by?key=%2215698f44cc883656424cfc1690ea4900%22&include_docs=true&reduce=false 200
[Thu, 27 Nov 2014 16:46:00 GMT] [info] [<0.23715.129>] [c1f409a5] 127.0.0.1 localhost:4096 GET /tickets/_design/Ticket/_view/by_created_by?key=%2215698f44cc883656424cfc1690ea4900%22&include_docs=true&reduce=false 200 ok 9
[Thu, 27 Nov 2014 16:46:00 GMT] [info] [<0.23716.129>] [9d47320e] undefined - - 'GET' /identities/_design/Identity/_view/by_address_and_destination?key=%5B%22test_user_iyrgwbqckcmhq%40dev.bitmask.net%22%2Cnull%5D&limit=2&include_docs=false&reduce=false 200
[Thu, 27 Nov 2014 16:46:00 GMT] [info] [<0.23716.129>] [9d47320e] 127.0.0.1 localhost:4096 GET /identities/_design/Identity/_view/by_address_and_destination?key=%5B%22test_user_iyrgwbqckcmhq%40dev.bitmask.net%22%2Cnull%5D&limit=2&include_docs=false&reduce=false 200 ok 14
[Thu, 27 Nov 2014 16:46:00 GMT] [info] [<0.23717.129>] [26b76089] undefined - - 'DELETE' /users/15698f44cc883656424cfc1690ea4900?rev=1-e1ec0e15a60163dfce465a141418ccac 200
[Thu, 27 Nov 2014 16:46:00 GMT] [info] [<0.23717.129>] [26b76089] 127.0.0.1 localhost:4096 DELETE /users/15698f44cc883656424cfc1690ea4900?rev=1-e1ec0e15a60163dfce465a141418ccac 200 ok 13
[Thu, 27 Nov 2014 16:46:04 GMT] [info] [<0.23972.129>] [27f191b7] undefined - - 'GET' /user-15698f44cc883656424cfc1690ea4900 200
[Thu, 27 Nov 2014 16:46:04 GMT] [info] [<0.23972.129>] [27f191b7] 127.0.0.1 localhost:5984 GET /user-15698f44cc883656424cfc1690ea4900 200 ok 7
[Thu, 27 Nov 2014 16:46:04 GMT] [info] [<0.23973.129>] [0071dba6] undefined - - 'GET' /user-15698f44cc883656424cfc1690ea4900/_security 200
[Thu, 27 Nov 2014 16:46:04 GMT] [info] [<0.23973.129>] [0071dba6] 127.0.0.1 localhost:5984 GET /user-15698f44cc883656424cfc1690ea4900/_security 200 ok 2
[Thu, 27 Nov 2014 16:46:05 GMT] [info] [<0.23974.129>] [e79f8e04] undefined - - 'PUT' /user-15698f44cc883656424cfc1690ea4900/_security 200
[Thu, 27 Nov 2014 16:46:05 GMT] [info] [<0.23974.129>] [e79f8e04] 127.0.0.1 localhost:5984 PUT /user-15698f44cc883656424cfc1690ea4900/_security 200 ok 93
[Thu, 27 Nov 2014 16:46:05 GMT] [info] [<0.23975.129>] [844ff10b] undefined - - 'GET' /user-15698f44cc883656424cfc1690ea4900/_design/transactions 404
[Thu, 27 Nov 2014 16:46:05 GMT] [info] [<0.23975.129>] [844ff10b] 127.0.0.1 localhost:5984 GET /user-15698f44cc883656424cfc1690ea4900/_design/transactions 404 ok 10
[Thu, 27 Nov 2014 16:46:05 GMT] [error] [emulator] [--------] Error in process <0.24071.129> on node 'bigcouch@clam.dev.bitmask.net' with exit value: { {nocatch,conflict},[{fabric,update_doc,3,[{file,"src/fabric.erl"},{line,186}]},{chttpd_db,'-update_doc/6-fun-0-',3,[{file,"src/chttpd_db.erl"},{line,786}]}]}
[Thu, 27 Nov 2014 16:46:05 GMT] [info] [<0.23980.129>] [87cf4da2] undefined - - 'PUT' /user-15698f44cc883656424cfc1690ea4900/_design/transactions 409
[Thu, 27 Nov 2014 16:46:05 GMT] [info] [<0.23980.129>] [87cf4da2] 127.0.0.1 localhost:5984 PUT /user-15698f44cc883656424cfc1690ea4900/_design/transactions 409 ok 63
[Thu, 27 Nov 2014 16:46:05 GMT] [info] [<0.6710.117>] [--------] db shards/a0000000-bfffffff/user-15698f44cc883656424cfc1690ea4900.1417106759 died with reason killed
[Thu, 27 Nov 2014 16:46:10 GMT] [info] [<0.24517.129>] [fd262930] undefined - - 'GET' /user-15698f44cc883656424cfc1690ea4900/_design/transactions 404
[Thu, 27 Nov 2014 16:46:10 GMT] [info] [<0.24517.129>] [fd262930] 127.0.0.1 localhost:5984 GET /user-15698f44cc883656424cfc1690ea4900/_design/transactions 404 ok 3
[Thu, 27 Nov 2014 16:46:10 GMT] [info] [<0.24518.129>] [22e0025f] undefined - - 'PUT' /user-15698f44cc883656424cfc1690ea4900/_design/transactions 404
[Thu, 27 Nov 2014 16:46:10 GMT] [info] [<0.24518.129>] [22e0025f] 127.0.0.1 localhost:5984 PUT /user-15698f44cc883656424cfc1690ea4900/_design/transactions 404 ok 3
[Thu, 27 Nov 2014 16:46:10 GMT] [info] [<0.24521.129>] [c66ab338] undefined - - 'GET' /user-15698f44cc883656424cfc1690ea4900/_design/docs 404
[Thu, 27 Nov 2014 16:46:10 GMT] [info] [<0.24521.129>] [c66ab338] 127.0.0.1 localhost:5984 GET /user-15698f44cc883656424cfc1690ea4900/_design/docs 404 ok 2
[Thu, 27 Nov 2014 16:46:10 GMT] [info] [<0.24523.129>] [4a405043] undefined - - 'PUT' /user-15698f44cc883656424cfc1690ea4900/_design/docs 404
[Thu, 27 Nov 2014 16:46:10 GMT] [info] [<0.24523.129>] [4a405043] 127.0.0.1 localhost:5984 PUT /user-15698f44cc883656424cfc1690ea4900/_design/docs 404 ok 2
[Thu, 27 Nov 2014 16:46:15 GMT] [info] [<0.24619.129>] [e4a422d7] undefined - - 'GET' /user-15698f44cc883656424cfc1690ea4900/_design/docs 404
[Thu, 27 Nov 2014 16:46:15 GMT] [info] [<0.24619.129>] [e4a422d7] 127.0.0.1 localhost:5984 GET /user-15698f44cc883656424cfc1690ea4900/_design/docs 404 ok 3
[Thu, 27 Nov 2014 16:46:15 GMT] [info] [<0.24620.129>] [69a75b68] undefined - - 'PUT' /user-15698f44cc883656424cfc1690ea4900/_design/docs 404
[Thu, 27 Nov 2014 16:46:15 GMT] [info] [<0.24620.129>] [69a75b68] 127.0.0.1 localhost:5984 PUT /user-15698f44cc883656424cfc1690ea4900/_design/docs 404 ok 3
[Thu, 27 Nov 2014 16:46:15 GMT] [info] [<0.24621.129>] [30466c3b] undefined - - 'GET' /user-15698f44cc883656424cfc1690ea4900/_design/syncs 404
[Thu, 27 Nov 2014 16:46:15 GMT] [info] [<0.24621.129>] [30466c3b] 127.0.0.1 localhost:5984 GET /user-15698f44cc883656424cfc1690ea4900/_design/syncs 404 ok 3
[Thu, 27 Nov 2014 16:46:15 GMT] [info] [<0.24626.129>] [c6c1aecf] undefined - - 'PUT' /user-15698f44cc883656424cfc1690ea4900/_design/syncs 404
[Thu, 27 Nov 2014 16:46:15 GMT] [info] [<0.24626.129>] [c6c1aecf] 127.0.0.1 localhost:5984 PUT /user-15698f44cc883656424cfc1690ea4900/_design/syncs 404 ok 2
[Thu, 27 Nov 2014 16:46:20 GMT] [info] [<0.24705.129>] [d3e4480b] undefined - - 'GET' /user-15698f44cc883656424cfc1690ea4900/_design/syncs 404
[Thu, 27 Nov 2014 16:46:20 GMT] [info] [<0.24705.129>] [d3e4480b] 127.0.0.1 localhost:5984 GET /user-15698f44cc883656424cfc1690ea4900/_design/syncs 404 ok 1
[Thu, 27 Nov 2014 16:46:20 GMT] [info] [<0.24706.129>] [f435cbfc] undefined - - 'PUT' /user-15698f44cc883656424cfc1690ea4900/_design/syncs 404
[Thu, 27 Nov 2014 16:46:20 GMT] [info] [<0.24706.129>] [f435cbfc] 127.0.0.1 localhost:5984 PUT /user-15698f44cc883656424cfc1690ea4900/_design/syncs 404 ok 1
[Thu, 27 Nov 2014 16:46:20 GMT] [info] [<0.24707.129>] [013c1706] undefined - - 'DELETE' /user-15698f44cc883656424cfc1690ea4900 404
[Thu, 27 Nov 2014 16:46:20 GMT] [info] [<0.24707.129>] [013c1706] 127.0.0.1 localhost:5984 DELETE /user-15698f44cc883656424cfc1690ea4900 404 ok 1

(from redmine: created on 2014-11-27, closed on 2014-12-03, relates #5238 (closed), relates #4911 (closed), relates #5068, relates #6480 (closed), relates #6481 (closed), relates #6488 (closed), blocks #6439 (closed))