[ML] Fix CI analytics steps failing with exit code 127#3000
Merged
Conversation
The python:3-slim image lacks curl and git, which the Buildkite
agent environment hook requires. This caused the analyze_build_timings,
ingest_build_timings, and check_build_regression steps to fail with
exit code 127 ("command not found").
Made-with: Cursor
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
edsavage
added a commit
that referenced
this pull request
Mar 16, 2026
…step Same fix as #3000 — python:3-slim lacks curl and git needed by the Buildkite agent environment hook. Made-with: Cursor
Made-with: Cursor
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.
Summary
analyze_build_timings,ingest_build_timings, andcheck_build_regressionCI steps were failing with exit code 127 because they used thepython:3-slimDocker image, which lackscurlandgit— both required by the Buildkite agent environment hook.python:3-slimtopython:3(the full image that includes these utilities).Observed in: https://buildkite.com/elastic/ml-cpp-snapshot-builds/builds/6022#019cf4a2-72b5-4971-8218-9c21fff8df81
Test plan
analyze_build_timingsstep passes on the next snapshot buildingest_build_timingsstep passescheck_build_regressionstep passes (on PR builds)Made with Cursor