[DRIVERS-2405] Do not include crypt_shared on latest when less than 6.0 Created: 29/Jul/22  Updated: 28/Oct/23  Resolved: 01/Aug/22

Status: Closed
Project: Drivers
Component/s: Evergreen Tools
Fix Version/s: None

Type: Bug Priority: Minor - P4
Reporter: Benji Rewis (Inactive) Assignee: Benji Rewis (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Driver Changes: Not Needed

 Description   

Summary

Enterprise auth tests are failing on Ubuntu 16.04 in the Go driver because we're unable to fetch the crypt_shared package on "latest". "latest" on Ubuntu 16.04 is less than 6.0, so crypt_shared is not even available. We should not fetch crypt_shared on  OSes where "latest" is less than 6.0.

Motivation

Who is the affected end user?

Driver devs.

How does this affect the end user?

Some OSes may fail to fetch crypt_shared and cause system failures.

How likely is it that this problem or use case will occur?

Always on those OSes.

If the problem does occur, what are the consequences and how severe are they?

System failure of auth tests.

Is this issue urgent?

No.

Is this ticket required by a downstream team?

No.

Is this ticket only for tests?

Yes.



 Comments   
Comment by Githook User [ 01/Aug/22 ]

Author:

{'name': 'Benjamin Rewis', 'email': '32186188+benjirewis@users.noreply.github.com', 'username': 'benjirewis'}

Message: DRIVERS-2405 Do not include crypt_shared on latest when less than 6.0. (#219)
Branch: master
https://github.com/mongodb-labs/drivers-evergreen-tools/commit/4cf5c2285870a92f95b19230e48c6d6e226c8de6

Comment by Shane Harvey [ 29/Jul/22 ]

MongoDB 4.4 was the last version to support Ubuntu 16 so you should not be testing "latest" on that platform at all.

Comment by Benji Rewis (Inactive) [ 29/Jul/22 ]

https://github.com/mongodb-labs/drivers-evergreen-tools/pull/219

Comment by Benji Rewis (Inactive) [ 29/Jul/22 ]

shane.harvey@mongodb.com I'm not sure. I might be misusing the word "latest" here. What I mean is that the logic that determines whether or not crypt_shared is available has a case for MONGODB_LATEST that seems to keep  VERSION_INCLUDES_CRYPT_SHARED=YES. MONGODB_LATEST just represents the URL for the tar file with the latest MongoDB version on that OS. I think we still want to be able to download the latest MongoDB version available on Ubuntu 16.04 through MONGODB_LATEST, we just want VERSION_INCLUDES_CRYPT_SHARED=NO in that case, since that version is less than 6.0.

Comment by Shane Harvey [ 29/Jul/22 ]

"latest" on Ubuntu 16.04 is less than 6.0

Doesn't this mean drivers should stop testing "latest" on Ubuntu 16.04 altogether?

Generated at Thu Feb 08 08:25:30 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.