[DRIVERS-2355] Test with consistent versions of crypt_shared and server Created: 14/Jun/22 Updated: 21/Aug/23 |
|
| Status: | Implementing |
| Project: | Drivers |
| Component/s: | Client Side Encryption, Evergreen Tools |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Unknown |
| Reporter: | Jeremy Mikola | Assignee: | Kevin Albertson |
| Resolution: | Unresolved | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Driver Changes: | Needed | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Downstream Changes Summary: | Update CSFLE tests to use the same version of crypt_shared as the server. Please see https://github.com/mongodb/specifications/commit/9a0a385dc897319ecc10dd3dd19bc9d8e4c10de7 for the specification clarification. The CRYPT_SHARED_LIB_PATH expansion is made available from run-orchestration.sh as part of https://github.com/mongodb-labs/drivers-evergreen-tools/commit/5af4bfe0f18ece58d8492436b115c24a4167f1a3. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Start date: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Driver Compliance: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Description |
SummaryDrivers generally provision server versions in Evergreen using the download-mongodb.sh script, which internally keeps a map of Major.Minor server versions to specific packages for various operating systems. The mongodl.py originally introduced in b233de2 operates very differently by downloading full.json from mongodb.com. Although it does have aliases for "latest" and "latest-stable", it's not clear if those are consistent with the aliases we have in download-mongodb.sh. Two ideas came to mind (I'm open to others):
This came up in mongodb/mongo-python-driver#961 for On a separate note, I'm not sure if mongodl.py caches full.json or downloads it on each invocation. That file is quite large, so this does add overhead to the minimal mappings we maintain for download-mongodb.sh. Perhaps a separate tool to query full.json and prepare a mapping list similar to what we have in download-mongodb.sh would be more useful, if we decide to go the mapping route. MotivationWho is the affected end user?Driver developers. How does this affect the end user?Difficulty ensuring consistent versions are used for the MongoDB server and crypt_shared. Is this issue urgent?Yes. This is relevant for crypt_shared CI testing. Is this ticket required by a downstream team?May be relevant for shell testing, unless they're using entirely different tooling. Is this ticket only for tests?Yes. |
| Comments |
| Comment by Githook User [ 15/Jul/22 ] |
|
Author: {'name': 'Kevin Albertson', 'email': 'kevin.albertson@mongodb.com', 'username': 'kevinAlbs'}Message: DRIVERS-2355 check for bin directory in Windows (#214)
use zip, not tgz
|
| Comment by Githook User [ 14/Jul/22 ] |
|
Author: {'name': 'Kevin Albertson', 'email': 'kevin.albertson@mongodb.com', 'username': 'kevinAlbs'}Message: DRIVERS-2355 Clarify that driver tests < 6.0 should use mongocryptd (#1275) |
| Comment by Githook User [ 14/Jul/22 ] |
|
Author: {'name': 'Kevin Albertson', 'email': 'kevin.albertson@mongodb.com', 'username': 'kevinAlbs'}Message: DRIVERS-2355 add crypt_shared download function to download-mongodb.sh (#213)
|