Skip to content

[release/10.0] Run Components E2E in Azure Linux 4 Chrome image - #70838

Open
richlander wants to merge 1 commit into
release/10.0from
dev/richlander/release10-al4-browser-image
Open

richlander wants to merge 1 commit into
release/10.0from
dev/richlander/release10-al4-browser-image

Conversation

@richlander

@richlander richlander commented Nov 25, 2026 •

Copy link
Copy Markdown
Member

[release/10.0] Run Components E2E in Azure Linux 4 Chrome image

  • You've read the Contributor Guide and Code of Conduct.
  • You've included unit or integration tests for your change, where applicable.
  • You've included inline docs for your change, where applicable.
  • There's an open issue for the PR that you are making. If you'd like to propose a new feature or change, please open an issue to discuss the change or find an existing issue.

Use the published .NET 10 Azure Linux 4 Chrome image for browser tests.

Description

Replace the Components E2E job's Ubuntu 22.04 host opt-in with azurelinux-4.0-net10.0-build-aot-test-chrome-amd64. Use its packaged Node 24 rather than installing Node 24.14.1 over it. The shared template already forwards the container in public/internal pipelines and uses existing Azure Linux 3 build-host pools when the Ubuntu opt-in is absent.

Only .azure/pipelines/jobs/components-e2e-test-job.yml changes. Preserve the Mono client/WebAssembly and server legs, filters, minimum test counts (550/850), quarantine handling and result publication. The internal entrypoint remains unchanged. This is test tooling, not a change to shipping build images, sysroots or AL3-primary release Helix coverage. Ubuntu Helix testing remains on 26.04 LTS in #70802.

The images were published after dotnet/dotnet-buildtools-prereqs-docker#1838 restored sudo. This is the branch-matching consumer follow-up to #70689, not a backport of its test-source changes. No product bug is closed by this pipeline-only change.

Validation

  • python3 /home/rich/.copilot/session-state/4830e609-9e05-4d58-835f-2eecf31c4b62/files/validate-release-browser-consumers.py - passed for both release branches. YAML parsing/source-contract checks confirm the intended parameters, public/internal forwarding, disabled UseNode gate and unchanged entrypoints/steps. This is not Azure's hosted template expansion.
  • docker pull mcr.microsoft.com/dotnet-buildtools/prereqs:azurelinux-4.0-net10.0-build-aot-test-chrome-amd64 - passed; published digest sha256:c96ee8bf92e171b68caf063fe7f24fa4c697953ace149361665d862ef4f0f130. Packaged-tool execution passed: sudo 1.9.17, libatomic, Node 24.22.3, npm 11.19.1, Git 2.56.1, PowerShell 7.7.0 and matching Chrome/ChromeDriver 158.0.8127.36.
  • The exact browser smoke command below passed. A temporary session-only Node probe uses W3C WebDriver to navigate, click a real button and assert changed DOM text as UID 10001, with no external network. It does not execute Blazor or the .NET 10 E2E suite.
docker run --rm --cpus=1 --network none -v /home/rich/.copilot/session-state/4830e609-9e05-4d58-835f-2eecf31c4b62/files/probe-published-release-chrome.mjs:/probe.mjs:ro --entrypoint bash mcr.microsoft.com/dotnet-buildtools/prereqs@sha256:c96ee8bf92e171b68caf063fe7f24fa4c697953ace149361665d862ef4f0f130 -ec 'useradd -m -u 10001 browser-probe; sudo -n -H -u browser-probe env TEST_CHROME_BINARY="$TEST_CHROME_BINARY" CHROMEWEBDRIVER="$CHROMEWEBDRIVER" node /probe.mjs'

The first probe attempt omitted those two environment variables across sudo and failed before starting ChromeDriver (undefined/chromedriver). Explicitly forwarding them fixed the probe; no image or repository workaround was needed.

Hosted qualification pending: run aspnetcore-components-e2e on this head before treating the migration as qualified. Local checks do not prove branch-specific application behavior, locale expectations or full hosted agent/container setup.

Use the published version-matching browser image and its packaged Node 24, preserving all runtime/filter/count gates. Isolate the existing release11 node_modules cache by container OS and architecture.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@richlander
richlander requested review from a team and wtgodbe as code owners November 25, 2026 15:00
Copilot AI balanced review requested due to automatic review settings November 25, 2026 15:00

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Hosted E2E qualification remains pending because the smoke probe does not cover .NET 10/Blazor behavior, globalization and BiDi, or Azure public/internal container setup.

No open issues 🎉

What changed in this PR

Moves the release/10.0 Components browser E2E job to the published .NET 10 Azure Linux 4 Chrome container. Shipping build images and Helix coverage remain unchanged.

Changes:

  • Replaces the Ubuntu host opt-in with the Chrome container, using the shared template’s default Azure Linux 3 host pools.
  • Disables Node installation so the job uses the container’s packaged Node 24.
  • Preserves client/server legs, test filters, minimum test counts, quarantine handling, and result publication.

Full hosted E2E qualification remains pending; the reported local checks do not establish full-suite success.

File Description
.azure/​pipelines/​jobs/​components-e2e-test-job.yml Selects the Azure Linux 4 Chrome container and disables separate Node installation.

Review effort: Balanced

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants