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

Enable-WriteCore-feature-for-eventgrid #46461

Merged
merged 1 commit into from
Oct 11, 2024

Enable-WriteCore-feature-for-eventgrid

cf122a5
Select commit
Loading
Failed to load commit list.
Merged

Enable-WriteCore-feature-for-eventgrid #46461

Enable-WriteCore-feature-for-eventgrid
cf122a5
Select commit
Loading
Failed to load commit list.
Azure Pipelines / net - resourcemanager - mgmt - ci succeeded Oct 8, 2024 in 14m 6s

Build #20241007.29 had test failures

Details

Tests

  • Failed: 1 (0.00%)
  • Passed: 91,993 (97.05%)
  • Other: 2,794 (2.95%)
  • Total: 94,788
Code coverage

  • 9435 of 35153 lines covered (26.84%)

Annotations

Check failure on line 1 in Azure.Core.Tests.ResponseBodyPolicyTests(True).ExceptionsNotTranslatedWhenNotCanceled(System.IO.IOException: I/O error occurred.,Azure.Core.Pipeline.ResponseBodyPolicy)

See this annotation in the file changed.

@azure-pipelines azure-pipelines / net - resourcemanager - mgmt - ci

Azure.Core.Tests.ResponseBodyPolicyTests(True).ExceptionsNotTranslatedWhenNotCanceled(System.IO.IOException: I/O error occurred.,Azure.Core.Pipeline.ResponseBodyPolicy)

  Expected: same as <System.IO.IOException: I/O error occurred.
   at Azure.Core.Tests.ResponseBodyPolicyTests.CancelingStream.Read(Byte[] buffer, Int32 offset, Int32 count) in D:\a\_work\1\s\sdk\core\Azure.Core\tests\ResponseBodyPolicyTests.cs:line 359
   at System.IO.Stream.<>c.<BeginReadInternal>b__38_0(Object <p0>)
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
   at Azure.Core.Pipeline.ResponseBodyPolicy.CopyToAsync(Stream source, Stream destination, CancellationTokenSource cancellationTokenSource) in /_/sdk/core/Azure.Core/src/Pipeline/Internal/ResponseBodyPolicy.cs:line 127
   at Azure.Core.Pipeline.ResponseBodyPolicy.ProcessAsync(HttpMessage message, ReadOnlyMemory`1 pipeline, Boolean async) in /_/sdk/core/Azure.Core/src/Pipeline/Internal/ResponseBodyPolicy.cs:line 90>
  But was:  <System.Threading.Tasks.TaskCanceledException: The operation was cancelled because it exceeded the configured timeout of 0:00:00.05. Network timeout can be adjusted in ClientOptions.Retry.NetworkTimeout.
 ---> System.IO.IOException: I/O error occurred.
   at Azure.Core.Tests.ResponseBodyPolicyTests.CancelingStream.Read(Byte[] buffer, Int32 offset, Int32 count) in D:\a\_work\1\s\sdk\core\Azure.Core\tests\ResponseBodyPolicyTests.cs:line 359
   at System.IO.Stream.<>c.<BeginReadInternal>b__38_0(Object <p0>)
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
   at Azure.Core.Pipeline.ResponseBodyPolicy.CopyToAsync(Stream source, Stream destination, CancellationTokenSource cancellationTokenSource) in /_/sdk/core/Azure.Core/src/Pipeline/Internal/ResponseBodyPolicy.cs:line 127
   at Azure.Core.Pipeline.ResponseBodyPolicy.ProcessAsync(HttpMessage message, ReadOnlyMemory`1 pipeline, Boolean async) in /_/sdk/core/Azure.Core/src/Pipeline/Internal/ResponseBodyPolicy.cs:line 90
   --- End of inner exception stack trace ---
   at Azure.Core.Pipeline.ResponseBodyPolicy.ThrowIfCancellationRequestedOrTimeout(CancellationToken originalToken, CancellationToken timeoutToken, Exception inner, TimeSpan timeout) in /_/sdk/core/Azure.Core/src/Pipeline/Internal/ResponseBodyPolicy.cs:line 173
   at Azure.Core.Pipeline.ResponseBodyPolicy.ProcessAsync(HttpMessage message, ReadOnlyMemory`1 pipeline, Boolean async) in /_/sdk/core/Azure.Core/src/Pipeline/Internal/ResponseBodyPolicy.cs:line 108
   at Azure.Core.TestFramework.SyncAsyncPolicyTestBase.SendMessageRequestAsync(HttpPipeline pipeline, Action`1 messageAction, Boolean bufferResponse, HttpMessage message, CancellationToken cancellationToken) in D:\a\_work\1\s\sdk\core\Azure.Core.TestFramework\src\SyncAsyncPolicyTestBase.cs:line 38
   at Azure.Core.TestFramework.SyncAsyncPolicyTestBase.SendRequestAsync(HttpPipeline pipeline, Action`1 messageAction, Boolean bufferResponse, CancellationToken cancellationToken) in D:\a\_work\1\s\sdk\core\Azure.Core.TestFramework\src\SyncAsyncPolicyTestBase.cs:line 27
   at Azure.Core.TestF
Raw output
   at Azure.Core.Tests.ResponseBodyPolicyTests.ExceptionsNotTranslatedWhenNotCanceled(Exception exception, HttpPipelinePolicy policy) in D:\a\_work\1\s\sdk\core\Azure.Core\tests\ResponseBodyPolicyTests.cs:line 252
   at InvokeStub_ResponseBodyPolicyTests.ExceptionsNotTranslatedWhenNotCanceled(Object, Span`1)

1)    at Azure.Core.Tests.ResponseBodyPolicyTests.ExceptionsNotTranslatedWhenNotCanceled(Exception exception, HttpPipelinePolicy policy) in D:\a\_work\1\s\sdk\core\Azure.Core\tests\ResponseBodyPolicyTests.cs:line 252
   at InvokeStub_ResponseBodyPolicyTests.ExceptionsNotTranslatedWhenNotCanceled(Object, Span`1)