Skip to content

Update enterprise authentication fixtures to Ubuntu 26.04 - #136340

Merged
steveisok merged 3 commits into
mainfrom
steveisok-enterprise-auth-container-migration
Oct 25, 2026
Merged

steveisok merged 3 commits into
mainfrom
steveisok-enterprise-auth-container-migration

Conversation

@steveisok

Copy link
Copy Markdown
Member

Summary

Update only the FROM line in the Apache, KDC, and Linux client fixture Dockerfiles under src/libraries/Common/tests/System/Net/EnterpriseTests/setup/:

-FROM mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-24.04
+FROM mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-26.04-amd64

This is the bounded fixture-image change for E1 in #136313; it does not close that tracker or establish E1 as validated/complete. The unqualified ubuntu-26.04 tag is unavailable (HTTP 404), so use the published Linux/AMD64 tag for the existing AMD64 enterprise lane.

No package, setup script, authentication configuration, Compose networking/service behavior, alternate Apache service, pipeline, or build-agent host changes. No ARM64 plumbing or other infrastructure changes.

Local validation

  • docker manifest inspect --verbose mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-26.04-amd64 — passed; confirmed os=linux, architecture=amd64, manifest digest sha256:9652406444a2d3527125566f0787ba0839efca9d009de374a3efc22570f19501.
  • DOTNET_RUNTIME_REPO_ROOT="$PWD" docker compose -f src/libraries/Common/tests/System/Net/EnterpriseTests/setup/docker-compose.yml config --quiet — passed with the isolated worktree as the repository root. Compose emitted the existing obsolete-version warning; the Compose file is unchanged.
  • Parsed Compose JSON and asserted the four services, three build contexts, worktree /repo mount, dependencies, shared volume, network aliases, and NTLM/alternate-Apache command flags — passed.
  • Exact-content assertions verified only the three approved FROM lines changed, with every other byte preserved — passed.
  • git diff --check and git diff --cached --check — passed before commit.

No local Docker image builds, container startup, product builds, or authentication runtime tests were run. Ubuntu 26.04 package/setup compatibility, the custom Apache NTLM module build, OpenSSL legacy-provider configuration, and Kerberos/Samba/NTLM/Negotiate runtime behavior remain unverified.

Required CI validation

The dedicated eng/pipelines/libraries/enterprise/linux.yml pipeline, stage Build, job EnterpriseLinuxTests, must validate this change on its existing AMD64 host (build.azurelinux.3.amd64.open): build all three fixture images, start the four-service Compose topology, check client/webserver connectivity, build clr+libs and the enterprise test projects, and run the System.Net.Http, System.Net.Security, and System.Net.Requests enterprise suites. Preserve the alternate Apache service and authentication coverage.

A passing ordinary runtime pipeline is not equivalent to this dedicated enterprise validation. CI results are pending.

Note

This pull request description and change were prepared with GitHub Copilot.

Use the published Ubuntu 26.04 AMD64 prerequisite image for Apache, KDC, and the Linux client. Preserve the existing enterprise CI topology and setup.

Co-authored-by: Copilot App <[email protected]>
Copilot-Session: 33938569-af3b-43fb-92c9-6924ba256713
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 4 pipeline(s).
12 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: @karelz, @dotnet/ncl
See info in area-owners.md if you want to be subscribed.

Load mod_delay, mod_ls, and mod_xfer explicitly, matching the Ubuntu 26.04 package defaults. The custom configuration needs mod_xfer for AllowOverwrite and mod_ls for directory listings.

Co-authored-by: Copilot App <[email protected]>
Copilot-Session: 33938569-af3b-43fb-92c9-6924ba256713
Ubuntu 26.04 packages the AD domain controller daemon and init script separately from samba. Install samba-ad-dc explicitly so the existing setup also receives its required samba-tool dependency.

Co-authored-by: Copilot App <[email protected]>
Copilot-Session: 33938569-af3b-43fb-92c9-6924ba256713
@steveisok

Copy link
Copy Markdown
Member Author

@wfurt legs pass, so I'm assuming we're good.

@steveisok
steveisok merged commit 8b5b1f2 into main Oct 25, 2026
83 of 85 checks passed
@steveisok
steveisok deleted the steveisok-enterprise-auth-container-migration branch October 25, 2026 19:30
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 12.0-preview1 milestone Oct 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants