Details
-
Task
-
Status: Closed
-
Major - P3
-
Resolution: Won't Fix
-
None
-
None
Description
The auth integration test suites ("integration-test-latest-with-auth" and "integration-test-latest-with-auth-and-MMAPv1") fail because mongo-orchestration cannot successfully start the auth-enabled cluster: a "Permission denied: '$DBPATH'" error is returned.
Link to example failure: https://evergreen.mongodb.com/task/cxx_driver_legacy_ubuntu1404_debug_integration_test_latest_with_auth_dca7dd6971573af014606b151834ad82c7d56bb0_16_10_28_21_14_17
Relevant excerpt from task logs:
[2016/11/03 19:22:31.634] /data/mci/205ab5504eea6a39f5cb345c318feac1/mongo-cxx-driver/build/linux2/64/dbg_on/ssl/mongo/standalone/bulk_operation_test localhost:8889 auth.json
|
[2016/11/03 19:22:31.676] [==========] Running 84 tests from 2 test cases.
|
[2016/11/03 19:22:31.677] [----------] Global test environment set-up.
|
[2016/11/03 19:22:31.677] [----------] 42 tests from BulkOperationTest/0, where TypeParam = mongo::WireProtocolWriter
|
[2016/11/03 19:22:31.739] unknown file: Failure
|
[2016/11/03 19:22:31.739] C++ exception with description "[orchestration] Bad response: Traceback (most recent call last):
|
[2016/11/03 19:22:31.739] File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.6-py2.7.egg/mongo_orchestration/apps/__init__.py", line 62, in wrap
|
[2016/11/03 19:22:31.739] return f(*arg, **kwd)
|
[2016/11/03 19:22:31.739] File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.6-py2.7.egg/mongo_orchestration/apps/servers.py", line 83, in host_create
|
[2016/11/03 19:22:31.739] result = _host_create(data)
|
[2016/11/03 19:22:31.739] File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.6-py2.7.egg/mongo_orchestration/apps/servers.py", line 52, in _host_create
|
[2016/11/03 19:22:31.739] params.get('version', ''))
|
[2016/11/03 19:22:31.739] File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.6-py2.7.egg/mongo_orchestration/servers.py", line 444, in create
|
[2016/11/03 19:22:31.739] auth_key, login, password, auth_source)
|
[2016/11/03 19:22:31.739] File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.6-py2.7.egg/mongo_orchestration/servers.py", line 156, in __init__
|
[2016/11/03 19:22:31.739] self.config_path, self.cfg = self.__init_mongod(procParams)
|
[2016/11/03 19:22:31.739] File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.6-py2.7.egg/mongo_orchestration/servers.py", line 83, in __init_mongod
|
[2016/11/03 19:22:31.739] cfg['dbpath'] = self.__init_db(cfg.get('dbpath', None))
|
[2016/11/03 19:22:31.739] File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.6-py2.7.egg/mongo_orchestration/servers.py", line 63, in __init_db
|
[2016/11/03 19:22:31.739] os.makedirs(dbpath)
|
[2016/11/03 19:22:31.739] File "/usr/lib/python2.7/os.py", line 157, in makedirs
|
[2016/11/03 19:22:31.739] mkdir(name, mode)
|
[2016/11/03 19:22:31.739] OSError: [Errno 13] Permission denied: '$DBPATH'
|
[2016/11/03 19:22:31.739] " thrown in SetUpTestCase().
|