ClientModel/Azure.Core prototype: Add IsBuffered property to Response #41840
Build #20240207.32 had test failures
Details
- Failed: 1,079 (1.34%)
- Passed: 68,868 (85.38%)
- Other: 10,710 (13.28%)
- Total: 80,657
- 1767 of 10279 branches covered (17.19%)
- 6046 of 29276 lines covered (20.65%)
Annotations
Check failure on line 6191 in Build log
azure-pipelines / net - core - ci
Build log #L6191
Cmd.exe exited with code '1'.
Check failure on line 7165 in Build log
azure-pipelines / net - core - ci
Build log #L7165
Cmd.exe exited with code '1'.
Check failure on line 5895 in Build log
azure-pipelines / net - core - ci
Build log #L5895
Bash exited with code '1'.
Check failure on line 2508 in Build log
azure-pipelines / net - core - ci
Build log #L2508
Bash exited with code '1'.
Check failure on line 1 in Azure.Core.TestFramework.Tests.MockClientTests(True).MockGetResource
azure-pipelines / net - core - ci
Azure.Core.TestFramework.Tests.MockClientTests(True).MockGetResource
System.InvalidOperationException : The response is not buffered.
Raw output
at System.ClientModel.Primitives.PipelineResponse.get_Content() in /mnt/vss/_work/1/s/sdk/core/System.ClientModel/src/Message/PipelineResponse.cs:line 57
at Azure.Core.TestFramework.Tests.MockClientTests.MockGetResource() in /mnt/vss/_work/1/s/sdk/core/Azure.Core.TestFramework/tests/MockClientTests.cs:line 38
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.Commands.BeforeAndAfterTestCommand.<>c__DisplayClass1_0.<Execute>b__0()
at NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext context, Action action)
Check failure on line 1 in Azure.Core.TestFramework.Tests.MockClientTests(False).MockGetResource
azure-pipelines / net - core - ci
Azure.Core.TestFramework.Tests.MockClientTests(False).MockGetResource
System.InvalidOperationException : The response is not buffered.
Raw output
at System.ClientModel.Primitives.PipelineResponse.get_Content() in /mnt/vss/_work/1/s/sdk/core/System.ClientModel/src/Message/PipelineResponse.cs:line 57
at Azure.Core.TestFramework.Tests.MockClientTests.MockGetResource() in /mnt/vss/_work/1/s/sdk/core/Azure.Core.TestFramework/tests/MockClientTests.cs:line 38
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.Commands.BeforeAndAfterTestCommand.<>c__DisplayClass1_0.<Execute>b__0()
at NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext context, Action action)
azure-pipelines / net - core - ci
Azure.Core.Tests.FailedResponseExceptionTests.ParsesJsonErrors_ResponseCtor_StreamAsync(True,False)
System.InvalidOperationException : The response is not buffered.
Raw output
at System.ClientModel.Primitives.PipelineResponse.get_Content() in /mnt/vss/_work/1/s/sdk/core/System.ClientModel/src/Message/PipelineResponse.cs:line 57
at Azure.RequestFailedException.CreateRequestFailedExceptionContent(Response response, RequestFailedDetailsParser parser) in /mnt/vss/_work/1/s/sdk/core/Azure.Core/src/RequestFailedException.cs:line 207
at Azure.RequestFailedException..ctor(Response response, Exception innerException, RequestFailedDetailsParser detailsParser) in /mnt/vss/_work/1/s/sdk/core/Azure.Core/src/RequestFailedException.cs:line 55
at Azure.RequestFailedException..ctor(Response response, Exception innerException) in /mnt/vss/_work/1/s/sdk/core/Azure.Core/src/RequestFailedException.cs:line 45
at Azure.RequestFailedException..ctor(Response response) in /mnt/vss/_work/1/s/sdk/core/Azure.Core/src/RequestFailedException.cs:line 36
at Azure.Core.Tests.FailedResponseExceptionTests.ParsesJsonErrors_ResponseCtor_StreamAsync(Boolean canSeek, Boolean hasErrorWrapper) in /mnt/vss/_work/1/s/sdk/core/Azure.Core/tests/FailedResponseExceptionTests.cs:line 404
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.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 _)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at NUnit.Framework.Internal.ContextUtils.DoIsolated(ContextCallback callback, Object state)
at NUnit.Framework.Internal.ContextUtils.DoIsolated[T](Func`1 func)
at NUnit.Framework.Internal.Execution.SimpleWorkItem.PerformWork()
Check failure on line 1 in Azure.Core.Samples.DynamicJsonSamples.CheckPropertyNullOrAbsent
azure-pipelines / net - core - ci
Azure.Core.Samples.DynamicJsonSamples.CheckPropertyNullOrAbsent
System.InvalidOperationException : The response is not buffered.
Raw output
at System.ClientModel.Primitives.PipelineResponse.get_Content() in /mnt/vss/_work/1/s/sdk/core/System.ClientModel/src/Message/PipelineResponse.cs:line 57
at Azure.Core.Samples.DynamicJsonSamples.CheckPropertyNullOrAbsent() in /mnt/vss/_work/1/s/sdk/core/Azure.Core/tests/samples/DynamicJsonSamples.cs:line 122