Skip to content

Fix the issue where IaasComputeVmProtectedItem cannot handle an empty resourceId #47626

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

Merged
merged 2 commits into from
Jan 9, 2025

Update CHANGELOG.md

5111951
Select commit
Loading
Failed to load commit list.
Merged

Fix the issue where IaasComputeVmProtectedItem cannot handle an empty resourceId #47626

Update CHANGELOG.md
5111951
Select commit
Loading
Failed to load commit list.
Azure Pipelines / net - resourcemanager - mgmt - ci succeeded Dec 20, 2024 in 9m 37s

Build #20241219.17 had test failures

Details

Tests

  • Failed: 1 (0.00%)
  • Passed: 90,355 (97.03%)
  • Other: 2,768 (2.97%)
  • Total: 93,124
Code coverage

  • 9438 of 34874 lines covered (27.06%)

Annotations

Check failure on line 1 in Azure.Core.Tests.HttpClientTransportFunctionalTest(False).StreamReadingExceptionsAreIOExceptions

See this annotation in the file changed.

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

Azure.Core.Tests.HttpClientTransportFunctionalTest(False).StreamReadingExceptionsAreIOExceptions

  Expected: <System.IO.IOException>
  But was:  <System.Net.Http.HttpIOException: The response ended prematurely. (ResponseEnded)
   at System.Net.Http.HttpConnection.FillAsync(Boolean async)
   at System.Net.Http.HttpConnection.CopyToContentLengthAsync(Stream destination, Boolean async, UInt64 length, Int32 bufferSize, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnection.ContentLengthReadStream.CompleteCopyToAsync(Task copyTask, CancellationToken cancellationToken)
   at Azure.Core.Tests.TransportFunctionalTests.<>c__DisplayClass47_1.<<StreamReadingExceptionsAreIOExceptions>b__1>d.MoveNext() in /mnt/vss/_work/1/s/sdk/core/Azure.Core/tests/TransportFunctionalTests.cs:line 1001
--- End of stack trace from previous location ---
   at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.BlockUntilCompleted()
   at NUnit.Framework.Internal.MessagePumpStrategy.NoMessagePumpStrategy.WaitForCompletion(AwaitAdapter awaiter)
   at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
   at NUnit.Framework.Assert.ThrowsAsync(IResolveConstraint expression, AsyncTestDelegate code, String message, Object[] args)>
Raw output
   at Azure.Core.Tests.TransportFunctionalTests.StreamReadingExceptionsAreIOExceptions() in /mnt/vss/_work/1/s/sdk/core/Azure.Core/tests/TransportFunctionalTests.cs:line 1001
   at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.GetResult()
   at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
   at NUnit.Framework.Internal.Execution.SimpleWorkItem.<>c__DisplayClass4_0.<PerformWork>b__0()
   at NUnit.Framework.Internal.ContextUtils.<>c__DisplayClass1_0`1.<DoIsolated>b__0(Object _)

1)    at Azure.Core.Tests.TransportFunctionalTests.StreamReadingExceptionsAreIOExceptions() in /mnt/vss/_work/1/s/sdk/core/Azure.Core/tests/TransportFunctionalTests.cs:line 1001
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at Azure.Core.Tests.TransportFunctionalTests.StreamReadingExceptionsAreIOExceptions()