-
Type:
Build Failure
-
Resolution: Unresolved
-
Priority:
Unknown
-
None
-
Affects Version/s: None
-
Component/s: Tests
-
None
-
Python Drivers
-
Not Needed
-
None
-
None
-
None
-
None
-
None
-
None
Name of Failure:
test-auth-aws-ecs (auth-aws-ecs-macos variant) fails: uv cannot resolve mockupdb git dependency because git is not installed on the ECS test container
Link to task:
Context of when and why the failure occurred:
The ECS Fargate container for this test installs only build-essential before running uv run --extra aws --extra test --no-group dev. uv is installed unpinned each run, and it decided the committed uv.lock was stale ("Resolving despite existing lockfile due to removal of global exclude newer"), forcing a full universal re-resolve. That touches every dependency source in pyproject.toml, including the mockupdb extra (git+https://github.com/mongodb-labs/mongo-mockup-db@master), even though mockupdb isn't selected for this test. Resolving it requires git, which isn't installed on the app-ubuntu-24 image. Root cause of the lock invalidation is PYTHON-5862.
Fix: add git to the apt-get install in .evergreen/run-mongodb-aws-ecs-test.sh:
apt-get -q install -y build-essential git
Stack trace:
[2026/07/09 13:14:14.704] Resolving despite existing lockfile due to removal of global exclude newer [2026/07/09 13:14:16.380] Updating https://github.com/mongodb-labs/mongo-mockup-db (master) [2026/07/09 13:14:16.381] × Failed to download and build `mockupdb @ git+https://github.com/mongodb-labs/mongo-mockup-db@master` [2026/07/09 13:14:16.381] ├─▶ Git operation failed [2026/07/09 13:14:16.381] ╰─▶ Git executable not found. Ensure that Git is installed and available. [2026/07/09 13:14:16.405] ERROR:__main__:FAILED: 1
- related to
-
PYTHON-5935 [BF] kms test collection failure
-
- In Code Review
-