Repository navigation
Use Azure Linux 4 for Linux Helix container hosts - #70522
Conversation
Move Linux Helix container hosts from Azure Linux 3 to Azure Linux 4, make Azure Linux 4 the primary Azure Linux container target, and keep Azure Linux 3 as secondary coverage. Build containers stay on Azure Linux 3. Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
|
Hey @dotnet/aspnet-build, looks like this PR is something you want to take a look at. |
Switch the net11.0 Azure Linux build and cross-compilation prereq containers to Azure Linux 4 across official, unofficial, and public pipelines.\n\nCo-authored-by: Copilot <[email protected]>
There was a problem hiding this comment.
🔵 Needs a closer look
Human validation of the full Helix matrix is needed because reported local tests and ordinary PR checks do not cover Azure Linux 4 queue/image availability, payload startup, or distro-specific TLS/X.509 behavior.
No open issues 🎉
What changed in this PR
Moves Linux x64 Helix container hosts to Azure Linux 4 while retaining Azure Linux 3 image coverage and leaving Azure Linux 3 build containers unchanged.
Changes:
- Adds Azure Linux 4 image coverage and updates Alpine to 3.24 and Fedora to 45.
- Extends existing project-level exclusions to the retained Azure Linux 3 queue.
- Removes obsolete AlmaLinux test skips and their unused constant, preserving Ubuntu certificate-test skips.
| File | Description |
|---|---|
src/Testing/src/xunit/HelixConstants.cs |
Removes the unused AlmaLinux 9 queue constant. |
src/Servers/Kestrel/test/InMemory.FunctionalTests/HttpsConnectionMiddlewareTests.cs |
Removes AlmaLinux skips from TLS renegotiation tests. |
src/Security/Authentication/test/CertificateTests.cs |
Removes AlmaLinux skips while retaining Ubuntu exclusions. |
src/ProjectTemplates/test/Templates.Mvc.Tests/Templates.Mvc.Tests.csproj |
Preserves MVC template-test exclusions for Azure Linux 3. |
eng/targets/Helix.targets |
Adds the retained Azure Linux 3 queue to existing exclusions. |
eng/targets/Helix.Common.props |
Updates container hosts and distribution images, and retains Azure Linux 3 in the matrix. |
Review effort: Balanced
Bash 5.3 in the Azure Linux 4 cross image turns the trailing line continuation in Arcade's source-build step into a literal `\` argument (MSB1008). Stay on Azure Linux 3 until dotnet/arcade#17800 flows in. Tracked by #70524. Co-authored-by: Copilot <[email protected]>
|
/review |
|
✅ No documentation PR was created. Confidence that documentation is needed: 2% No docs needed: the PR is build/CI and test infrastructure only (confident, not an evidence gap). Documentation surfaces considered
|
Use Azure Linux 4 for ASP.NET Core Helix containers
Use Azure Linux 4 for Linux Helix container hosts
Description
azurelinux-3.0-net11.0-cross-amd64because Arcade's source-build step fails with bash 5.3 on Azure Linux 4 (MSB1008 from a trailing\). The Arcade fix is Remove trailing line continuation in source-build step arcade#17800; the follow-up to move source-build is Move source-build container to Azure Linux 4 after Arcade trailing-backslash fix #70524.Validation:
./eng/build.sh --projects "$PWD/src/Security/Authentication/test/Microsoft.AspNetCore.Authentication.Test.csproj"— passed../eng/build.sh --projects "$PWD/src/Servers/Kestrel/test/InMemory.FunctionalTests/InMemory.FunctionalTests.csproj"— passed.dotnet test --no-build ...InMemory.FunctionalTests.csproj --filter "FullyQualifiedName~HttpsConnectionMiddlewareTests.CanRenegotiate|FullyQualifiedName~HttpsConnectionMiddlewareTests.RenegotiateForClientCertificateOnPostWithoutBufferingThrows|FullyQualifiedName~HttpsConnectionMiddlewareTests.RenegotationFailureCausesConnectionClose"— 7 passed, 1 macOS-only skip.dotnet test --no-build ...Microsoft.AspNetCore.Authentication.Test.csproj --filter "FullyQualifiedName~VerifyExpiredSelfSignedFails|FullyQualifiedName~VerifyNotYetValidSelfSignedFails"— 2 passed.python3YAML parsing for.azure/pipelines/ci.yml,.azure/pipelines/ci-unofficial.yml, and.azure/pipelines/ci-public.yml— passed.git diff --check— passed.No tracking issue identified; no issue is linked.
Note
This pull request was prepared with GitHub Copilot.