Repository navigation
COMP: Fix release-5.4 Azure CI disk, Windows Python, and Python version - #7172
hjmjohnson wants to merge 4 commits into
Conversation
ebdcf95 to
55d71b7
Compare
|
Force-push = plain rebase onto release-5.4 to pick up #7170 (macos-15 runners), which fixes the macOS, macOS-Python, and Pixi-Cxx (macos-14) failures; no content changes (range-diff all |
[Medium impact] The PR appears safe to merge.
|
|
Force-push |
55d71b7 to
dbe2f1d
Compare
The post-job ccache save fails with "No space left on device" at 95% disk use, after the build and all tests pass. Remove unused preinstalled software first, cap ccache at 8G with age-based eviction, and delete the build tree before the cache is saved. Backport of 0f19708 and c7a707d from main. Also rename the cache key, which has no main counterpart: main's Linux Python pipeline also saves under "ccache | rel54", so release-5.4 restored a 3.6 GB cache built from main on every run.
Without set -e, an apt-get failure is masked by a later successful pip install, and the job fails much later with "ccache: command not found". Backport of 2c99f46 from main.
The job runs on windows-2022, which has no Visual Studio 2019, so the vcvars64.bat call fails with "The system cannot find the path specified" and CMake stops with "CMAKE_CXX_COMPILER not set". ITK.Windows.Python has failed this way on every recent release-5.4 commit. Use the path AzurePipelinesWindows.yml already uses. Backport of the vcvars change in b4ca025 from main.
The hosted ubuntu-22.04, macos-15, and windows-2022 images no longer
cache Python 3.8 or 3.9, so every run downloads 3.9 from
actions/python-versions anonymously ("You should provide GitHub token
... anonymous download limit"). Python 3.11 is cached on all three
images.
Backport of 74e226c and c02c450 from main.
dbe2f1d to
e8b132d
Compare
|
Force-push |
|
@greptileai review |
Fix the release-5.4 Azure CI failures that are unrelated to #7170: ITK.Linux.Python runs out of disk while saving its ccache after all tests pass, and ITK.Windows.Python fails before configuring because it calls Visual Studio 2019's
vcvars64.baton awindows-2022image. Each commit backports an existing fix frommain; no new jobs or features.Commits and evidence
tar: ... No space left on deviceat 95% disk use, on PRs and on release-5.4 pushes.ccache | rel54, so release-5.4 restored a 3.6 GB cache built on main.set -e, an apt failure surfaces later asccache: command not found.CMAKE_CXX_COMPILER not set.Considered and left out
-j 2memory limits: no disk or memory failures seen on release-5.4 yet.AzurePipelinesLinux.ymlreports no ITK.Linux status on release-5.4; it gets only theset -eand Python changes, for consistency.ccache | rel54steps, which also let release-5.4 restore main's caches in the other pipelines, are removed on main by COMP: Remove release-5.4 ccache steps merged into main CI #7174.Testing
CI configuration only; this PR's own Azure runs are the test.
pre-commit run --all-filespasses.AI assistance