← Back to Pull requests

fix(ci): Build the host profiler image despite Ubuntu archive outages #61627

Closed
unknown closed this pull request without merging on Nov 30, 2026 15:03 UTC
View on GitHub
unknown unknown commented on Nov 30, 2026 13:16 UTC
Author

What does this PR do?


Build the ddot-ebpf builder stage from the agent base image, whose apt sources fall back to mirror.leaseweb.net in CI, instead of ubuntu:24.04, whose apt sources only point at Canonical.

Drop the release stage's own copy of that fallback, which the agent base image already provides.

Motivation


docker_build_host_profiler_standalone_amd64 failed on main since archive.ubuntu.com and security.ubuntu.com stopped answering (#incident-64229), e.g. in https://gitlab.ddbuild.io/DataDog/datadog-agent/-/jobs/2310261155:
#14 39.39 Err:1 http://archive.ubuntu.com/ubuntu noble InRelease
#14 39.39   Could not connect to archive.ubuntu.com:80 (91.189.91.81), connection timed out [...]

#55119 made the CI image builds fall back to Leaseweb, but not this builder stage, so it was the only image build to fail. Its arm64 counterpart was unaffected, as ports.ubuntu.com kept answering.

Describe how you validated your changes


CI builds the image in docker_build_host_profiler_standalone_amd64 and docker_build_host_profiler_standalone_arm64.

Additional Notes


The builder stage now follows the agent base image's Ubuntu version instead of its own BASE_IMAGE_UBUNTU_VERSION, both being 24.04, and only uses it to run setcap on the binary it copies out.

Diff: 166 lines (+124 / -42) across 2 files Reviewer: alopezz Review duration: 106m
All Vouch review confidence checks passed
Residual risk 0.14 = Change Risk (0.35) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.35 · 166 lines diff across 2 files
0.35
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
0.17
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
60%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size diff_size
0.306
Shallow Review Depth shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #61627"
general weight: 0.35
Reviewers
Assignees
Unassigned
Labels
risk: low confidence: 60.5% reviewed
Vouch Risk Breakdown
AI-powered review risk analysis
Change Risk
Change Risk · Model 1 (XGBoost)
Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
Score: 35.1% (MEDIUM) · Higher = larger blast radius
35.1%
Review Confidence
Review Confidence · Models 2 & 3
Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
Score: 60.5% · Lower = rushed or shallow review
60.5%
Residual Risk
Residual Risk · Core Equation
Residual = Change × (1 − Confidence)
Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
Score: 13.9% · Safe to merge
13.9%