HA: Fixes CrossRegion retry also on RequestTimeout from addressRefresh [DO-NOT-MERGE] #4962
Build #20250111.2 had test failures
Details
- Failed: 4 (0.05%)
- Passed: 7,831 (99.04%)
- Other: 72 (0.91%)
- Total: 7,907
Annotations
Check failure on line 1308 in Build log
azure-pipelines / dotnet-v3-ci
Build log #L1308
Error: The process 'C:\hostedtoolcache\windows\dotnet\dotnet.exe' failed with exit code 1
Check failure on line 1313 in Build log
azure-pipelines / dotnet-v3-ci
Build log #L1313
Dotnet command failed with non-zero exit code on the following projects : [
'D:\\a\\_work\\1\\s\\Microsoft.Azure.Cosmos\\tests\\Microsoft.Azure.Cosmos.Tests\\Microsoft.Azure.Cosmos.Tests.csproj'
]
Check failure on line 3558 in Build log
azure-pipelines / dotnet-v3-ci
Build log #L3558
Error: The process 'C:\hostedtoolcache\windows\dotnet\dotnet.exe' failed with exit code 1
Check failure on line 3563 in Build log
azure-pipelines / dotnet-v3-ci
Build log #L3563
Dotnet command failed with non-zero exit code on the following projects : [
'D:\\a\\_work\\1\\s\\Microsoft.Azure.Cosmos\\tests\\Microsoft.Azure.Cosmos.Tests\\Microsoft.Azure.Cosmos.Tests.csproj'
]
azure-pipelines / dotnet-v3-ci
Microsoft.Azure.Cosmos.Tests.CosmosBadReplicaTests.TestGoneFromServiceScenarioAsync
Assert.AreEqual failed. Expected:<4>. Actual:<3>.
Raw output
at Microsoft.Azure.Cosmos.Tests.CosmosBadReplicaTests.TestGoneFromServiceScenarioAsync(Boolean enableReplicaValidation, Boolean useEnvironmentVariable, Boolean useCosmosClientOptions) in D:\a\_work\1\s\Microsoft.Azure.Cosmos\tests\Microsoft.Azure.Cosmos.Tests\CosmosBadReplicaTests.cs:line 209
at Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.ThreadOperations.ExecuteWithAbortSafety(Action action)
azure-pipelines / dotnet-v3-ci
Microsoft.Azure.Cosmos.Tests.GlobalPartitionEndpointManagerTests.TestRequestTimeoutExceptionScenarioAsync
Test method Microsoft.Azure.Cosmos.Tests.GlobalPartitionEndpointManagerTests.TestRequestTimeoutExceptionScenarioAsync threw exception:
Moq.MockException: TransportClient.Dispose() invocation failed with mock behavior Strict.
All invocations on the mock must have a corresponding setup.
Raw output
at Moq.FindAndExecuteMatchingSetup.Handle(Invocation invocation, Mock mock)
at Moq.Mock.Moq.IInterceptor.Intercept(Invocation invocation)
at Castle.DynamicProxy.AbstractInvocation.Proceed()
at Castle.Proxies.TransportClientProxy.Dispose()
at Microsoft.Azure.Documents.StoreClientFactory.Dispose()
at Microsoft.Azure.Cosmos.DocumentClient.Dispose() in D:\a\_work\1\s\Microsoft.Azure.Cosmos\src\DocumentClient.cs:line 1373
at Microsoft.Azure.Cosmos.ClientContextCore.Dispose(Boolean disposing) in D:\a\_work\1\s\Microsoft.Azure.Cosmos\src\Resource\ClientContextCore.cs:line 490
at Microsoft.Azure.Cosmos.CosmosClient.Dispose(Boolean disposing) in D:\a\_work\1\s\Microsoft.Azure.Cosmos\src\CosmosClient.cs:line 1479
at Microsoft.Azure.Cosmos.Tests.GlobalPartitionEndpointManagerTests.TestRequestTimeoutExceptionScenarioAsync() in D:\a\_work\1\s\Microsoft.Azure.Cosmos\tests\Microsoft.Azure.Cosmos.Tests\PartitionKeyRangeFailoverTests\GlobalPartitionEndpointManagerTests.cs:line 354
azure-pipelines / dotnet-v3-ci
Microsoft.Azure.Cosmos.Tests.GlobalPartitionEndpointManagerTests.TestRequestTimeoutExceptionScenarioAsync
Test method Microsoft.Azure.Cosmos.Tests.GlobalPartitionEndpointManagerTests.TestRequestTimeoutExceptionScenarioAsync threw exception:
Moq.MockException: TransportClient.Dispose() invocation failed with mock behavior Strict.
All invocations on the mock must have a corresponding setup.
Raw output
at Moq.FindAndExecuteMatchingSetup.Handle(Invocation invocation, Mock mock)
at Moq.Mock.Moq.IInterceptor.Intercept(Invocation invocation)
at Castle.DynamicProxy.AbstractInvocation.Proceed()
at Castle.Proxies.TransportClientProxy.Dispose()
at Microsoft.Azure.Documents.StoreClientFactory.Dispose()
at Microsoft.Azure.Cosmos.DocumentClient.Dispose() in D:\a\_work\1\s\Microsoft.Azure.Cosmos\src\DocumentClient.cs:line 1320
at Microsoft.Azure.Cosmos.ClientContextCore.Dispose(Boolean disposing) in D:\a\_work\1\s\Microsoft.Azure.Cosmos\src\Resource\ClientContextCore.cs:line 485
at Microsoft.Azure.Cosmos.ClientContextCore.Dispose() in D:\a\_work\1\s\Microsoft.Azure.Cosmos\src\Resource\ClientContextCore.cs:line 471
at Microsoft.Azure.Cosmos.CosmosClient.Dispose(Boolean disposing) in D:\a\_work\1\s\Microsoft.Azure.Cosmos\src\CosmosClient.cs:line 1476
at Microsoft.Azure.Cosmos.CosmosClient.Dispose() in D:\a\_work\1\s\Microsoft.Azure.Cosmos\src\CosmosClient.cs:line 1454
at Microsoft.Azure.Cosmos.Tests.GlobalPartitionEndpointManagerTests.TestRequestTimeoutExceptionScenarioAsync() in D:\a\_work\1\s\Microsoft.Azure.Cosmos\tests\Microsoft.Azure.Cosmos.Tests\PartitionKeyRangeFailoverTests\GlobalPartitionEndpointManagerTests.cs:line 354
azure-pipelines / dotnet-v3-ci
Microsoft.Azure.Cosmos.Tests.GlobalPartitionEndpointManagerTests.TestRequestTimeoutExceptionScenarioAsync
Test method Microsoft.Azure.Cosmos.Tests.GlobalPartitionEndpointManagerTests.TestRequestTimeoutExceptionScenarioAsync threw exception:
Moq.MockException: TransportClient.Dispose() invocation failed with mock behavior Strict.
All invocations on the mock must have a corresponding setup.
Raw output
at Moq.FindAndExecuteMatchingSetup.Handle(Invocation invocation, Mock mock)
at Moq.Mock.Moq.IInterceptor.Intercept(Invocation invocation)
at Castle.DynamicProxy.AbstractInvocation.Proceed()
at Castle.Proxies.TransportClientProxy.Dispose()
at Microsoft.Azure.Documents.StoreClientFactory.Dispose()
at Microsoft.Azure.Cosmos.DocumentClient.Dispose() in D:\a\_work\1\s\Microsoft.Azure.Cosmos\src\DocumentClient.cs:line 1320
at Microsoft.Azure.Cosmos.ClientContextCore.Dispose(Boolean disposing) in D:\a\_work\1\s\Microsoft.Azure.Cosmos\src\Resource\ClientContextCore.cs:line 485
at Microsoft.Azure.Cosmos.ClientContextCore.Dispose() in D:\a\_work\1\s\Microsoft.Azure.Cosmos\src\Resource\ClientContextCore.cs:line 471
at Microsoft.Azure.Cosmos.CosmosClient.Dispose(Boolean disposing) in D:\a\_work\1\s\Microsoft.Azure.Cosmos\src\CosmosClient.cs:line 1476
at Microsoft.Azure.Cosmos.CosmosClient.Dispose() in D:\a\_work\1\s\Microsoft.Azure.Cosmos\src\CosmosClient.cs:line 1454
at Microsoft.Azure.Cosmos.Tests.GlobalPartitionEndpointManagerTests.TestRequestTimeoutExceptionScenarioAsync() in D:\a\_work\1\s\Microsoft.Azure.Cosmos\tests\Microsoft.Azure.Cosmos.Tests\PartitionKeyRangeFailoverTests\GlobalPartitionEndpointManagerTests.cs:line 354