[CXX-1213] Fix legacy driver auth continuous integration tests Created: 30/Jan/17  Updated: 28/Feb/18  Resolved: 20/Oct/17

Status: Closed
Project: C++ Driver
Component/s: Continuous Integration
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: J Rassi Assignee: Backlog - CXX Driver Team
Resolution: Won't Fix Votes: 0
Labels: legacy-cxx
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 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().



 Comments   
Comment by Derick Rethans [ 20/Oct/17 ]

Closing because we are no longer actively promoting and developing the legacy C++ driver.

Comment by Githook User [ 30/Jan/17 ]

Author:

{u'username': u'jrassi', u'name': u'J. Rassi', u'email': u'rassi@10gen.com'}

Message: CXX-1213 Temporarily disable auth integration tests
Branch: legacy
https://github.com/mongodb/mongo-cxx-driver/commit/773a3ca2b29c1db9e71f1a276197ebce835534eb

Generated at Wed Feb 07 22:01:48 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.