-
Type:
Build Failure
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Infrastructure, Tests
-
None
-
Python Drivers
-
None
-
None
-
None
-
None
-
None
-
None
- Ticket draft: Mod WSGI Latest job fails (apt 404 for apache2-dev)
Drafted 2026-10-09 from the failure below. Template: build-failure-template
(Jira wiki markup — body is ready to paste into a PYTHON ticket). Project:
PYTHON. No gist; the fix plan is not part of the ticket body.
- Failing run (PR #3113): https://github.com/mongodb/mongo-python-driver/actions/runs/38001616412/job/114060768334
- Same failure on main: https://github.com/mongodb/mongo-python-driver/actions/runs/37989465448/job/114019634996
- Jira duplicate search (PYTHON, last 7 days): no existing ticket found.
—
-
- Title
Mod WSGI Latest job fails: apt 404 for apache2-dev on ubuntu-22.04 runners
-
- Body
Name of Failure:
Mod WSGI Latest, the mod_wsgi_latest job of .github/workflows/test-mod-wsgi.yml, fails at the Install Apache step. apt-get exits 100 after failing to download apache2-dev.
Link to task:
- Job on PR #3113: https://github.com/mongodb/mongo-python-driver/actions/runs/38001616412/job/114060768334
- Same failure on a push to main: https://github.com/mongodb/mongo-python-driver/actions/runs/37989465448/job/114019634996
Context of when and why the failure occurred:
The Install Apache step runs sudo apt-get install -y apache2 apache2-dev without apt-get update, so apt resolves from the package index baked into the ubuntu-22.04 runner image (20261004.315.1). That index pins apache2-dev at 2.4.52-1ubuntu4.23, which the Ubuntu mirrors no longer serve. apache2 itself is preinstalled on the image, so only apache2-dev is fetched.
All recent runs fail at this step, including pushes to main, so re-running cannot succeed. The failure is unrelated to the content of PR #3113. The Mod WSGI Min Deps job is unaffected; it installs httpd with dnf on Fedora.
Stack trace:
Err:20 mirror+file:/etc/apt/apt-mirrors.txt jammy-updates/main amd64 apache2-dev amd64 2.4.52-1ubuntu4.23 404 Not Found [IP: 52.161.185.214 80] E: Failed to fetch mirror+file:/etc/apt/apt-mirrors.txt/pool/main/a/apache2/apache2-dev_2.4.52-1ubuntu4.23_amd64.deb 404 Not Found [IP: 52.161.185.214 80] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? ##[error]Process completed with exit code 100.