[CSHARP-4805] Use Ubuntu 20.04 for MongoDB 7.0+ on Evergreen Created: 04/Oct/23  Updated: 28/Oct/23  Resolved: 18/Oct/23

Status: Closed
Project: C# Driver
Component/s: Build
Affects Version/s: None
Fix Version/s: 2.23.0

Type: Task Priority: Critical - P2
Reporter: James Kovacs Assignee: Oleksandr Poliakov
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
is caused by SERVER-77233 Platform Support: Remove support for ... Closed
Related
related to CSHARP-4624 Use Ubuntu 2004 on Evergreen Closed
Backwards Compatibility: Fully Compatible
Documentation Changes: Not Needed
Documentation Changes Summary:

1. What would you like to communicate to the user about this feature?
2. Would you like the user to see examples of the syntax and/or executable code and its output?
3. Which versions of the driver/connector does this apply to?


 Description   

MongoDB 7.0 does not officially support Ubuntu 18.04. Ubuntu 18.04 binaries were removed in 7.0.2. This has resulted in our test suite failing on Linux now that 7.0.2 is available.

In CSHARP-4624 we previously attempted to upgrade to Ubuntu 20.04, but ran into a variety of problems. We should either work around these issues or confirm that they're no longe present.

As well .NET Core 2.X - which we use for netstandard2.0 testing - is not available for Ubuntu 20.04 and newer.

Given that we don't ship server binaries for Ubuntu 20.04 for MongoDB 3.6, 4.0, or 4.2, I propose the following:

MongoDB 3.6 to 6.0 test against Ubuntu 18.04 running all TFMs.
MongoDB 7.0, rapid, and latest test against Ubuntu 20.04 running netstandard2.1 using netcoreapp3.1. We can also smoke test against more recent .NET versions such as .NET 5 and 6.

We may want to consider upgrading MongoDB 4.4+ to use Ubuntu 20.04 and only running MongoDB 3.6, 4.0, and 4.2 on Ubuntu 18.04. This would reduce our Linux test coverage as we wouldn't test netstandard2.0 on Linux as much as previously, but that may be acceptable as we would like to minimize how much we leverage EOL'd operating systems.

ASIDE: Initially I thought we could switch to RHEL7, but it EOLs June 30, 2024. Staying on Ubuntu seems like the easiest path forward.



 Comments   
Comment by Githook User [ 16/Oct/23 ]

Author:

{'name': 'Oleksandr Poliakov', 'email': 'oleksandr.poliakov@mongodb.com', 'username': ''}

Message: CSHARP-4805: Use Ubuntu 20.04 for MongoDB 7.0+ on Evergreen
Branch: evergreen-experiments
https://github.com/mongodb/mongo-csharp-driver/commit/fa2c72fb80e42374ce2caefea3f49ca739e68355

Comment by Githook User [ 16/Oct/23 ]

Author:

{'name': 'Oleksandr Poliakov', 'email': '31327136+sanych-sun@users.noreply.github.com', 'username': 'sanych-sun'}

Message: CSHARP-4805: Use Ubuntu 20.04 for MongoDB 7.0+ on Evergreen (#1199)
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/19c9f374cb766db79a881ce9f684ea9ba46a9a6f

Comment by Githook User [ 16/Oct/23 ]

Author:

{'name': 'Oleksandr Poliakov', 'email': 'oleksandr.poliakov@mongodb.com', 'username': ''}

Message: CSHARP-4805: Use Ubuntu 20.04 for MongoDB 7.0+ on Evergreen
Branch: evergreen-experiments
https://github.com/mongodb/mongo-csharp-driver/commit/fa2c72fb80e42374ce2caefea3f49ca739e68355

Comment by Githook User [ 12/Oct/23 ]

Author:

{'name': 'Oleksandr Poliakov', 'email': 'oleksandr.poliakov@mongodb.com', 'username': ''}

Message: CSHARP-4805: Use Ubuntu 20.04 for MongoDB 7.0+ on Evergreen
Branch: evergreen-experiments
https://github.com/mongodb/mongo-csharp-driver/commit/01ce49067f2c7b13b83929a23e6621e9d4f9bf9f

Comment by Githook User [ 12/Oct/23 ]

Author:

{'name': 'Oleksandr Poliakov', 'email': '31327136+sanych-sun@users.noreply.github.com', 'username': 'sanych-sun'}

Message: CSHARP-4805: Use Ubuntu 20.04 for MongoDB 7.0+ on Evergreen (#1197)
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/5a2e55b822d4d728a051daa378a961b2b2dc68f1

Comment by Githook User [ 12/Oct/23 ]

Author:

{'name': 'Oleksandr Poliakov', 'email': 'oleksandr.poliakov@mongodb.com', 'username': ''}

Message: CSHARP-4805: Use Ubuntu 20.04 for MongoDB 7.0+ on Evergreen
Branch: evergreen-experiments
https://github.com/mongodb/mongo-csharp-driver/commit/01ce49067f2c7b13b83929a23e6621e9d4f9bf9f

Comment by Githook User [ 10/Oct/23 ]

Author:

{'name': 'Oleksandr Poliakov', 'email': 'oleksandr.poliakov@mongodb.com', 'username': ''}

Message: CSHARP-4805: Use Ubuntu 20.04 for MongoDB 7.0+ on Evergreen
Branch: evergreen-experiments
https://github.com/mongodb/mongo-csharp-driver/commit/5765b0e7f76b2cd7747d0d0906e909ac40599b88

Comment by Githook User [ 06/Oct/23 ]

Author:

{'name': 'Oleksandr Poliakov', 'email': 'oleksandr.poliakov@mongodb.com', 'username': ''}

Message: CSHARP-4805: Use Ubuntu 20.04 for MongoDB 7.0+ on Evergreen
Branch: evergreen-experiments
https://github.com/mongodb/mongo-csharp-driver/commit/208834200fd842c64c524eecf85b007afed584cf

Comment by Githook User [ 06/Oct/23 ]

Author:

{'name': 'Oleksandr Poliakov', 'email': 'oleksandr.poliakov@mongodb.com', 'username': ''}

Message: CSHARP-4805: Use Ubuntu 20.04 for MongoDB 7.0+ on Evergreen
Branch: evergreen-experiments
https://github.com/mongodb/mongo-csharp-driver/commit/d571939d2371dcfc2a03de645f56094506f5d8f9

Generated at Wed Feb 07 21:49:25 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.