PYTHON-5931 PYTHON-5935 Fix auth-aws-ecs and kms test failures#2933
Merged
Conversation
Fixes dependency resolution failure when uv needs git to fetch the mockupdb dependency.
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the Evergreen ECS-host test setup for MONGODB-AWS authentication by ensuring the test container has the missing git dependency required for the auth-aws-ecs test to run successfully.
Changes:
- Install
gitalongsidebuild-essentialin the ECS test bootstrap script.
blink1073
marked this pull request as draft
July 10, 2026 14:03
Member
Author
|
This is the wrong approach - we need to pass UV_NO_LOCK to the ecs and kms environments, that's what we were missing from #2881 |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Both tests fail because a local-dev-only dependency sync step runs unguarded on remote/ephemeral hosts, forcing resolution of a git-based test dependency that isn't needed there.
Replaces the duplicated bash date computation in configure-env.sh, justfile, setup-tests.sh, and run-tests.sh with a single exclude-newer setting, so the cooldown also applies to ad-hoc uv invocations that bypass those wrapper scripts.
The ecs container has no git, so it can't resolve mockupdb's git dependency itself. Generate the lock on the host instead (where git is available) and have the container install from it frozen.
aclark4life
marked this pull request as ready for review
July 17, 2026 19:32
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PYTHON-5931 / PYTHON-5935
Changes in this PR
Fixes the auth-aws-ecs and kms (Azure/GCP) Evergreen tests, which were both failing on their remote/ephemeral test hosts.
Test Plan
Verified with a passing Evergreen patch covering all affected tasks (test-auth-aws-ecs, test-gcpkms, test-azurekms, and the auth_oidc remote variants): https://spruce.corp.mongodb.com/patch/6a518b361480fd00075f1a1d
Checklist
Checklist for Author
Checklist for Reviewer