[CXX-1212] Fix legacy driver LDAP integration tests Created: 30/Jan/17  Updated: 28/Feb/18  Resolved: 10/Jan/18

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: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

The "SASLAuthentication.LDAP" integration test fails on RHEL 5.5 32-bit due to a "no mechanism available" error.

Link to example failure:
https://evergreen.mongodb.com/task/cxx_driver_legacy_rhel55_32_bit_integration_test_latest_with_MMAPv1_dca7dd6971573af014606b151834ad82c7d56bb0_16_10_28_21_14_17

Relevant excerpt from task logs:

 [2016/11/03 20:58:54.403] /data/mci/43696d60d7ec095595b77774a9b08966/mongo-cxx-driver/build/linux2/32/ssl/mongo/standalone/sasl_test localhost:8889 mmapv1.json
 [2016/11/03 20:58:54.475] [==========] Running 1 test from 1 test case.
 [2016/11/03 20:58:54.475] [----------] Global test environment set-up.
 [2016/11/03 20:58:54.475] [----------] 1 test from SASLAuthentication
 [2016/11/03 20:58:54.475] [ RUN      ] SASLAuthentication.LDAP
 [2016/11/03 20:58:56.673] unknown file: Failure
 [2016/11/03 20:58:56.673] C++ exception with description "SASL(-4): no mechanism available: No worthy mechs found" thrown in the test body.
 [2016/11/03 20:58:56.673] [  FAILED  ] SASLAuthentication.LDAP (2198 ms)
 [2016/11/03 20:58:56.673] [----------] 1 test from SASLAuthentication (2198 ms total)
 [2016/11/03 20:58:56.673] [----------] Global test environment tear-down
 [2016/11/03 20:58:56.673] [==========] 1 test from 1 test case ran. (2198 ms total)
 [2016/11/03 20:58:56.673] [  PASSED  ] 0 tests.
 [2016/11/03 20:58:56.673] [  FAILED  ] 1 test, listed below:
 [2016/11/03 20:58:56.673] [  FAILED  ] SASLAuthentication.LDAP
 [2016/11/03 20:58:56.673]  1 FAILED TEST



 Comments   
Comment by J Rassi [ 03/Feb/17 ]

sam.rossi suggests that the cause of this issue might be the cyrus-sasl-ldap package missing on this machine.

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-1212 Temporarily disable SASLAuthentication.LDAP test
Branch: legacy
https://github.com/mongodb/mongo-cxx-driver/commit/5f9fc0cbb510f83cc60b1245aed412e8d864e95c

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