Skip to content

Conversation

eramongodb
Copy link
Contributor

@eramongodb eramongodb commented Sep 26, 2025

Similar to mongodb/mongo-cxx-driver#1464, this PR removes the uv-installer.sh script (and related utilities) in favor of using EVG system-provided uv binaries. Distros which are missing a uv binary (rhel84 and debian11) are either disabled (due to plenty of equivalent coverage elsewhere) or use the simple workaround of installing uv into a temporary prefix via the system python binary:

prefix="$(mktemp -d)"
python3 -m pip install --prefix "$prefix" uv
PATH="$prefix/bin:$PATH"

As in mongodb/mongo-cxx-driver#1464, this PR also migrates away from deprecated/EOL/discouraged distros, which include:

  • archlinux: no longer actively maintained by DevProd. Since we already have Earthly coverage, the "clang 3.7 (Archlinux)" legacy build variant is removed, as all its tasks have plenty of equivalent coverage by other build variants.
  • ubuntu2004: relevant tasks are updated to use ubuntu2204, ubuntu2404, or a RHEL distro instead. This does not include the aws-ubuntu2004 distro (unclear how to migrate).

Notable changes also include:

  • Migrating the loadbalanced tasks to Ubuntu 24.04 revealed the lack of a system-provided haproxy binary. The haproxy binary is installed via uv tool as a workaround using the haproxy-cli PyPI package. An apt install command is used to obtain haproxy until DEVPROD-22829 is resolved.
  • Suppressing memory leak reports by auth+asan tasks due to the libkrb5.so.3 and libgssapi_krb5.so.2 libraries on Ubuntu distros. They seem to be unrelated to our implementation. However, I could not find relevant issues or references.
  • Some desperate attempts to address various code coverage warnings and errors which seem to indicate mismatch between source files and executables. I could not fully determine what is really causing these issues.

@eramongodb eramongodb self-assigned this Sep 26, 2025
@eramongodb eramongodb requested a review from a team as a code owner September 26, 2025 21:34
@eramongodb
Copy link
Contributor Author

eramongodb commented Oct 7, 2025

As done for mongodb/mongo-cxx-driver#1472, workarounds for the absence of a uv system binary are reverted due to resolution of DEVPROD-22169, including migration away from the debian11 distro, which are now moved to debian11-latest instead. Rather than installing haproxy-cli (not equivalent to haproxy), load balancer tasks instead call apt install to workaround DEVPROD-22829.

@eramongodb
Copy link
Contributor Author

It looks like the ubuntu2204-test distro alias has been removed. Replaced with ubuntu2204-large instead, per EVG distro guidelines:

You likely shouldn't use a distro that has a name other than "-<xlarge|large|medium|small>" unless you specifically know that that distro is intended for your use case (a "perf" or "cloud" distro, for example). [...] "-test" and "-compile" are legacy names for "-small" and "-large". The former will work, since they've been aliased, but prefer the latter in new configs.

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.

1 participant