fix(ci): Build the host profiler image despite Ubuntu archive outages #61627
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
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
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
alopezz
What does this PR do?
Build the
ddot-ebpfbuilder stage from the agent base image, whose apt sources fall back tomirror.leaseweb.netin CI, instead ofubuntu: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_amd64failed onmainsincearchive.ubuntu.comandsecurity.ubuntu.comstopped answering (#incident-64229), e.g. in https://gitlab.ddbuild.io/DataDog/datadog-agent/-/jobs/2310261155:#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
arm64counterpart was unaffected, asports.ubuntu.comkept answering.Describe how you validated your changes
CI builds the image in
docker_build_host_profiler_standalone_amd64anddocker_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 runsetcapon the binary it copies out.