Embedding: Adds Microsoft.Azure.Cosmos.AI package scaffold - #5845
Embedding: Adds Microsoft.Azure.Cosmos.AI package scaffold#5845ananth7592 wants to merge 2 commits into
Build #20260601.7 had test failures
Details
- Failed: 32 (0.31%)
- Passed: 10,043 (98.80%)
- Other: 90 (0.89%)
- Total: 10,165
- 55795 of 98439 line covered (56.68%)
Annotations
Check failure on line 2400 in Build log
azure-pipelines / dotnet-v3-ci
Build log #L2400
Error: The process 'C:\hostedtoolcache\windows\dotnet\dotnet.exe' failed with exit code 1
Check failure on line 2405 in Build log
azure-pipelines / dotnet-v3-ci
Build log #L2405
Dotnet command failed with non-zero exit code on the following projects : [
'D:\\a\\_work\\1\\s\\Microsoft.Azure.Cosmos\\tests\\Microsoft.Azure.Cosmos.EmulatorTests\\Microsoft.Azure.Cosmos.EmulatorTests.csproj'
]
azure-pipelines / dotnet-v3-ci
Microsoft.Azure.Cosmos.SDK.EmulatorTests.CosmosItemThinClientTests.UpsertItemStreamTest
Initialization method Microsoft.Azure.Cosmos.SDK.EmulatorTests.CosmosItemThinClientTests.TestInitAsync threw exception. System.Net.Http.HttpRequestException: No such host is known. (newthinclienttestpipelinesession.documents.azure.com:443) ---> System.Net.Sockets.SocketException: No such host is known..
Raw output
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|277_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at Microsoft.Azure.Cosmos.Routing.GlobalEndpointManager.GetAccountPropertiesHelper.GetOnlyGlobalEndpointAsync() in D:\a\_work\1\s\Microsoft.Azure.Cosmos\src\Routing\GlobalEndpointManager.cs:line 283
at Microsoft.Azure.Cosmos.Routing.GlobalEndpointManager.GetAccountPropertiesHelper.GetAccountPropertiesAsync() in D:\a\_work\1\s\Microsoft.Azure.Cosmos\src\Routing\GlobalEndpointManager.cs:line 197
at Microsoft.Azure.Cosmos.Routing.GlobalEndpointManager.GetDatabaseAccountFromAnyLocationsAsync(Uri defaultEndpoint, IList`1 locations, IList`1 accountInitializationCustomEndpoints, Func`2 getDatabaseAccountFn, CancellationToken cancellationToken) in D:\a\_work\1\s\Microsoft.Azure.Cosmos\src\Routing\GlobalEndpointManager.cs:line 156
at Microsoft.Azure.Cosmos.GatewayAccountReader.InitializeReaderAsync() in D:\a\_work\1\s\Microsoft.Azure.Cosmos\src\GatewayAccountReader.cs:line 113
at Microsoft.Azure.Cosmos.CosmosAccountServiceConfiguration.InitializeAsync() in D:\a\_work\1\s\Microsoft.Azure.Cosmos\src\Resource\Settings\CosmosAccountServiceConfiguration.cs:line 64
at Microsoft.Azure.Cosmos.DocumentClient.InitializeGatewayConfigurationReaderAsync() in D:\a\_work\1\s\Microsoft.Azure.Cosmos\src\DocumentClient.cs:line 6873
at Microsoft.Azure.Cosmos.DocumentClient.GetInitializationTaskAsync(IStoreClientFactory storeClientFactory) in D:\a\_work\1\s\Microsoft.Azure.Cosmos\src\DocumentClient.cs:line 1123
at Microsoft.Azure.Documents.BackoffRetryUtility`1.ExecuteRetryAsync[TParam,TPolicy](Func`1 callbackMethod, Func`3 callbackMethodWithParam, Func`2 callbackMethodWithPolicy, TParam param, IRetryPolicy retryPolicy, IRetryPolicy`1 retryPolicyWithArg, Func`1 inBackoffAlternateCallbackMethod, Func`2 inBackoffAlternateCallbackMethodWithPolicy, TimeSpan minBackoffForInBackoffCallback, CancellationToken cancellationToken, Action`1 preRetryCallback)
at Microsoft.Azure.Documents.ShouldRetryResult.ThrowIfDoneTrying(ExceptionDispatchInfo capturedException)
at Microsoft.Azure.Documents.BackoffRetryUtility`1.ExecuteRetryAsync[TParam,TPolicy](Func`1 callbackMethod, Func`3 callbackMethodWithParam, Func`2 callbackMethodWithPolicy, TParam param, IRetryPolicy retryPolicy, IRetryPolicy`1 retryPolicyWithArg, Func`1 inBackoffAlternateCallbackMethod, Func`2 inBackoffAlternateCallbackMethodWithPolicy, TimeSpan minBackoffForInBackoffCallback, CancellationToken cancellationToken, Action`1 preRetryCallback)
at Microsoft.Azure.Documents.BackoffRetryUtility`1.ExecuteRetryAsync[TParam,TPolicy](Func`1 callbackMethod, Func`3 callbackMethodWithParam, Func`2 callbackMethodWithPolicy, TParam param, IRetryPolicy retryPolicy, IRetryPolicy`1 retryPolicyWithArg, Func`1 inBackoffAlternateCallbackMethod, Func`2 inBackoffAlternateCallbackMethodWithPolicy, TimeSpan minBackoffForInBackoffCallback, CancellationToken cancellationToken, Action`1 preRetryCallback)
at Microsoft.Azure.Cosmos.AsyncCacheNonBlocking`2.GetAsync(TKey key, Func`2 singleValueInitFunc, Func`2 forceRefresh) in D:\a\_work\1\s\Microsoft.Azure.Cosmos\src\Routing\AsyncCacheNonBlocking.cs:line 185
at Microsoft.Azure.Cosmos.AsyncCacheNonBlocking`2.Get
... [The stack trace has been truncated as it exceeded the maximum allowed size. Please refer to the complete log available in the Test Run attachments for full details.]
azure-pipelines / dotnet-v3-ci
Microsoft.Azure.Cosmos.SDK.EmulatorTests.CosmosItemThinClientTests.ReplaceItemsTest
Initialization method Microsoft.Azure.Cosmos.SDK.EmulatorTests.CosmosItemThinClientTests.TestInitAsync threw exception. System.Net.Http.HttpRequestException: No such host is known. (newthinclienttestpipelinesession.documents.azure.com:443) ---> System.Net.Sockets.SocketException: No such host is known..
Raw output
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|277_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at Microsoft.Azure.Cosmos.Routing.GlobalEndpointManager.GetAccountPropertiesHelper.GetOnlyGlobalEndpointAsync() in D:\a\_work\1\s\Microsoft.Azure.Cosmos\src\Routing\GlobalEndpointManager.cs:line 283
at Microsoft.Azure.Cosmos.Routing.GlobalEndpointManager.GetAccountPropertiesHelper.GetAccountPropertiesAsync() in D:\a\_work\1\s\Microsoft.Azure.Cosmos\src\Routing\GlobalEndpointManager.cs:line 197
at Microsoft.Azure.Cosmos.Routing.GlobalEndpointManager.GetDatabaseAccountFromAnyLocationsAsync(Uri defaultEndpoint, IList`1 locations, IList`1 accountInitializationCustomEndpoints, Func`2 getDatabaseAccountFn, CancellationToken cancellationToken) in D:\a\_work\1\s\Microsoft.Azure.Cosmos\src\Routing\GlobalEndpointManager.cs:line 156
at Microsoft.Azure.Cosmos.GatewayAccountReader.InitializeReaderAsync() in D:\a\_work\1\s\Microsoft.Azure.Cosmos\src\GatewayAccountReader.cs:line 113
at Microsoft.Azure.Cosmos.CosmosAccountServiceConfiguration.InitializeAsync() in D:\a\_work\1\s\Microsoft.Azure.Cosmos\src\Resource\Settings\CosmosAccountServiceConfiguration.cs:line 64
at Microsoft.Azure.Cosmos.DocumentClient.InitializeGatewayConfigurationReaderAsync() in D:\a\_work\1\s\Microsoft.Azure.Cosmos\src\DocumentClient.cs:line 6873
at Microsoft.Azure.Cosmos.DocumentClient.GetInitializationTaskAsync(IStoreClientFactory storeClientFactory) in D:\a\_work\1\s\Microsoft.Azure.Cosmos\src\DocumentClient.cs:line 1123
at Microsoft.Azure.Documents.BackoffRetryUtility`1.ExecuteRetryAsync[TParam,TPolicy](Func`1 callbackMethod, Func`3 callbackMethodWithParam, Func`2 callbackMethodWithPolicy, TParam param, IRetryPolicy retryPolicy, IRetryPolicy`1 retryPolicyWithArg, Func`1 inBackoffAlternateCallbackMethod, Func`2 inBackoffAlternateCallbackMethodWithPolicy, TimeSpan minBackoffForInBackoffCallback, CancellationToken cancellationToken, Action`1 preRetryCallback)
at Microsoft.Azure.Documents.ShouldRetryResult.ThrowIfDoneTrying(ExceptionDispatchInfo capturedException)
at Microsoft.Azure.Documents.BackoffRetryUtility`1.ExecuteRetryAsync[TParam,TPolicy](Func`1 callbackMethod, Func`3 callbackMethodWithParam, Func`2 callbackMethodWithPolicy, TParam param, IRetryPolicy retryPolicy, IRetryPolicy`1 retryPolicyWithArg, Func`1 inBackoffAlternateCallbackMethod, Func`2 inBackoffAlternateCallbackMethodWithPolicy, TimeSpan minBackoffForInBackoffCallback, CancellationToken cancellationToken, Action`1 preRetryCallback)
at Microsoft.Azure.Documents.BackoffRetryUtility`1.ExecuteRetryAsync[TParam,TPolicy](Func`1 callbackMethod, Func`3 callbackMethodWithParam, Func`2 callbackMethodWithPolicy, TParam param, IRetryPolicy retryPolicy, IRetryPolicy`1 retryPolicyWithArg, Func`1 inBackoffAlternateCallbackMethod, Func`2 inBackoffAlternateCallbackMethodWithPolicy, TimeSpan minBackoffForInBackoffCallback, CancellationToken cancellationToken, Action`1 preRetryCallback)
at Microsoft.Azure.Cosmos.AsyncCacheNonBlocking`2.GetAsync(TKey key, Func`2 singleValueInitFunc, Func`2 forceRefresh) in D:\a\_work\1\s\Microsoft.Azure.Cosmos\src\Routing\AsyncCacheNonBlocking.cs:line 185
at Microsoft.Azure.Cosmos.AsyncCacheNonBlocking`2.Get
... [The stack trace has been truncated as it exceeded the maximum allowed size. Please refer to the complete log available in the Test Run attachments for full details.]
azure-pipelines / dotnet-v3-ci
Microsoft.Azure.Cosmos.SDK.EmulatorTests.CosmosItemThinClientTests.TestThinClientQueryPlanCrossPartitionWithFilter
Initialization method Microsoft.Azure.Cosmos.SDK.EmulatorTests.CosmosItemThinClientTests.TestInitAsync threw exception. System.Net.Http.HttpRequestException: No such host is known. (newthinclienttestpipelinesession.documents.azure.com:443) ---> System.Net.Sockets.SocketException: No such host is known..
Raw output
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|277_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at Microsoft.Azure.Cosmos.Routing.GlobalEndpointManager.GetAccountPropertiesHelper.GetOnlyGlobalEndpointAsync() in D:\a\_work\1\s\Microsoft.Azure.Cosmos\src\Routing\GlobalEndpointManager.cs:line 283
at Microsoft.Azure.Cosmos.Routing.GlobalEndpointManager.GetAccountPropertiesHelper.GetAccountPropertiesAsync() in D:\a\_work\1\s\Microsoft.Azure.Cosmos\src\Routing\GlobalEndpointManager.cs:line 197
at Microsoft.Azure.Cosmos.Routing.GlobalEndpointManager.GetDatabaseAccountFromAnyLocationsAsync(Uri defaultEndpoint, IList`1 locations, IList`1 accountInitializationCustomEndpoints, Func`2 getDatabaseAccountFn, CancellationToken cancellationToken) in D:\a\_work\1\s\Microsoft.Azure.Cosmos\src\Routing\GlobalEndpointManager.cs:line 156
at Microsoft.Azure.Cosmos.GatewayAccountReader.InitializeReaderAsync() in D:\a\_work\1\s\Microsoft.Azure.Cosmos\src\GatewayAccountReader.cs:line 113
at Microsoft.Azure.Cosmos.CosmosAccountServiceConfiguration.InitializeAsync() in D:\a\_work\1\s\Microsoft.Azure.Cosmos\src\Resource\Settings\CosmosAccountServiceConfiguration.cs:line 64
at Microsoft.Azure.Cosmos.DocumentClient.InitializeGatewayConfigurationReaderAsync() in D:\a\_work\1\s\Microsoft.Azure.Cosmos\src\DocumentClient.cs:line 6873
at Microsoft.Azure.Cosmos.DocumentClient.GetInitializationTaskAsync(IStoreClientFactory storeClientFactory) in D:\a\_work\1\s\Microsoft.Azure.Cosmos\src\DocumentClient.cs:line 1123
at Microsoft.Azure.Documents.BackoffRetryUtility`1.ExecuteRetryAsync[TParam,TPolicy](Func`1 callbackMethod, Func`3 callbackMethodWithParam, Func`2 callbackMethodWithPolicy, TParam param, IRetryPolicy retryPolicy, IRetryPolicy`1 retryPolicyWithArg, Func`1 inBackoffAlternateCallbackMethod, Func`2 inBackoffAlternateCallbackMethodWithPolicy, TimeSpan minBackoffForInBackoffCallback, CancellationToken cancellationToken, Action`1 preRetryCallback)
at Microsoft.Azure.Documents.ShouldRetryResult.ThrowIfDoneTrying(ExceptionDispatchInfo capturedException)
at Microsoft.Azure.Documents.BackoffRetryUtility`1.ExecuteRetryAsync[TParam,TPolicy](Func`1 callbackMethod, Func`3 callbackMethodWithParam, Func`2 callbackMethodWithPolicy, TParam param, IRetryPolicy retryPolicy, IRetryPolicy`1 retryPolicyWithArg, Func`1 inBackoffAlternateCallbackMethod, Func`2 inBackoffAlternateCallbackMethodWithPolicy, TimeSpan minBackoffForInBackoffCallback, CancellationToken cancellationToken, Action`1 preRetryCallback)
at Microsoft.Azure.Documents.BackoffRetryUtility`1.ExecuteRetryAsync[TParam,TPolicy](Func`1 callbackMethod, Func`3 callbackMethodWithParam, Func`2 callbackMethodWithPolicy, TParam param, IRetryPolicy retryPolicy, IRetryPolicy`1 retryPolicyWithArg, Func`1 inBackoffAlternateCallbackMethod, Func`2 inBackoffAlternateCallbackMethodWithPolicy, TimeSpan minBackoffForInBackoffCallback, CancellationToken cancellationToken, Action`1 preRetryCallback)
at Microsoft.Azure.Cosmos.AsyncCacheNonBlocking`2.GetAsync(TKey key, Func`2 singleValueInitFunc, Func`2 forceRefresh) in D:\a\_work\1\s\Microsoft.Azure.Cosmos\src\Routing\AsyncCacheNonBlocking.cs:line 185
at Microsoft.Azure.Cosmos.AsyncCacheNonBlocking`2.Get
... [The stack trace has been truncated as it exceeded the maximum allowed size. Please refer to the complete log available in the Test Run attachments for full details.]
azure-pipelines / dotnet-v3-ci
Microsoft.Azure.Cosmos.SDK.EmulatorTests.CosmosItemThinClientTests.TransactionalBatchCreateItemsTest
Initialization method Microsoft.Azure.Cosmos.SDK.EmulatorTests.CosmosItemThinClientTests.TestInitAsync threw exception. System.Net.Http.HttpRequestException: No such host is known. (newthinclienttestpipelinesession.documents.azure.com:443) ---> System.Net.Sockets.SocketException: No such host is known..
Raw output
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|277_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at Microsoft.Azure.Cosmos.Routing.GlobalEndpointManager.GetAccountPropertiesHelper.GetOnlyGlobalEndpointAsync() in D:\a\_work\1\s\Microsoft.Azure.Cosmos\src\Routing\GlobalEndpointManager.cs:line 283
at Microsoft.Azure.Cosmos.Routing.GlobalEndpointManager.GetAccountPropertiesHelper.GetAccountPropertiesAsync() in D:\a\_work\1\s\Microsoft.Azure.Cosmos\src\Routing\GlobalEndpointManager.cs:line 197
at Microsoft.Azure.Cosmos.Routing.GlobalEndpointManager.GetDatabaseAccountFromAnyLocationsAsync(Uri defaultEndpoint, IList`1 locations, IList`1 accountInitializationCustomEndpoints, Func`2 getDatabaseAccountFn, CancellationToken cancellationToken) in D:\a\_work\1\s\Microsoft.Azure.Cosmos\src\Routing\GlobalEndpointManager.cs:line 156
at Microsoft.Azure.Cosmos.GatewayAccountReader.InitializeReaderAsync() in D:\a\_work\1\s\Microsoft.Azure.Cosmos\src\GatewayAccountReader.cs:line 113
at Microsoft.Azure.Cosmos.CosmosAccountServiceConfiguration.InitializeAsync() in D:\a\_work\1\s\Microsoft.Azure.Cosmos\src\Resource\Settings\CosmosAccountServiceConfiguration.cs:line 64
at Microsoft.Azure.Cosmos.DocumentClient.InitializeGatewayConfigurationReaderAsync() in D:\a\_work\1\s\Microsoft.Azure.Cosmos\src\DocumentClient.cs:line 6873
at Microsoft.Azure.Cosmos.DocumentClient.GetInitializationTaskAsync(IStoreClientFactory storeClientFactory) in D:\a\_work\1\s\Microsoft.Azure.Cosmos\src\DocumentClient.cs:line 1123
at Microsoft.Azure.Documents.BackoffRetryUtility`1.ExecuteRetryAsync[TParam,TPolicy](Func`1 callbackMethod, Func`3 callbackMethodWithParam, Func`2 callbackMethodWithPolicy, TParam param, IRetryPolicy retryPolicy, IRetryPolicy`1 retryPolicyWithArg, Func`1 inBackoffAlternateCallbackMethod, Func`2 inBackoffAlternateCallbackMethodWithPolicy, TimeSpan minBackoffForInBackoffCallback, CancellationToken cancellationToken, Action`1 preRetryCallback)
at Microsoft.Azure.Documents.ShouldRetryResult.ThrowIfDoneTrying(ExceptionDispatchInfo capturedException)
at Microsoft.Azure.Documents.BackoffRetryUtility`1.ExecuteRetryAsync[TParam,TPolicy](Func`1 callbackMethod, Func`3 callbackMethodWithParam, Func`2 callbackMethodWithPolicy, TParam param, IRetryPolicy retryPolicy, IRetryPolicy`1 retryPolicyWithArg, Func`1 inBackoffAlternateCallbackMethod, Func`2 inBackoffAlternateCallbackMethodWithPolicy, TimeSpan minBackoffForInBackoffCallback, CancellationToken cancellationToken, Action`1 preRetryCallback)
at Microsoft.Azure.Documents.BackoffRetryUtility`1.ExecuteRetryAsync[TParam,TPolicy](Func`1 callbackMethod, Func`3 callbackMethodWithParam, Func`2 callbackMethodWithPolicy, TParam param, IRetryPolicy retryPolicy, IRetryPolicy`1 retryPolicyWithArg, Func`1 inBackoffAlternateCallbackMethod, Func`2 inBackoffAlternateCallbackMethodWithPolicy, TimeSpan minBackoffForInBackoffCallback, CancellationToken cancellationToken, Action`1 preRetryCallback)
at Microsoft.Azure.Cosmos.AsyncCacheNonBlocking`2.GetAsync(TKey key, Func`2 singleValueInitFunc, Func`2 forceRefresh) in D:\a\_work\1\s\Microsoft.Azure.Cosmos\src\Routing\AsyncCacheNonBlocking.cs:line 185
at Microsoft.Azure.Cosmos.DocumentClient.EnsureValidC
... [The stack trace has been truncated as it exceeded the maximum allowed size. Please refer to the complete log available in the Test Run attachments for full details.]