[GitHub] wohali opened a new issue #1238: Fix users_db_security.js delete/recreate _users DB
wohali opened a new issue #1238: Fix users_db_security.js delete/recreate _users DB URL: https://github.com/apache/couchdb/issues/1238 We got a random failure in Jenkins related to encryption: https://builds.apache.org/blue/organizations/jenkins/CouchDB/detail/master/223/pipeline Logs at https://couchdb-vm2.apache.org/ci_errorlogs/jenkins-couchdb-223-2018-03-23T23:15:34.663810/couchlog.tar.gz ``` test/javascript/tests/users_db_security.js Error: undefined Trace back (most recent call first): 52: test/javascript/test_setup.js T((void 0)) 35: test/javascript/tests/users_db_security.js ("jchris1") 39: test/javascript/tests/users_db_security.js ([object Object],"org.couchdb.user:fdmanana","jchris1") 168: test/javascript/tests/users_db_security.js ("pbkdf2",(function (derived_key) {TEquals(40, derived_key.length, "de 413: test/javascript/tests/users_db_security.js () 395: test/javascript/couch_test_runner.js run_on_modified_server([object Array],(function () {try {testFun(schem 411: test/javascript/tests/users_db_security.js ("pbkdf2",0,[object Array]) 399: test/javascript/tests/users_db_security.js () 37: test/javascript/cli_runner.js runTest() 48: test/javascript/cli_runner.js ``` @eiri says: > I looked into it and as far as I can see with bcrypt PR API test users_db_security.js was changed to be prune to racing condition - user database [got deleted and re-created](https://github.com/apache/couchdb/blob/master/test/javascript/tests/users_db_security.js#L414), which is known anti-pattern. 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: us...@infra.apache.org With regards, Apache Git Services
[GitHub] wohali opened a new issue #1238: Fix users_db_security.js delete/recreate _users DB
wohali opened a new issue #1238: Fix users_db_security.js delete/recreate _users DB URL: https://github.com/apache/couchdb/issues/1238 We got a random failure in Jenkins related to encryption: https://builds.apache.org/blue/organizations/jenkins/CouchDB/detail/master/223/pipeline Logs at https://couchdb-vm2.apache.org/ci_errorlogs/jenkins-couchdb-223-2018-03-23T23:15:34.663810/couchlog.tar.gz ``` test/javascript/tests/users_db_security.js Error: undefined Trace back (most recent call first): 52: test/javascript/test_setup.js T((void 0)) 35: test/javascript/tests/users_db_security.js ("jchris1") 39: test/javascript/tests/users_db_security.js ([object Object],"org.couchdb.user:fdmanana","jchris1") 168: test/javascript/tests/users_db_security.js ("pbkdf2",(function (derived_key) {TEquals(40, derived_key.length, "de 413: test/javascript/tests/users_db_security.js () 395: test/javascript/couch_test_runner.js run_on_modified_server([object Array],(function () {try {testFun(schem 411: test/javascript/tests/users_db_security.js ("pbkdf2",0,[object Array]) 399: test/javascript/tests/users_db_security.js () 37: test/javascript/cli_runner.js runTest() 48: test/javascript/cli_runner.js ``` @eiri says: > I looked into it and as far as I can see with bcrypt PR API test users_db_security.js was changed to be prune to racing condition - user database [got deleted and re-created](https://github.com/apache/couchdb/blob/master/test/javascript/tests/users_db_security.js#L414), which is known anti-pattern. 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: us...@infra.apache.org With regards, Apache Git Services