[experiment] ci: try 1es-ubuntu-24.04-min for Linux jobs instead of disk cleanup - #893
Draft
Ahmed Muhsin (ahmedmuhsin) wants to merge 1 commit into
Draft
[experiment] ci: try 1es-ubuntu-24.04-min for Linux jobs instead of disk cleanup#893Ahmed Muhsin (ahmedmuhsin) wants to merge 1 commit into
Ahmed Muhsin (ahmedmuhsin) wants to merge 1 commit into
Conversation
EXPERIMENT (do not merge as-is). The 1es-ubuntu-22.04 image boots ~92% full on /, which forced the 'Free up disk space' rm -rf/prune steps added in #883. Try the leaner 1es-ubuntu-24.04-min image instead and drop the cleanup, keeping a df/du report so we can see the new baseline headroom.
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.
Experiment — not for merge as-is. Opened as a draft to get a CI signal.
What
Switch the two Linux CI jobs (emulated tests, docker integration tests) from
1es-ubuntu-22.04to1es-ubuntu-24.04-min, and drop theFree up disk spacecleanup steps that #883 added. Adf/dureport step is kept so the run tells us the new image's baseline headroom.Why
The
1es-ubuntu-22.04image boots ~92% full on/(67G used of 73G), almost entirely from toolsets these jobs never touch — Android SDK and Haskell under/usr/local(~24G), pre-cached docker images (~12G), Swift/miniconda under/usr/share(~9.5G), CodeQL/PyPy in the tool cache (~6.7G). That left so little headroom thatdotnet testfilled the disk, the agent process aborted with exit 134, and ADO reported the job as canceled.#883 worked around it by
rm -rf-ing those toolsets at job start (/92% → 54%, ~28G freed), which has held: 17 of 18 nightlydevbuilds since have passed with zero cancellations.That workaround is still deleting things out from under a hosted image, which is fragile — it silently breaks if paths move in a future image. If the
-minimage ships lean enough, we can drop the cleanup entirely and rely on the image instead.What to look for
-minimages carry fewer preinstalled toolsets, so the likely failure mode is a missing dependency (Maven, preinstalled JDKs forJavaToolInstaller, docker, Python) rather than disk.Report disk spacestep output — how much free space does-minactually start with?If it provisions cleanly with comfortable headroom, the follow-up is to drop the cleanup steps for good. If it needs extra tool installs, we compare that cost against keeping the
rm -rf.Scope
CI only, Linux only. Untouched: the Windows jobs,
java-version-check.yml, and the officialrun-e2e-tests-linux.yml— those stay on1es-ubuntu-22.04until this experiment reports back.