Add Ubuntu 26.04 "Resolute" images for .NET 10 #7107
Azure Pipelines / dotnet-docker-samples-pr
failed
Apr 1, 2026 in 4m 19s
Build #20260401.3 had test failures
Details
- Failed: 1 (0.73%)
- Passed: 136 (99.27%)
- Other: 0 (0.00%)
- Total: 137
Annotations
Check failure on line 1747 in Build log
azure-pipelines / dotnet-docker-samples-pr
Build log #L1747
PowerShell exited with code '1'.
azure-pipelines / dotnet-docker-samples-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/runtime-10.0-resolute-chiseled-extra-amd64-Dockerfile.received.txt" "/repo/tests/Microsoft.DotNet.Docker.Tests/Baselines/GeneratedArtifactTests/VerifyInternalDockerfilesOutput/runtime-10.0-resolute-chiseled-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 amd64/buildpack-deps:resolute-curl AS installer
ARG ACCESSTOKEN
# Retrieve .NET Runtime
RUN dotnet_version=0.0.0 \
&& dotnet_build_version=$dotnet_version \
&& curl --header "Authorization: Bearer $ACCESSTOKEN" --header "x-ms-version: 2017-11-09" --fail --show-error --location \
--remote-name https://dotnetstage.blob.core.windows.net/Runtime/$dotnet_build_version/dotnet-runtime-$dotnet_build_version-linux-x64.tar.gz \
--remote-name https://dotnetstage.blob.core.windows.net/Runtime/$dotnet_build_version/dotnet-runtime-$dotnet_build_version-linux-x64.tar.gz.sha512 \
&& echo "$(cat dotnet-runtime-$dotnet_build_version-linux-x64.tar.gz.sha512| tr 'A-F' 'a-f') dotnet-runtime-$dotnet_build_version-linux-x64.tar.gz" | sha512sum -c - \
&& mkdir --parents /usr/share/dotnet \
&& tar --gzip --extract --no-same-owner --file dotnet-runtime-$dotnet_build_version-linux-x64.tar.gz --directory /usr/share/dotnet \
&& rm \
dotnet-runtime-$dotnet_build_version-linux-x64.tar.gz \
dotnet-runtime-$dotnet_build_version-linux-x64.tar.gz.sha512
RUN mkdir /dotnet-symlink \
&& ln -s /usr/share/dotnet/dotnet /dotnet-symlink/dotnet
# .NET runtime image
FROM $REPO:0.0.0-resolute-chiseled-amd64
# .NET Runtime version
ENV DOTNET_VERSION=0.0.0
COPY --from=installer ["/usr/share/dotnet", "/usr/share/dotnet"]
COPY --from=installer ["/dotnet-symlink", "/usr/bin"]
ENTRYPOINT ["/usr/bin/dotnet"]
CMD ["--info"]
"
but was
"ARG REPO=mcr.microsoft.com/dotnet/runtime-deps
# Installer image
FROM amd64/buildpack-deps:resolute-curl AS installer
ARG ACCESSTOKEN
# Retrieve .NET Runtime
RUN dotnet_version=0.0.0 \
&& dotnet_build_version=$dotnet_version \
&& curl --header "Authorization: Bearer $ACCESSTOKEN" --header "x-ms-version: 2017-11-09" --fail --show-error --location \
--remote-name https://dotnetstage.blob.core.windows.net/Runtime/$dotnet_build_version/dotnet-runtime-$dotnet_build_version-linux-x64.tar.gz \
--remote-name https://dotnetstage.blob.core.windows.net/Runtime/$dotnet_build_version/dotnet-runtime-$dotnet_build_version-linux-x64.tar.gz.sha512 \
&& echo "$(cat dotnet-runtime-$dotnet_build_version-linux-x64.tar.gz.sha512| tr 'A-F' 'a-f') dotnet-runtime-$dotnet_build_version-linux-x64.tar.gz" | sha512sum -c - \
&& mkdir --parents /usr/share/dotnet \
&& tar --gzip --extract --no-same-owner --file dotnet-runtime-$dotnet_build_version-linux-x64.tar.gz --directory /usr/share/dotnet \
&& rm \
dotnet-runtime-$dotnet_build_version-linux-x64.tar.gz \
dotnet-runtime-$dotnet_build_version-linux-x64.tar.gz.sha512
RUN mkdir /dotnet-symlink \
&& ln -s /usr/share/dotnet/dotnet /dotnet-symlink/dotnet
# .NET runtime image
FROM $REPO:0.0.0-resolute-chiseled-extra-amd64
# .NET Runtime version
ENV DOTNET_VERSION=0.0.0
COPY --from=installer ["/usr/share/dotnet", "/usr/share/dotnet"]
CO
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