[release/9.0.1xx] Fix writing dotnet test results when terminal logger is off #43871
.NET Result Analysis
Details
All checks completed
Build Rerun
✔️ Build passed after 1 retries.
(Attempt #1) [link to build]
dotnet-sdk-public-ci / Build / TestBuild: linux (x64) / Run TestBuild Tests
[ 🚧 Report infrastructure issue] [ 📄 Report repository issue]-
❌.packages/microsoft.dotnet.helix.sdk/9.0.0-beta.24473.1/tools/azure-pipelines/AzurePipelines.MultiQueue.targets(44,5): error : (NETCORE_ENGINEERING_TELEMETRY=Test) Test Microsoft.NET.Build.Containers.Tasks.IntegrationTests.CreateNewImageTests.Tasks_EndToEnd_With_EnvironmentVariable_Validation has failed. Check the Test tab or [this console log]
-
❌.packages/microsoft.dotnet.helix.sdk/9.0.0-beta.24473.1/tools/azure-pipelines/AzurePipelines.MultiQueue.targets(44,5): error : (NETCORE_ENGINEERING_TELEMETRY=Test) Test Microsoft.NET.Build.Containers.Tasks.IntegrationTests.CreateNewImageTests.ParseContainerProperties_EndToEnd has failed. Check the Test tab or [this console log]
-
❌.packages/microsoft.dotnet.helix.sdk/9.0.0-beta.24473.1/tools/azure-pipelines/AzurePipelines.MultiQueue.targets(44,5): error : (NETCORE_ENGINEERING_TELEMETRY=Test) Test Microsoft.NET.Build.Containers.Tasks.IntegrationTests.CreateNewImageTests.CreateNewImage_RootlessBaseImage has failed. Check the Test tab or [this console log]
- ❌ 1 more errors on this task
Non-Deterministic Test Failures Detected
❌ Microsoft.NET.Build.Containers.Tasks.IntegrationTests.CreateNewImageTests.CreateNewImage_Baseline [Console] [Details] [Artifacts] [2.55% failure rate]
-
[ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]
- Exception Message
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- CallStack
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)
Failing Configurations (2)
❌ Microsoft.NET.Build.Containers.Tasks.IntegrationTests.CreateNewImageTests.CreateNewImage_RootlessBaseImage [Console] [Details] [Artifacts] [2.55% failure rate]
-
[ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]
- Exception Message
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- CallStack
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)
Failing Configurations (2)
❌ Microsoft.NET.Build.Containers.Tasks.IntegrationTests.CreateNewImageTests.ParseContainerProperties_EndToEnd [Console] [Details] [Artifacts] [2.55% failure rate]
-
[ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]
- Exception Message
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- CallStack
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)