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

[release/9.0.1xx] Fix writing dotnet test results when terminal logger is off #43871

Merged
merged 3 commits into from
Oct 4, 2024

Merge branch 'release/9.0.1xx' into Fix-reading-tl

42eb4bd
Select commit
Loading
Failed to load commit list.
Merged

[release/9.0.1xx] Fix writing dotnet test results when terminal logger is off #43871

Merge branch 'release/9.0.1xx' into Fix-reading-tl
42eb4bd
Select commit
Loading
Failed to load commit list.
Azure Pipelines / dotnet-sdk-public-ci succeeded Oct 3, 2024 in 1h 9m 0s

Build #20241003.18 had test failures

Details

Tests

  • Failed: 8 (0.03%)
  • Passed: 23,399 (92.63%)
  • Other: 1,854 (7.34%)
  • Total: 25,261

Annotations

Check failure on line 1 in Microsoft.NET.Build.Containers.Tasks.IntegrationTests.CreateNewImageTests.Tasks_EndToEnd_With_EnvironmentVariable_Validation

See this annotation in the file changed.

@azure-pipelines azure-pipelines / dotnet-sdk-public-ci

Microsoft.NET.Build.Containers.Tasks.IntegrationTests.CreateNewImageTests.Tasks_EndToEnd_With_EnvironmentVariable_Validation

System.InvalidOperationException : The registry was not loaded after 5 retries. Spawn registry attempt #1 failed, Xunit.Sdk.XunitException: Expected command to pass but it did not.
File Name: docker
Arguments: run --rm --publish 5010:5000 --detach docker.io/library/registry:2
Exit Code: 125
StdOut:

StdErr:
Unable to find image 'registry:2' locally
docker: Error response from daemon: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit.
See 'docker run --help'.

   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)
   at Microsoft.NET.TestFramework.Assertions.CommandResultAssertions.Pass() in /_/test/Microsoft.NET.TestFramework/Assertions/CommandResultAssertions.cs:line 29
   at Microsoft.NET.Build.Containers.IntegrationTests.DockerRegistryManager.StartAndPopulateDockerRegistry(ITestOutputHelper testOutput) in /_/test/Microsoft.NET.Build.Containers.IntegrationTests/DockerRegistryManager.cs:line 60
Spawn registry attempt #2 failed, Xunit.Sdk.XunitException: Expected command to pass but it did not.
File Name: docker
Arguments: run --rm --publish 5010:5000 --detach docker.io/library/registry:2
Exit Code: 125
StdOut:

StdErr:
Unable to find image 'registry:2' locally
docker: Error response from daemon: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit.
See 'docker run --help'.

   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)
   at Microsoft.NET.TestFramework.Assertions.CommandResultAssertions.Pass() in /_/test/Microsoft.NET.TestFramework/Assertions/CommandResultAssertions.cs:line 29
   at Microsoft.NET.Build.Containers.IntegrationTests.DockerRegistryManager.StartAndPopulateDockerRegistry(ITestOutputHelper testOutput) in /_/test/Microsoft.NET.Build.Containers.IntegrationTests/DockerRegistryManager.cs:line 60
Spawn registry attempt #3 failed, Xunit.Sdk.XunitException: Expected command to pass but it did not.
File Name: docker
Arguments: run --rm --publish 5010:5000 --detach docker.io/library/registry:2
Exit Code: 125
StdOut:

StdErr:
Unable to find image 'registry:2' locally
docker: Error response from daemon: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit.
See 'docker run --help'.

   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)
   at Microsoft.NET.TestFramework.Assertions.CommandResultAssertions.Pass() in /_/test/Microsoft.NET.TestFramework/Assertions/CommandResultAssertions.cs:line 29
   at Microsoft.NET.Build.Containers.IntegrationTests.DockerRegistryManager.Start
Raw output
   at Microsoft.NET.Build.Containers.IntegrationTests.DockerRegistryManager.StartAndPopulateDockerRegistry(ITestOutputHelper testOutput) in /_/test/Microsoft.NET.Build.Containers.IntegrationTests/DockerRegistryManager.cs:line 109
   at Microsoft.NET.Build.Containers.IntegrationTests.DockerTestsFixture..ctor(IMessageSink messageSink) in /_/test/Microsoft.NET.Build.Containers.IntegrationTests/DockerTestsFixture.cs:line 15
   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.NET.Build.Containers.Tasks.IntegrationTests.CreateNewImageTests.ParseContainerProperties_EndToEnd

See this annotation in the file changed.

@azure-pipelines azure-pipelines / dotnet-sdk-public-ci

Microsoft.NET.Build.Containers.Tasks.IntegrationTests.CreateNewImageTests.ParseContainerProperties_EndToEnd

