Updates for March 2026 .NET Releases #7072
+3,213
−7,302
Merged
Azure Pipelines / dotnet-docker-pr
failed
Mar 10, 2026 in 4m 55s
Build #20260310.2 had test failures
Details
- Failed: 1 (0.86%)
- Passed: 115 (99.14%)
- Other: 0 (0.00%)
- Total: 116
Annotations
Check failure on line 13388 in Build log
azure-pipelines / dotnet-docker-pr
Build log #L13388
PowerShell exited with code '1'.
azure-pipelines / dotnet-docker-pr
Microsoft.DotNet.Docker.Tests.GeneratedArtifactTests.VerifyInternalDockerfilesOutput
Shouldly.ShouldAssertException : collection
should satisfy all the conditions specified, but does not.
The following errors were found ...
--------------- Error 1 ---------------
To approve the changes run this command:
cp "/repo/tests/Microsoft.DotNet.Docker.Tests/Baselines/GeneratedArtifactTests/VerifyInternalDockerfilesOutput/aspnet-11.0-alpine3.23-composite-extra-amd64-Dockerfile.received.txt" "/repo/tests/Microsoft.DotNet.Docker.Tests/Baselines/GeneratedArtifactTests/VerifyInternalDockerfilesOutput/aspnet-11.0-alpine3.23-composite-extra-amd64-Dockerfile.approved.txt"
----------------------------
path => File.ReadAllText(path)
should match approved with options: Ignoring line endings
"ARG REPO=mcr.microsoft.com/dotnet/runtime-deps
# Installer image
FROM $REPO:0.0.0-alpine3.XX-extra-amd64 AS installer
ARG ACCESSTOKEN
# Retrieve ASP.NET Composite Runtime
RUN aspnetcore_version=0.0.0 \
&& aspnetcore_file_version=0.0.0 \
&& wget --header "Authorization: Bearer $ACCESSTOKEN" --header "x-ms-version: 2017-11-09" \
https://dotnetstage.blob.core.windows.net/aspnetcore/Runtime/$aspnetcore_version/aspnetcore-runtime-composite-$aspnetcore_file_version-linux-musl-x64.tar.gz \
https://dotnetstage.blob.core.windows.net/aspnetcore/Runtime/$aspnetcore_version/aspnetcore-runtime-composite-$aspnetcore_file_version-linux-musl-x64.tar.gz.sha512 \
&& echo "$(cat aspnetcore-runtime-composite-$aspnetcore_file_version-linux-musl-x64.tar.gz.sha512) aspnetcore-runtime-composite-$aspnetcore_file_version-linux-musl-x64.tar.gz" | sha512sum -c - \
&& mkdir --parents /dotnet \
&& tar --gzip --extract --no-same-owner --file aspnetcore-runtime-composite-$aspnetcore_file_version-linux-musl-x64.tar.gz --directory /dotnet \
&& rm \
aspnetcore-runtime-composite-$aspnetcore_file_version-linux-musl-x64.tar.gz \
aspnetcore-runtime-composite-$aspnetcore_file_version-linux-musl-x64.tar.gz.sha512
# ASP.NET Composite Image
FROM $REPO:0.0.0-alpine3.XX-extra-amd64
ENV \
# .NET Runtime version
DOTNET_VERSION=0.0.0 \
# ASP.NET Core version
ASPNET_VERSION=0.0.0
COPY --from=installer ["/dotnet", "/usr/share/dotnet"]
RUN ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet
"
but was
"ARG REPO=mcr.microsoft.com/dotnet/runtime-deps
# Installer image
FROM $REPO:0.0.0-alpine3.XX-extra-amd64 AS installer
ARG ACCESSTOKEN
# Retrieve ASP.NET Composite Runtime
RUN aspnetcore_version=0.0.0 \
&& wget --header "Authorization: Bearer $ACCESSTOKEN" --header "x-ms-version: 2017-11-09" \
https://dotnetstage.blob.core.windows.net/aspnetcore/Runtime/$aspnetcore_version/aspnetcore-runtime-composite-$aspnetcore_version-linux-musl-x64.tar.gz \
https://dotnetstage.blob.core.windows.net/aspnetcore/Runtime/$aspnetcore_version/aspnetcore-runtime-composite-$aspnetcore_version-linux-musl-x64.tar.gz.sha512 \
&& echo "$(cat aspnetcore-runtime-composite-$aspnetcore_version-linux-musl-x64.tar.gz.sha512) aspnetcore-runtime-composite-$aspnetcore_version-linux-musl-x64.tar.gz" | sha512sum -c - \
&& mkdir --parents /dotnet \
&& tar --gzip --extract --no-same-owner --file aspnetcore-runtime-composite-$aspnetcore_version-linux-musl-x64.tar.gz --directory /dotnet \
&& rm \
aspnetcore-runtime-composite-$aspnetcore_version-linux-musl-x64.tar.gz \
aspnetcore-runtime-composite-$aspnetcore_version-linux-musl-x64.tar.gz.sha512
# ASP.NET Composite Image
FROM $REPO:0.0.0-alpine3.XX-extra-amd64
ENV \
# .NET Runtime version
DOTNET_VERSION=0.0.0 \
# ASP.NET Core version
ASPNET_VERSION=0.0.0
COPY --from=installer ["/dotnet", "/usr/share/dotnet"]
RUN ln -s /usr/share/dotne
Raw output
at Microsoft.DotNet.Docker.Tests.Extensions.ShouldlyExtensions.ShouldAllSatisfy[T](IEnumerable`1 collection, Action`1 condition) in /repo/tests/Microsoft.DotNet.Docker.Tests/Extensions/ShouldlyExtensions.cs:line 16
at Microsoft.DotNet.Docker.Tests.GeneratedArtifactTests.VerifyInternalDockerfilesOutput() in /repo/tests/Microsoft.DotNet.Docker.Tests/GeneratedArtifactTests.cs:line 147
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
Loading