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

Clean up error experience when downloading non-tools #43045

Merged
merged 12 commits into from
Sep 16, 2024

Use Graceful exception to only report the error

aed512a
Select commit
Loading
Failed to load commit list.
Merged

Clean up error experience when downloading non-tools #43045

Use Graceful exception to only report the error
aed512a
Select commit
Loading
Failed to load commit list.
Azure Pipelines / dotnet-sdk-public-ci failed Sep 16, 2024 in 53m 27s

Build #20240916.18 had test failures

Details

Tests

  • Failed: 16 (0.08%)
  • Passed: 19,723 (92.90%)
  • Other: 1,491 (7.02%)
  • Total: 21,230

Annotations

Check failure on line 44 in .packages/microsoft.dotnet.helix.sdk/9.0.0-beta.24462.3/tools/azure-pipelines/AzurePipelines.MultiQueue.targets

See this annotation in the file changed.

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

.packages/microsoft.dotnet.helix.sdk/9.0.0-beta.24462.3/tools/azure-pipelines/AzurePipelines.MultiQueue.targets#L44

.packages/microsoft.dotnet.helix.sdk/9.0.0-beta.24462.3/tools/azure-pipelines/AzurePipelines.MultiQueue.targets(44,5): error : (NETCORE_ENGINEERING_TELEMETRY=Test) Test Microsoft.NET.Build.Containers.IntegrationTests.DockerRegistryTests.GetFromRegistry has failed. Check the Test tab or this console log: https://helix.dot.net/api/2019-06-17/jobs/5b980006-affb-4a08-8dfc-52a6cc44d817/workitems/Microsoft.NET.Build.Containers.IntegrationTests.dll.1/console

Check failure on line 44 in .packages/microsoft.dotnet.helix.sdk/9.0.0-beta.24462.3/tools/azure-pipelines/AzurePipelines.MultiQueue.targets

See this annotation in the file changed.

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

.packages/microsoft.dotnet.helix.sdk/9.0.0-beta.24462.3/tools/azure-pipelines/AzurePipelines.MultiQueue.targets#L44

.packages/microsoft.dotnet.helix.sdk/9.0.0-beta.24462.3/tools/azure-pipelines/AzurePipelines.MultiQueue.targets(44,5): error : (NETCORE_ENGINEERING_TELEMETRY=Test) Test Microsoft.NET.Build.Containers.IntegrationTests.EndToEndTests.EndToEnd_NoAPI_Console has failed. Check the Test tab or this console log: https://helix.dot.net/api/2019-06-17/jobs/5b980006-affb-4a08-8dfc-52a6cc44d817/workitems/Microsoft.NET.Build.Containers.IntegrationTests.dll.1/console

Check failure on line 44 in .packages/microsoft.dotnet.helix.sdk/9.0.0-beta.24462.3/tools/azure-pipelines/AzurePipelines.MultiQueue.targets

See this annotation in the file changed.

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

.packages/microsoft.dotnet.helix.sdk/9.0.0-beta.24462.3/tools/azure-pipelines/AzurePipelines.MultiQueue.targets#L44

.packages/microsoft.dotnet.helix.sdk/9.0.0-beta.24462.3/tools/azure-pipelines/AzurePipelines.MultiQueue.targets(44,5): error : (NETCORE_ENGINEERING_TELEMETRY=Test) Test Microsoft.NET.Build.Containers.IntegrationTests.EndToEndTests.EndToEnd_NoAPI_ProjectType has failed. Check the Test tab or this console log: https://helix.dot.net/api/2019-06-17/jobs/5b980006-affb-4a08-8dfc-52a6cc44d817/workitems/Microsoft.NET.Build.Containers.IntegrationTests.dll.1/console

Check failure on line 44 in .packages/microsoft.dotnet.helix.sdk/9.0.0-beta.24462.3/tools/azure-pipelines/AzurePipelines.MultiQueue.targets

See this annotation in the file changed.

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

.packages/microsoft.dotnet.helix.sdk/9.0.0-beta.24462.3/tools/azure-pipelines/AzurePipelines.MultiQueue.targets#L44

.packages/microsoft.dotnet.helix.sdk/9.0.0-beta.24462.3/tools/azure-pipelines/AzurePipelines.MultiQueue.targets(44,5): error : (NETCORE_ENGINEERING_TELEMETRY=Test) Test Microsoft.NET.Build.Containers.IntegrationTests.EndToEndTests.ApiEndToEndWithLocalLoad has failed. Check the Test tab or this console log: https://helix.dot.net/api/2019-06-17/jobs/5b980006-affb-4a08-8dfc-52a6cc44d817/workitems/Microsoft.NET.Build.Containers.IntegrationTests.dll.1/console

Check failure on line 1 in Microsoft.NET.Build.Containers.IntegrationTests.DockerRegistryTests.GetFromRegistry

See this annotation in the file changed.

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

Microsoft.NET.Build.Containers.IntegrationTests.DockerRegistryTests.GetFromRegistry

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.IntegrationTests.EndToEndTests.EndToEnd_NoAPI_Console

See this annotation in the file changed.

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

Microsoft.NET.Build.Containers.IntegrationTests.EndToEndTests.EndToEnd_NoAPI_Console

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.IntegrationTests.EndToEndTests.EndToEnd_NoAPI_ProjectType

See this annotation in the file changed.

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

Microsoft.NET.Build.Containers.IntegrationTests.EndToEndTests.EndToEnd_NoAPI_ProjectType

Test failed

Check failure on line 1 in Microsoft.NET.Build.Containers.IntegrationTests.EndToEndTests.ApiEndToEndWithLocalLoad

See this annotation in the file changed.

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

Microsoft.NET.Build.Containers.IntegrationTests.EndToEndTests.ApiEndToEndWithLocalLoad

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)