System.InvalidOperationException : The registry was not loaded after 5 retries. Spawn registry attempt #1 failed, Xunit.Sdk.XunitException: Expected command to pass but it did not.
File Name: docker
Arguments: run --rm --publish 5010:5000 --detach docker.io/library/registry:2
Exit Code: 125
StdOut:

StdErr:
Unable to find image 'registry:2' locally
docker: Error response from daemon: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit.
See 'docker run --help'.

   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)
   at Microsoft.NET.TestFramework.Assertions.CommandResultAssertions.Pass() in /_/test/Microsoft.NET.TestFramework/Assertions/CommandResultAssertions.cs:line 29
   at Microsoft.NET.Build.Containers.IntegrationTests.DockerRegistryManager.StartAndPopulateDockerRegistry(ITestOutputHelper testOutput) in /_/test/Microsoft.NET.Build.Containers.IntegrationTests/DockerRegistryManager.cs:line 60
Spawn registry attempt #2 failed, Xunit.Sdk.XunitException: Expected command to pass but it did not.
File Name: docker
Arguments: run --rm --publish 5010:5000 --detach docker.io/library/registry:2
Exit Code: 125
StdOut:

StdErr:
Unable to find image 'registry:2' locally
docker: Error response from daemon: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit.
See 'docker run --help'.

   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)
   at Microsoft.NET.TestFramework.Assertions.CommandResultAssertions.Pass() in /_/test/Microsoft.NET.TestFramework/Assertions/CommandResultAssertions.cs:line 29
   at Microsoft.NET.Build.Containers.IntegrationTests.DockerRegistryManager.StartAndPopulateDockerRegistry(ITestOutputHelper testOutput) in /_/test/Microsoft.NET.Build.Containers.IntegrationTests/DockerRegistryManager.cs:line 60
Spawn registry attempt #3 failed, Xunit.Sdk.XunitException: Expected command to pass but it did not.
File Name: docker
Arguments: run --rm --publish 5010:5000 --detach docker.io/library/registry:2
Exit Code: 125
StdOut:

StdErr:
Unable to find image 'registry:2' locally
docker: Error response from daemon: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit.
See 'docker run --help'.

   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)
   at Microsoft.NET.TestFramework.Assertions.CommandResultAssertions.Pass() in /_/test/Microsoft.NET.TestFramework/Assertions/CommandResultAssertions.cs:line 29
   at Microsoft.NET.Build.Containers.IntegrationTests.DockerRegistryManager.Start
Raw output
   at Microsoft.NET.Build.Containers.IntegrationTests.DockerRegistryManager.StartAndPopulateDockerRegistry(ITestOutputHelper testOutput) in /_/test/Microsoft.NET.Build.Containers.IntegrationTests/DockerRegistryManager.cs:line 109
   at Microsoft.NET.Build.Containers.IntegrationTests.DockerTestsFixture..ctor(IMessageSink messageSink) in /_/test/Microsoft.NET.Build.Containers.IntegrationTests/DockerTestsFixture.cs:line 15
   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.NET.Build.Containers.Tasks.IntegrationTests.CreateNewImageTests.CreateNewImage_Baseline

See this annotation in the file changed.

@azure-pipelines azure-pipelines / dotnet-sdk-public-ci

Microsoft.NET.Build.Containers.Tasks.IntegrationTests.CreateNewImageTests.CreateNewImage_Baseline

System.InvalidOperationException : The registry was not loaded after 5 retries. Spawn registry attempt #1 failed, Xunit.Sdk.XunitException: Expected command to pass but it did not.
File Name: docker
Arguments: run --rm --publish 5010:5000 --detach docker.io/library/registry:2
Exit Code: 125
StdOut:

StdErr:
Unable to find image 'registry:2' locally
docker: Error response from daemon: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit.
See 'docker run --help'.

   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)
   at Microsoft.NET.TestFramework.Assertions.CommandResultAssertions.Pass() in /_/test/Microsoft.NET.TestFramework/Assertions/CommandResultAssertions.cs:line 29
   at Microsoft.NET.Build.Containers.IntegrationTests.DockerRegistryManager.StartAndPopulateDockerRegistry(ITestOutputHelper testOutput) in /_/test/Microsoft.NET.Build.Containers.IntegrationTests/DockerRegistryManager.cs:line 60
Spawn registry attempt #2 failed, Xunit.Sdk.XunitException: Expected command to pass but it did not.
File Name: docker
Arguments: run --rm --publish 5010:5000 --detach docker.io/library/registry:2
Exit Code: 125
StdOut:

StdErr:
Unable to find image 'registry:2' locally
docker: Error response from daemon: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit.
See 'docker run --help'.

   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)
   at Microsoft.NET.TestFramework.Assertions.CommandResultAssertions.Pass() in /_/test/Microsoft.NET.TestFramework/Assertions/CommandResultAssertions.cs:line 29
   at Microsoft.NET.Build.Containers.IntegrationTests.DockerRegistryManager.StartAndPopulateDockerRegistry(ITestOutputHelper testOutput) in /_/test/Microsoft.NET.Build.Containers.IntegrationTests/DockerRegistryManager.cs:line 60
