Skip to content

Use Azure Linux 4 for Helix test queues - #137379

Closed
richlander wants to merge 3 commits into
mainfrom
users/richlander/azurelinux-4-vms
Closed

richlander wants to merge 3 commits into
mainfrom
users/richlander/azurelinux-4-vms

Conversation

@richlander

@richlander richlander commented Nov 11, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Move the CoreCLR, installer, and libraries Helix test targets to Azure Linux 4 by running pinned Azure Linux 4 containers on Azure Linux 4 hosts. Do not run tests directly on the Azure Linux 4 VMs. This matches release/10.0 (Move release/10.0 Linux Helix hosts to Azure Linux 4 #137390) and release/11.0 (Update release/11.0 Linux Helix coverage #137395).
  • Make Azure Linux 4 the primary Azure Linux target in the libraries coverage configuration and retain Azure Linux 3 as secondary extra-platform coverage.
  • Move SuperPMI Linux x64 collection to the Azure Linux 4 VM queue. SuperPMI does not run System.Net.Quic tests.
  • Keep Azure Pipelines build-agent images on Azure Linux 3; this change does not select unprovisioned build.azurelinux.4.* images.
Coverage Change
CoreCLR Helix x64 and arm64 Bare Azure Linux 3 VMs → Azure Linux 4 containers on Azure Linux 4 hosts
Installer and helix_linux_x64_latest Bare Azure Linux 3 VMs → Azure Linux 4 container
Libraries outerloop Bare Azure Linux 3 VM → Azure Linux 4 container, selected once for outerloop and the non-PR general set
Libraries Azure Linux image coverage Azure Linux 4 container primary; Azure Linux 3 container in extra-platforms
SuperPMI Linux x64 Azure Linux 3 queue → Azure Linux 4 queue
Build agents Remain on Azure Linux 3

Why containers instead of bare Azure Linux 4 VMs

The Azure Linux 4 Helix VM image does not include libmsquic. Before the workaround, the release/11.0 run in build 1684554 failed MsQuicPlatformDetectionTests.SupportedLinuxPlatforms_IsSupportedIsTrue on bare azurelinux.4.amd64.open and azurelinux.4.arm64.open with MsQuic not supported. Main's bare Azure Linux 3 VMs load libmsquic.so 2.6.4, and the pinned Azure Linux 4 container images include libmsquic. Bare VM queues can return once the Azure Linux 4 VM image includes libmsquic.

Lifecycle and image availability

Microsoft's Azure Linux lifecycle documentation describes Azure Linux 4 as preview, for evaluation and testing only; its support duration will be published ahead of GA. The AKS support-cycle documentation says Azure Linux 3 remains supported until roughly three years after the AKS 1.32 release, without a specific calendar EOL date. This PR changes test targets only, not production build agents.

The Azure Linux 4 container images are digest-pinned to the same images used on main or on release/11.0: amd64 sha256:ad2717f2… and arm64v8 sha256:ab6055ae…. The live Helix queue API lists the Azure Linux 4 amd64 and arm64 public and internal queues as available.

Validation

  • YAML parsing for all four changed pipeline YAML files: passed.
  • No bare Azure Linux test targets remain in the CoreCLR, installer, or libraries queue files, or in helix-platforms.yml: checked with grep.
  • git diff --check: passed.
  • No new CI has been run on this revision. The default runtime pipeline covers the default queue changes; runtime-extra-platforms is needed to exercise the Azure Linux 3 secondary coverage.

See the OS onboarding guide.

Note

This pull request was prepared with GitHub Copilot.

richlander and others added 2 commits November 11, 2026 11:31
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 5 pipeline(s).
10 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @dotnet/runtime-infrastructure
See info in area-owners.md if you want to be subscribed.

@richlander

Copy link
Copy Markdown
Member Author

This is a "lean into the future" change. We'll be a year into Azure Linux 4 by the time .NET 12 ships. We won't need first class CI coverage for Azure Linux 3 for .NET 12.

@richlander

Copy link
Copy Markdown
Member Author

@wfurt -- looks like a QUIC platform check issue.

richlander added a commit that referenced this pull request Nov 17, 2026
Fixes Issue <!-- Issue Number -->
N/A — CI infrastructure update; no issue linked.

main PR <!-- Link to PR if any that fixed this in the main branch. -->
#137379

# Description

<!-- Give a brief summary of the issue and how the pull request is
fixing it. -->

Move Linux Helix hosts from Azure Linux 3 to Azure Linux 4 on
`release/11.0`, update Fedora coverage, and remove Alpine edge from
release-branch coverage. Build-agent images remain on Azure Linux 3.
This follows the release/10.0 queue changes in
#137390.

| Coverage | Before | After | Lifecycle |
| --- | --- | --- | --- |
| Linux Helix host queues | Azure Linux 3 | Azure Linux 4 | Azure Linux
3 has no exact EOL date published; Azure Linux 4 is preview with no
GA/EOL date announced. |
| Fedora extra-platforms | Fedora 44 latest, Fedora 43 oldest | Fedora
45 latest, Fedora 44 oldest | Fedora 43 EOL: 2026-12-01; Fedora 44 EOL:
2027-06-02; Fedora 45 EOL: 2027-12-08 ([Fedora
lifecycle](https://endoflife.date/fedora)). |
| Linux musl x64 latest | Alpine edge | Alpine 3.24 | Edge is removed;
Alpine 3.24 remains the latest and oldest slot. |
| Linux x64 general CoreCLR set | Ubuntu 26.04 VM, Azure Linux 3 /
CentOS Stream 10 images on Azure Linux 3 hosts, with extra images
conditionally included | Ubuntu 26.04 VM and Azure Linux 4, Azure Linux
3, and CentOS Stream 10 containers on Azure Linux 4 hosts | Azure Linux
3 container remains as secondary coverage. |

Azure Linux 4.0 is a preview and is not in the .NET 11 supported OS
matrix. This is an explicitly approved exception for Helix test-host
coverage, not a change to the .NET support policy. Fedora 44 and 45 are
listed in the .NET 11 matrix. See
[supported-os.json](https://github.com/dotnet/core/blob/main/release-notes/11.0/supported-os.json),
the [OS onboarding
guide](https://github.com/dotnet/runtime/blob/main/docs/project/os-onboarding.md),
and [.NET OS support
tracking](dotnet/core#9638). Azure Linux
lifecycle information is documented
[here](https://learn.microsoft.com/en-us/azure/azure-linux/release-cadence-lifecycle).

The MCR prereqs registry contains the referenced tags, including
`azurelinux-4.0-helix-amd64`, `azurelinux-4.0-helix-arm64v8`,
`fedora-45-helix-amd64`, `fedora-44-helix-amd64`, and
`alpine-3.24-helix-amd64`; all newly pinned image digests are available.

# Customer Impact

<!-- What is the impact to customers of not taking this fix? -->

No direct product behavior changes. The update moves release/11.0 Linux
test hosts to Azure Linux 4, retains Azure Linux 3 container coverage,
and removes pre-release Alpine edge from the release branch.

# Regression

<!-- Is this fixing a problem that was introduced in the most recent
release, ie., fixing a regression? -->

No product regression; this updates CI queue configuration and distro
coverage only.

# Testing

<!-- What kind of testing has been done with the fix. -->

- `python3 -c "import ast,yaml; [yaml.safe_load(open(p,
encoding='utf-8')) for p in
['eng/pipelines/helix-platforms.yml','eng/pipelines/coreclr/templates/helix-queues-setup.yml','eng/pipelines/installer/helix-queues-setup.yml','eng/pipelines/libraries/helix-queues-setup.yml']];
ast.parse(open('src/coreclr/scripts/superpmi_collect_setup.py',
encoding='utf-8').read())"` — passed.
- `git diff --check origin/release/11.0...HEAD` — passed.
- Verified all 68 Helix platform variable names and expected values,
five Linux libraries queue blocks against release/10.0, host-only
changes in CoreCLR and installer templates, and 24 public/internal
SuperPMI queue selections.
- Checked MCR tag and pinned digest availability; all checked references
are available.
- `runtime-extra-platforms` is needed for Fedora 45 coverage; it has not
been triggered yet.

# Risk

<!-- Please assess the risk of taking this fix. Provide details backing
up this assessment. -->

The change affects test infrastructure only. Azure Linux 4 is a preview
host and may expose OS-specific test differences; the queue is
available, and image references are pinned. The .NET 11 supported OS
matrix currently lists Azure Linux 3, so Azure Linux 4 remains an
explicit test-host exception. Fedora 43 is near EOL and is replaced by
supported Fedora 44/45 images.

# Package authoring no longer needed in .NET 9

IMPORTANT: Starting with .NET 9, you no longer need to edit a NuGet
package's csproj to enable building and bump the version.
Keep in mind that we still need package authoring in .NET 8 and older
versions.

> [!NOTE]
> This PR description was generated with GitHub Copilot.

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Larry Ewing <lewing@microsoft.com>
Co-authored-by: Steve Pfister <stpfiste@microsoft.com>
richlander added a commit that referenced this pull request Nov 17, 2026
Fixes Issue <!-- Issue Number -->
N/A — CI infrastructure update; no issue linked.

main PR <!-- Link to PR if any that fixed this in the main branch. -->
#137379

# Description

<!-- Give a brief summary of the issue and how the pull request is
fixing it. -->

Move Linux Helix physical hosts from Azure Linux 3 to Azure Linux 4
across CoreCLR, installer, libraries, and SuperPMI on `release/10.0`.
Keep the image OS distinct from the host OS, retain the Azure Linux 3
x64 container alongside the new Azure Linux 4 container, and remove
Alpine edge from release-branch coverage.

| Coverage | Before | After | Lifecycle |
| --- | --- | --- | --- |
| Linux Helix host queues | Azure Linux 3 | Azure Linux 4 | Azure Linux
3 has no exact EOL date published; Azure Linux 4 is preview with no
GA/EOL date announced. |
| Fedora extra-platforms | Fedora 43 | Fedora 45 | Fedora 43 EOL:
2026-12-01; Fedora 45 EOL: 2027-12-08 ([Fedora
lifecycle](https://endoflife.date/fedora)). |
| Linux musl x64 extra-platforms | Alpine edge and Alpine 3.24 | Alpine
3.24 only | Alpine edge is omitted from this release branch. |
| Linux x64 general CoreCLR set | Ubuntu 26.04 container, Azure Linux 3
container, CentOS Stream 10 container on Azure Linux 3 hosts | Ubuntu
26.04 VM; Azure Linux 4, Azure Linux 3, and CentOS Stream 10 containers
on Azure Linux 4 hosts | The Azure Linux 3 container remains as
secondary coverage. |

Azure Linux 4.0 is a preview and not listed in the .NET 10 supported OS
matrix. This is an intentional exception for Helix test-host coverage,
not a change to the .NET 10 support policy. Fedora 45 is GA but is also
not yet listed in that matrix (which lists Fedora 43 and 44). See
[supported-os.json](https://github.com/dotnet/core/blob/main/release-notes/10.0/supported-os.json),
the [OS onboarding
guide](https://github.com/dotnet/runtime/blob/main/docs/project/os-onboarding.md),
and [.NET OS support
tracking](dotnet/core#9638). Azure Linux
lifecycle information is documented
[here](https://learn.microsoft.com/en-us/azure/azure-linux/release-cadence-lifecycle).

The referenced MCR image tags are available:
`azurelinux-4.0-helix-amd64`, `azurelinux-4.0-helix-arm64v8`,
`fedora-45-helix-amd64`, `alpine-3.24-helix-amd64`, and all other queue
image tags in this change. The pinned Azure Linux 4 amd64 digest remains
available; the mutable tag currently resolves to a newer digest, so the
existing pin is preserved.

# Customer Impact

<!-- What is the impact to customers of not taking this fix? -->

No direct product behavior changes. Updating the test hosts gives
release/10.0 Helix runs coverage on Azure Linux 4 while retaining Azure
Linux 3 container coverage in the general x64 CoreCLR set.

# Regression

<!-- Is this fixing a problem that was introduced in the most recent
release, ie., fixing a regression? -->

No product regression; this updates CI queue configuration and the
Fedora extra-platform image selection.

# Testing

<!-- What kind of testing has been done with the fix. -->

- `python3 -c "import ast,yaml; [yaml.safe_load(open(p,
encoding='utf-8')) for p in
['eng/pipelines/coreclr/templates/helix-queues-setup.yml','eng/pipelines/installer/helix-queues-setup.yml','eng/pipelines/libraries/helix-queues-setup.yml']];
ast.parse(open('src/coreclr/scripts/superpmi_collect_setup.py',
encoding='utf-8').read())"` — passed.
- `git diff --check origin/release/10.0...HEAD` — passed.
- Checked all referenced image tags against the MCR prereqs registry;
all are available.
- No Helix CI run has been triggered. `runtime-extra-platforms` is
required to exercise the Fedora 45 extra-platforms coverage.

# Risk

<!-- Please assess the risk of taking this fix. Provide details backing
up your assessment. -->

The change affects test infrastructure only. The principal risk is
host-environment differences from Azure Linux 4. Its preview status is
an intentional exception for this migration; Helix queues are available
and container images are pinned. Fedora 45 extra-platforms coverage
should be exercised before merge.

# Package authoring no longer needed in .NET 9

IMPORTANT: Starting with .NET 9, you no longer need to edit a NuGet
package's csproj to enable building and bump the version.
Keep in mind that we still need package authoring in .NET 8 and older
versions.

> [!NOTE]
> This PR description was generated with GitHub Copilot.

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Resolve conflicts with main and replace bare Azure Linux 4 Helix test
targets with pinned Azure Linux 4 containers, matching release/10.0 and
release/11.0. The Azure Linux 4 VM image lacks libmsquic, which fails
System.Net.Quic tests; the container images include it. Hosts remain
Azure Linux 4. SuperPMI stays on bare Azure Linux 4 VMs.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant