Repository navigation
Run quarantined Linux tests in the Azure Linux test container - #70688
Merged
Merged
Conversation
Reuse the regular Linux test image and correct the quarantined job display name without changing test selection or reporting. Co-authored-by: Copilot <[email protected]>
Member
Author
|
/azp run aspnetcore-quarantined-pr |
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are reported for the quarantined Linux test container update.
No open issues 🎉
What changed in this PR
Aligns quarantined Linux tests with the regular Azure Linux test environment introduced in #70637, providing the same NativeAOT toolchain, Nginx, and other test prerequisites.
Changes:
- Registers the existing
azurelinux-4.0-net12.0-build-aot-test-nginx-amd64container image. - Runs
Linux_Quarantined_Testin that container and renames its display label toTests: Azure Linux x64.
The underlying Azure Linux 3 agent, build/test commands, quarantine settings, result publication, and other jobs remain unchanged.
| File | Description |
|---|---|
.azure/pipelines/quarantined-pr.yml |
Adds the container resource, selects it for quarantined Linux tests, and updates the job display name. |
Review effort: Balanced
wtgodbe
approved these changes
Nov 18, 2026
This was referenced Nov 18, 2026
richlander
temporarily deployed
to
copilot-pat-pool
November 18, 2026 19:27 — with
GitHub Actions
Inactive
richlander
temporarily deployed
to
copilot-pat-pool
November 18, 2026 19:27 — with
GitHub Actions
Inactive
richlander
temporarily deployed
to
copilot-pat-pool
November 18, 2026 19:28 — with
GitHub Actions
Inactive
richlander
temporarily deployed
to
copilot-pat-pool
November 18, 2026 19:29 — with
GitHub Actions
Inactive
richlander
temporarily deployed
to
copilot-pat-pool
November 18, 2026 19:30 — with
GitHub Actions
Inactive
richlander
temporarily deployed
to
copilot-pat-pool
November 18, 2026 19:31 — with
GitHub Actions
Inactive
Contributor
|
✅ No documentation PR was created. Confidence that documentation is needed: 2% No docs needed: CI/build-only change to the quarantined test pipeline. Documentation surfaces considered
|
richlander
temporarily deployed
to
copilot-pat-pool
November 18, 2026 19:31 — with
GitHub Actions
Inactive
wtgodbe
pushed a commit
that referenced
this pull request
Nov 19, 2026
- Default Linux build agents: Build.Ubuntu.2204.Amd64[.Open] -> build.azurelinux.3.amd64[.open]. - Linux build jobs use the C.UTF-8 locale, which Azure Linux provides. - Linux platform and quarantined tests run in the published azurelinux-3.0-net10.0-build-aot-test-nginx-amd64 image, which supplies Nginx instead of building it from source on the agent. Adapted from main (#70558, #70560, #70637, #70688). Azure Linux 3 stays the primary Linux test OS for this released branch. Co-authored-by: Copilot <[email protected]>
wtgodbe
pushed a commit
that referenced
this pull request
Nov 19, 2026
…s to Azure Linux 3 (#70703) - Linux x64 build runs in azurelinux-3.0-net11.0-cross-amd64 with ROOTFS_DIR=/crossrootfs/x64 and -p:CrossBuild=true, like the ARM, ARM64, musl and source-build jobs. Its NativeAOT aspnetcoretools binary then targets the Ubuntu 18.04 (glibc 2.27) sysroot instead of the agent's OS. - Default Linux build agents: Build.Ubuntu.2204.Amd64[.Open] -> build.azurelinux.3.amd64[.open]. - Linux build jobs use the C.UTF-8 locale, which Azure Linux provides. - Linux platform and quarantined tests run in the published azurelinux-3.0-net11.0-build-aot-test-nginx-amd64 image, which supplies Nginx instead of building it from source on the agent. Adapted from main (#70558, #70560, #70637, #70688). Azure Linux 3 stays the primary Linux test OS for this released branch. Co-authored-by: Copilot <[email protected]>
This branch was previously deployed
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.
Run quarantined Linux tests in the Azure Linux test container
Align quarantined Linux tests with the regular Azure Linux test environment.
Description
The quarantined Linux job already inherits an Azure Linux 3 build agent after #70558, but still runs directly on that agent and is labeled "Ubuntu x64".
azurelinux-4.0-net12.0-build-aot-test-nginx-amd64image.Tests: Azure Linux x64.The container provides the host-native NativeAOT test toolchain, Nginx, and other test prerequisites introduced in #70637. It is not a shipping-artifact cross-build image. The underlying Azure Linux 3 agent selection is unchanged.
Preserve the build and test commands,
RunQuarantinedTests=true,SkipHelixReadyTests=true,continueOnError: true, result publication, artifacts, timeout, triggers, and all other jobs. No host configuration changes are introduced.Validation
python3 -with PyYAML structural assertions — passed. Both pipeline files parse, the image resource exactly matchesci-public.yml, and removing only the new resource/container selection and reverting the display name reproduces the original quarantine pipeline structure.git diff --check— passed.Container prerequisite smoke check — passed:
docker run --rm mcr.microsoft.com/dotnet-buildtools/prereqs:azurelinux-4.0-net12.0-build-aot-test-nginx-amd64 bash -lc 'set -e; cat /etc/os-release; command -v bash git clang gcc ld nginx node npm java; clang --version | head -1; nginx -v; nginx -t; node --version; npm --version; java -version; test -n "$JAVA_HOME"; test -e /usr/lib64/libatomic.so.1'Confirmed Azure Linux 4, clang 21.1.8, Nginx 1.30.6 with valid configuration, Node/npm, JDK 25, and libatomic. The locally tested image digest is
sha256:b9f646b6b8fe4665f791ee51d0e35a6145dd1923083e4387161de9affa92ab07.Containerized CI execution
The changed Linux job completed in build 1686952, testing PR source commit
ef0161f859239450c1600a10ca748e5e131f36e9../eng/build.sh --ci --nobl --all --no-build-java --pack— passed, exit 0../eng/build.sh --ci --nobl --all --no-build --no-build-java --test -p:RunQuarantinedTests=true -p:SkipHelixReadyTests=true— executed and exited 1 for the pre-existing quarantinedLinkedApplicationWorksfailure described below.Publish Quarantined Test Resultsand result-artifact publication — passed.I inspected the published xUnit XML, rather than treating the job's green GitHub check as proof of test success:
Both runs selected the same 22 test cases, including the same guaranteed-quarantine sentinel cases and platform skips. The Nginx
ServerComparison.FunctionalTests.HelloWorldTests.HelloWorldcase now passes; before this change it failed becausenginxwas not installed on the bare build agent.Microsoft.AspNetCore.Hosting.FunctionalTests.LinkedApplicationTests.LinkedApplicationWorksstill fails before reaching its HTTP response/body assertion. In both runs its publishedBasicLinkedAppcrashes with the sameFileNotFoundExceptionfor the managed assemblyMicrosoft.AspNetCore.Server.Kestrel.Transport.Quic, Version=12.0.0.0. This is an existing quarantined application-publishing failure, not addressed by the container change.The Linux job is reported as
succeededWithIssuesbecause quarantined test failures deliberately retaincontinueOnError: true. This PR does not claim all quarantined tests pass. Other CI checks are still in progress.