Spawn registry attempt #3 failed, Xunit.Sdk.XunitException: Expected command to pass but it did not.
File Name: docker
Arguments: run --rm --publish 5010:5000 --detach docker.io/library/registry:2
Exit Code: 125
StdOut:

StdErr:
Unable to find image 'registry:2' locally
docker: Error response from daemon: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit.
See 'docker run --help'.

   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)
   at Microsoft.NET.TestFramework.Assertions.CommandResultAssertions.Pass() in /_/test/Microsoft.NET.TestFramework/Assertions/CommandResultAssertions.cs:line 29
   at Microsoft.NET.Build.Containers.IntegrationTests.DockerRegistryManager.Start
Raw output
   at Microsoft.NET.Build.Containers.IntegrationTests.DockerRegistryManager.StartAndPopulateDockerRegistry(ITestOutputHelper testOutput) in /_/test/Microsoft.NET.Build.Containers.IntegrationTests/DockerRegistryManager.cs:line 109
   at Microsoft.NET.Build.Containers.IntegrationTests.DockerTestsFixture..ctor(IMessageSink messageSink) in /_/test/Microsoft.NET.Build.Containers.IntegrationTests/DockerTestsFixture.cs:line 15
   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.NET.Build.Containers.Tasks.IntegrationTests.CreateNewImageTests.CreateNewImage_RootlessBaseImage

See this annotation in the file changed.

@azure-pipelines azure-pipelines / dotnet-sdk-public-ci

Microsoft.NET.Build.Containers.Tasks.IntegrationTests.CreateNewImageTests.CreateNewImage_RootlessBaseImage

System.InvalidOperationException : The registry was not loaded after 5 retries. Spawn registry attempt #1 failed, Xunit.Sdk.XunitException: Expected command to pass but it did not.
File Name: docker
Arguments: run --rm --publish 5010:5000 --detach docker.io/library/registry:2
Exit Code: 125
StdOut:

StdErr:
Unable to find image 'registry:2' locally
docker: Error response from daemon: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit.
See 'docker run --help'.

   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)
   at Microsoft.NET.TestFramework.Assertions.CommandResultAssertions.Pass() in /_/test/Microsoft.NET.TestFramework/Assertions/CommandResultAssertions.cs:line 29
   at Microsoft.NET.Build.Containers.IntegrationTests.DockerRegistryManager.StartAndPopulateDockerRegistry(ITestOutputHelper testOutput) in /_/test/Microsoft.NET.Build.Containers.IntegrationTests/DockerRegistryManager.cs:line 60
Spawn registry attempt #2 failed, Xunit.Sdk.XunitException: Expected command to pass but it did not.
File Name: docker
Arguments: run --rm --publish 5010:5000 --detach docker.io/library/registry:2
Exit Code: 125
StdOut:

StdErr:
Unable to find image 'registry:2' locally
docker: Error response from daemon: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit.
See 'docker run --help'.

   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)
   at Microsoft.NET.TestFramework.Assertions.CommandResultAssertions.Pass() in /_/test/Microsoft.NET.TestFramework/Assertions/CommandResultAssertions.cs:line 29
   at Microsoft.NET.Build.Containers.IntegrationTests.DockerRegistryManager.StartAndPopulateDockerRegistry(ITestOutputHelper testOutput) in /_/test/Microsoft.NET.Build.Containers.IntegrationTests/DockerRegistryManager.cs:line 60
Spawn registry attempt #3 failed, Xunit.Sdk.XunitException: Expected command to pass but it did not.
File Name: docker
Arguments: run --rm --publish 5010:5000 --detach docker.io/library/registry:2
Exit Code: 125
StdOut:

StdErr:
Unable to find image 'registry:2' locally
docker: Error response from daemon: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit.
See 'docker run --help'.

   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)
   at Microsoft.NET.TestFramework.Assertions.CommandResultAssertions.Pass() in /_/test/Microsoft.NET.TestFramework/Assertions/CommandResultAssertions.cs:line 29
   at Microsoft.NET.Build.Containers.IntegrationTests.DockerRegistryManager.Start
Raw output
   at Microsoft.NET.Build.Containers.IntegrationTests.DockerRegistryManager.StartAndPopulateDockerRegistry(ITestOutputHelper testOutput) in /_/test/Microsoft.NET.Build.Containers.IntegrationTests/DockerRegistryManager.cs:line 109
   at Microsoft.NET.Build.Containers.IntegrationTests.DockerTestsFixture..ctor(IMessageSink messageSink) in /_/test/Microsoft.NET.Build.Containers.IntegrationTests/DockerTestsFixture.cs:line 15
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)