Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates for .NET 9 #5983

Draft
wants to merge 14 commits into
base: main
Choose a base branch
from

Change chiseled section to distroless and move to image variants

0ec5bb4
Select commit
Loading
Failed to load commit list.
Draft

Updates for .NET 9 #5983

Change chiseled section to distroless and move to image variants
0ec5bb4
Select commit
Loading
Failed to load commit list.
Azure Pipelines / dotnet-docker-samples-pr failed Oct 22, 2024 in 3m 3s

Build #20241022.2 had test failures

Details

Tests

  • Failed: 4 (3.74%)
  • Passed: 103 (96.26%)
  • Other: 0 (0.00%)
  • Total: 107

Annotations

Check failure on line 159 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / dotnet-docker-samples-pr

Build log #L159

PowerShell exited with code '1'.

Check failure on line 1 in Microsoft.DotNet.Docker.Tests.StaticTagTests.LatestTag_OnCorrectMajorVersion

See this annotation in the file changed.

@azure-pipelines azure-pipelines / dotnet-docker-samples-pr

Microsoft.DotNet.Docker.Tests.StaticTagTests.LatestTag_OnCorrectMajorVersion

Expected actualMajorVersion to be 8 because expected latest tag to be on the latest major version, but found 9.
Raw output
   at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
   at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
   at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args)
   at FluentAssertions.Numeric.NumericAssertions`2.Be(T expected, String because, Object[] becauseArgs)
   at Microsoft.DotNet.Docker.Tests.StaticTagTests.LatestTag_OnCorrectMajorVersion(Repo repo) in /repo/tests/Microsoft.DotNet.Docker.Tests/StaticTagTests.cs:line 92
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)

Check failure on line 1 in Microsoft.DotNet.Docker.Tests.StaticTagTests.LatestTag_OnCorrectMajorVersion

See this annotation in the file changed.

@azure-pipelines azure-pipelines / dotnet-docker-samples-pr

Microsoft.DotNet.Docker.Tests.StaticTagTests.LatestTag_OnCorrectMajorVersion

Expected actualMajorVersion to be 8 because expected latest tag to be on the latest major version, but found 9.
Raw output
   at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
   at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
   at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args)
   at FluentAssertions.Numeric.NumericAssertions`2.Be(T expected, String because, Object[] becauseArgs)
   at Microsoft.DotNet.Docker.Tests.StaticTagTests.LatestTag_OnCorrectMajorVersion(Repo repo) in /repo/tests/Microsoft.DotNet.Docker.Tests/StaticTagTests.cs:line 92
   at InvokeStub_StaticTagTests.LatestTag_OnCorrectMajorVersion(Object, Span`1)
   at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

Check failure on line 1 in Microsoft.DotNet.Docker.Tests.StaticTagTests.LatestTag_OnCorrectMajorVersion

See this annotation in the file changed.

@azure-pipelines azure-pipelines / dotnet-docker-samples-pr

Microsoft.DotNet.Docker.Tests.StaticTagTests.LatestTag_OnCorrectMajorVersion

Expected actualMajorVersion to be 8 because expected latest tag to be on the latest major version, but found 9.
Raw output
   at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
   at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
   at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args)
   at FluentAssertions.Numeric.NumericAssertions`2.Be(T expected, String because, Object[] becauseArgs)
   at Microsoft.DotNet.Docker.Tests.StaticTagTests.LatestTag_OnCorrectMajorVersion(Repo repo) in /repo/tests/Microsoft.DotNet.Docker.Tests/StaticTagTests.cs:line 92
   at InvokeStub_StaticTagTests.LatestTag_OnCorrectMajorVersion(Object, Span`1)
   at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

Check failure on line 1 in Microsoft.DotNet.Docker.Tests.StaticTagTests.LatestTag_OnCorrectMajorVersion

See this annotation in the file changed.

@azure-pipelines azure-pipelines / dotnet-docker-samples-pr

Microsoft.DotNet.Docker.Tests.StaticTagTests.LatestTag_OnCorrectMajorVersion

Expected actualMajorVersion to be 8 because expected latest tag to be on the latest major version, but found 9.
Raw output
   at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
   at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
   at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args)
   at FluentAssertions.Numeric.NumericAssertions`2.Be(T expected, String because, Object[] becauseArgs)
   at Microsoft.DotNet.Docker.Tests.StaticTagTests.LatestTag_OnCorrectMajorVersion(Repo repo) in /repo/tests/Microsoft.DotNet.Docker.Tests/StaticTagTests.cs:line 92
   at InvokeStub_StaticTagTests.LatestTag_OnCorrectMajorVersion(Object, Span`1)
   at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)