Skip to content

CDRIVER-4739 Migrate MongoDB 7.0+ Evergreen tasks from Ubuntu 18.04 to 20.04 #1431

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Oct 5, 2023

Conversation

kevinAlbs
Copy link
Collaborator

@kevinAlbs kevinAlbs commented Oct 4, 2023

Summary

Migrate MongoDB 7.0+ Evergreen tasks from Ubuntu 18.04 to 20.04

Tasks matching .*7.0.* were run in this patch build to verify: https://spruce.mongodb.com/version/651d7291c9ec44a912961b62. The failing tasks are expected and fail on the master branch.

Background & Motivation

MongoDB 7.0 does not officially support Ubuntu 18.04. Ubuntu 18.04 binaries were removed in 7.0.2 in SERVER-77233. This has resulted task failures for server 7.0 tasks on Ubuntu 18.04.

This PR intends to make the minimal change to reduce test failures by upgrading selected variants to Ubuntu 20.04.

@kevinAlbs kevinAlbs marked this pull request as ready for review October 4, 2023 22:00
Copy link
Contributor

@eramongodb eramongodb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirming, why was Ubuntu 20.04 chosen instead of Ubuntu 22.04?

@kevinAlbs
Copy link
Collaborator Author

Confirming, why was Ubuntu 20.04 chosen instead of Ubuntu 22.04?

A patch using Ubuntu 22.04 resulted in task failures using clang:

CMake Error at /home/ubuntu/.cache/mongo-c-driver/tmp.npvLOnLZ2D/cmake-3.25.3-linux-x86_64/share/cmake-3.25/Modules/CMakeDetermineCCompiler.cmake:49 (message):
  Could not find compiler set in environment variable CC:
  clang.

I did not investigate further. I support a future move to Ubuntu 22.04. For this PR, I propose making the minimal change to get the 7.0 tasks passing.

@kevinAlbs kevinAlbs requested a review from eramongodb October 5, 2023 17:16
@kevinAlbs kevinAlbs merged commit eb63e07 into mongodb:master Oct 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants