PR #26 #149
codeql
on: dynamic
Matrix: analyze
Annotations
1 error and 2 warnings
|
ExpressiveSharp.EntityFrameworkCore.IntegrationTests.Tests.Cosmos.CommonScenarioTests ► Select_ClampedPrice_ReturnsCorrectValues:
./test-results/results.trx#L0
Failed test found in:
./test-results/results.trx
Error:
Test method ExpressiveSharp.EntityFrameworkCore.IntegrationTests.Tests.Cosmos.CommonScenarioTests.Select_ClampedPrice_ReturnsCorrectValues threw exception:
Microsoft.Azure.Cosmos.CosmosOperationCanceledException: The operation was canceled.
Cancellation Token has expired: True. Learn more at: https://aka.ms/cosmosdb-tsg-request-timeout
CosmosDiagnostics: {"Summary":{"GatewayCalls":{"(200, 0)":3,"(0, 0)":3}},"name":"FeedIterator Read Next Async","start datetime":"2026-04-10T01:01:51.540Z","duration in milliseconds":72104.994,"data":{"Client Configuration":{"Client Created Time Utc":"2026-04-10T00:56:15.3097767Z","MachineId":"vmId:a4dee82c-a37d-43b0-85c4-73a9fb3e0e7f","VM Region":"northcentralus","NumberOfClientsCreated":1,"NumberOfActiveClients":1,"ConnectionMode":"Gateway","User Agent":"cosmos-netstandard-sdk/3.37.1|1|X64|Ubuntu 24.04.4 LTS|.NET 8.0.25|N|F 00000010| Microsoft.EntityFrameworkCore.Cosmos/8.0.25","ConnectionConfig":{"gw":"(cps:50, urto:6, p:False, httpf: True)","rntbd":"(cto: 5, icto: -1, mrpc: 30, mcpe: 65535, erd: True, pr: ReuseUnicastPort)","other":"(ed:False, be:False)"},"ConsistencyConfig":"(consistency: NotSet, prgns:[], apprgn: )","ProcessorCount":4},"Query Correlated ActivityId":"756b53cd-fd20-4b33-9eae-7de26974161c"},"children":[{"name":"Create Query Pipeline","duration in milliseconds":72103.4834,"children":[{"name":"Get Container Properties","duration in milliseconds":6.6653,"children":[{"name":"Get Collection Cache","duration in milliseconds":0.0016},{"name":"Read Collection","duration in milliseconds":5.8952,"data":{"Client Side Request Stats":{"Id":"AggregatedClientSideRequestStatistics","ContactedReplicas":[],"RegionsContacted":[],"FailedReplicas":[],"AddressResolutionStatistics":[],"StoreResponseStatistics":[],"HttpResponseStats":[{"StartTimeUTC":"2026-04-10T01:01:51.5417214Z","DurationInMs":5.6182,"RequestUri":"https://172.17.0.7:8081/dbs/test_1722b69bb15249708c29727cc464b213/colls/CosmosIntegrationTestDbContext","ResourceType":"Collection","HttpMethod":"GET","ActivityId":"94cf9992-fc04-4283-ad20-16b3460e33fe","StatusCode":"OK"}]}}}]},{"name":"Gateway QueryPlan","duration in milliseconds":0.3352},{"name":"Microsoft.Azure.Cosmos.Handlers.RequestInvokerHandler","duration in milliseconds":43.3527,"children":[{"name":"Microsoft.Azure.Cosmos.Handlers.DiagnosticsHandler","duration in milliseconds":43.3199,"data":{"System Info":{"systemHistory":[{"dateUtc":"2026-04-10T01:00:56.7476398Z","cpu":100.000,"memory":10578296.000,"threadInfo":{"isThreadStarving":"False","threadWaitIntervalInMs":0.0802,"availableThreads":32766,"minThreads":4,"maxThreads":32767},"numberOfOpenTcpConnection":0},{"dateUtc":"2026-04-10T01:01:06.7479402Z","cpu":100.000,"memory":10572656.000,"threadInfo":{"isThreadStarving":"False","threadWaitIntervalInMs":0.0576,"availableThreads":32766,"minThreads":4,"maxThreads":32767},"numberOfOpenTcpConnection":0},{"dateUtc":"2026-04-10T01:01:16.7482489Z","cpu":100.000,"memory":10570720.000,"threadInfo":{"isThreadStarving":"False","threadWaitIntervalInMs":0.2319,"availableThreads":32766,"minThreads":4,"maxThreads":32767},"numberOfOpenTcpConnection":0},{"dateUtc":"2026-04-10T01:01:26.7485837Z","cpu":100.000,"memory":10569204.000,"threadInfo":{"isThreadStarving":"False","threadWaitIntervalInMs":0.0968,"availableThreads":32766,"minThreads":4,"maxThreads":32767},"numberOfOpenTcpConnection":0},{"dateUtc":"2026-04-10T01:01:36.8183269Z","cpu":100.000,"memory":10561808.000,"threadInfo":{"isThreadStarving":"False","threadWaitIntervalInMs":0.0684,"availableThreads":32766,"minThreads":4,"maxThreads":32767},"numberOfOpenTcpConnection":0},{"dateUtc":"2026-04-10T01:01:46.8456539Z","cpu":100.000,"memory":10562528.000,"threadInfo":{"isThreadStarving":"False","threadWaitIntervalInMs":0.2419,"availableThreads":32766,"minThreads":4,"maxThreads":32767},"numberOfOpenTcpConnection":0}]}},"children":[{"name":"Microsoft.Azure.Cosmos.Handlers.TelemetryHandler","duration in milliseconds":43.3096,"children":[{"name":"Microsoft.Azure.Cosmos.Handlers.RetryHandler","duration in milliseconds":43.305,"children":[{"name":"Microsoft.Azure.Cosmos.Handlers.RouterHandler","duration in milliseconds":43.2932,"children":[{"name":"Microsoft.Azure.Cosmos.Handlers.TransportHandler","duration in milliseconds":43.2892,"children":[{"name":"Microsoft.Azure.Cosmos.GatewayStoreModel Transport Request","duration in milliseconds":43.2454,"data":{"Client Side Request Stats":{"Id":"AggregatedClientSideRequestStatistics","ContactedReplicas":[],"RegionsContacted":[],"FailedReplicas":[],"AddressResolutionStatistics":[],"StoreResponseStatistics":[],"HttpResponseStats":[{"StartTimeUTC":"2026-04-10T01:01:51.5478139Z","DurationInMs":2.0943,"RequestUri":"https://172.17.0.7:8081/dbs/test_1722b69bb15249708c29727cc464b213/colls/CosmosIntegrationTestDbContext/docs","ResourceType":"Document","HttpMethod":"POST","ActivityId":"31fb781b-0ce4-4372-80ff-67fd6658c630","StatusCode":"OK"}]},"PointOperationStatisticsTraceDatum":{"Id":"PointOperationStatistics","ActivityId":null,"ResponseTimeUtc":"2026-04-10T01:01:51.5909619Z","StatusCode":200,"SubStatusCode":0,"RequestCharge":0,"RequestUri":"dbs/test_1722b69bb15249708c29727cc464b213/colls/CosmosIntegrationTestDbContext","ErrorMessage":null,"RequestSessionToken":null,"ResponseSessionToken":null,"BELatencyInMs":null}}}]}]}]}]}]}]},{"name":"Get Partition Key Ranges","duration in milliseconds":72052.8546,"children":[{"name":"Try Get Overlapping Ranges","duration in milliseconds":72052.7707,"children":[{"name":"Read PartitionKeyRange Change Feed","duration in milliseconds":7.0519,"data":{"Client Side Request Stats":{"Id":"AggregatedClientSideRequestStatistics","ContactedReplicas":[],"RegionsContacted":[],"FailedReplicas":[],"AddressResolutionStatistics":[],"StoreResponseStatistics":[],"HttpResponseStats":[{"StartTimeUTC":"2026-04-10T01:01:51.5913217Z","DurationInMs":6.9157,"RequestUri":"https://172.17.0.7:8081/dbs/VEZbAA==/colls/VEZbAOtb55g=/pkranges","ResourceType":"PartitionKeyRange","HttpMethod":"GET","ActivityId":"bdf9729b-9bf1-42d2-89ea-f7fc03e9ac57","StatusCode":"OK"}]}}},{"name":"Read PartitionKeyRange Change Feed","duration in milliseconds":72041.2841,"data":{"Client Side Request Stats":{"Id":"AggregatedClientSideRequestStatistics","ContactedReplicas":[],"RegionsContacted":[],"FailedReplicas":[],"AddressResolutionStatistics":[],"StoreResponseStatistics":[],"HttpResponseStats":[{"StartTimeUTC":"2026-04-10T01:01:51.5986432Z","DurationInMs":503.2879,"RequestUri":"https://172.17.0.7:8081/dbs/VEZbAA==/colls/VEZbAOtb55g=/pkranges","ResourceType":"PartitionKeyRange","HttpMethod":"GET","ActivityId":"5770e206-f1cf-4738-a16e-458aa3f6e8ca","ExceptionType":"System.Threading.Tasks.TaskCanceledException","ExceptionMessage":"The operation was canceled."},{"StartTimeUTC":"2026-04-10T01:01:52.1020846Z","DurationInMs":5000.8281,"RequestUri":"https://172.17.0.7:8081/dbs/VEZbAA==/colls/VEZbAOtb55g=/pkranges","ResourceType":"PartitionKeyRange","HttpMethod":"GET","ActivityId":"5770e206-f1cf-4738-a16e-458aa3f6e8ca","ExceptionType":"System.Threading.Tasks.TaskCanceledException","ExceptionMessage":"The operation was canceled."},{"StartTimeUTC":"2026-04-10T01:01:58.4089166Z","DurationInMs":65230.4408,"RequestUri":"https://172.17.0.7:8081/dbs/VEZbAA==/colls/VEZbAOtb55g=/pkranges","ResourceType":"PartitionKeyRange","HttpMethod":"GET","ActivityId":"5770e206-f1cf-4738-a16e-458aa3f6e8ca","ExceptionType":"System.Threading.Tasks.TaskCanceledException","ExceptionMessage":"The operation was canceled."}]}}}]}]}]},{"name":"CosmosOperationCanceledException","duration in milliseconds":0.0138,"data":{"Operation Cancelled Exception":"System.Threading.Tasks.TaskCanceledException: The operation was canceled.\n ---> System.Threading.Tasks.TaskCanceledException: The operation was canceled.\n ---> System.IO.IOException: Unable to read data from the transport connection: Operation canceled.\n ---> System.Net.Sockets.SocketException (125): Operation canceled\n --- End of inner exception stack trace ---\n at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)\n at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 token)\n at System.Net.Security.SslStream.EnsureFullTlsFrameAsync[TIOAdapter](CancellationToken cancellationToken, Int32 estimatedSize)\n at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)\n at System.Net.Security.SslStream.ReadAsyncInternal[TIOAdapter](Memory`1 buffer, CancellationToken cancellationToken)\n at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)\n at System.Net.Http.HttpConnection.InitialFillAsync(Boolean async)\n at System.Net.Http.HttpConnection.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)\n --- End of inner exception stack trace ---\n at System.Net.Http.HttpConnection.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)\n at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)\n at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)\n at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)\n --- End of inner exception stack trace ---\n at System.Net.Http.HttpClient.HandleFailure(Exception e, Boolean telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts)\n at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)\n at Microsoft.Azure.Cosmos.CosmosHttpClientCore.ExecuteHttpHelperAsync(HttpRequestMessage requestMessage, ResourceType resourceType, CancellationToken cancellationToken)\n at Microsoft.Azure.Cosmos.CosmosHttpClientCore.SendHttpHelperAsync(Func`1 createRequestMessageAsync, ResourceType resourceType, HttpTimeoutPolicy timeoutPolicy, IClientSideRequestStatistics clientSideRequestStatistics, CancellationToken cancellationToken)\n at Microsoft.Azure.Cosmos.GatewayStoreClient.InvokeAsync(DocumentServiceRequest request, ResourceType resourceType, Uri physicalAddress, CancellationToken cancellationToken)\n at Microsoft.Azure.Cosmos.GatewayStoreModel.ProcessMessageAsync(DocumentServiceRequest request, CancellationToken cancellationToken)\n at Microsoft.Azure.Cosmos.Routing.PartitionKeyRangeCache.ExecutePartitionKeyRangeReadChangeFeedAsync(String collectionRid, INameValueCollection headers, ITrace trace, IClientSideRequestStatistics clientSideRequestStatistics)\n 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)\n at Microsoft.Azure.Documents.ShouldRetryResult.ThrowIfDoneTrying(ExceptionDispatchInfo capturedException)\n 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)\n at Microsoft.Azure.Cosmos.Routing.PartitionKeyRangeCache.GetRoutingMapForCollectionAsync(String collectionRid, CollectionRoutingMap previousRoutingMap, ITrace trace, IClientSideRequestStatistics clientSideRequestStatistics)\n at Microsoft.Azure.Cosmos.AsyncCacheNonBlocking`2.GetAsync(TKey key, Func`2 singleValueInitFunc, Func`2 forceRefresh)\n at Microsoft.Azure.Cosmos.Routing.PartitionKeyRangeCache.TryLookupAsync(String collectionRid, CollectionRoutingMap previousValue, DocumentServiceRequest request, ITrace trace)\n at Microsoft.Azure.Cosmos.Routing.PartitionKeyRangeCache.TryGetOverlappingRangesAsync(String collectionRid, Range`1 range, ITrace trace, Boolean forceRefresh)\n at Microsoft.Azure.Cosmos.IRoutingMapProviderExtensions.TryGetOverlappingRangesAsync(IRoutingMapProvider routingMapProvider, String collectionResourceId, IEnumerable`1 sortedRanges, ITrace trace, Boolean forceRefresh)\n at Microsoft.Azure.Cosmos.CosmosQueryClientCore.GetTargetPartitionKeyRangesAsync(String resourceLink, String collectionResourceId, IReadOnlyList`1 providedRanges, Boolean forceRefresh, ITrace trace)\n at Microsoft.Azure.Cosmos.Query.Core.ExecutionContext.CosmosQueryExecutionContextFactory.GetTargetPartitionKeyRangesAsync(CosmosQueryClient queryClient, String resourceLink, PartitionedQueryExecutionInfo partitionedQueryExecutionInfo, ContainerQueryProperties containerQueryProperties, IReadOnlyDictionary`2 properties, FeedRangeInternal feedRangeInternal, ITrace trace)\n at Microsoft.Azure.Cosmos.Query.Core.ExecutionContext.CosmosQueryExecutionContextFactory.TryCreateFromPartitionedQueryExecutionInfoAsync(DocumentContainer documentContainer, PartitionedQueryExecutionInfo partitionedQueryExecutionInfo, ContainerQueryProperties containerQueryProperties, CosmosQueryContext cosmosQueryContext, InputParameters inputParameters, ITrace trace, CancellationToken cancellationToken)\n at Microsoft.Azure.Cosmos.Query.Core.ExecutionContext.CosmosQueryExecutionContextFactory.TryCreateCoreContextAsync(DocumentContainer documentContainer, CosmosQueryContext cosmosQueryContext, InputParameters inputParameters, ITrace trace, CancellationToken cancellationToken)\n at Microsoft.Azure.Cosmos.Query.Core.AsyncLazy`1.GetValueAsync(ITrace trace, CancellationToken cancellationToken)\n at Microsoft.Azure.Cosmos.Query.Core.Pipeline.LazyQueryPipelineStage.MoveNextAsync(ITrace trace)\n at Microsoft.Azure.Cosmos.Query.Core.Pipeline.NameCacheStaleRetryQueryPipelineStage.MoveNextAsync(ITrace trace)\n at Microsoft.Azure.Cosmos.Query.Core.Pipeline.CatchAllQueryPipelineStage.MoveNextAsync(ITrace trace)\n at Microsoft.Azure.Cosmos.Query.QueryIterator.ReadNextAsync(ITrace trace, CancellationToken cancellationToken)"}}]}
|
|
Analyze (actions)
Starting April 2026, the CodeQL Action will skip computing file coverage information on pull requests to improve analysis performance. File coverage information will still be computed on non-PR analyses.
To opt out of this change, create a custom repository property with the name `github-codeql-file-coverage-on-prs` and the type "True/false", then set this property to `true` in the repository's settings.
|
|
Analyze (csharp)
Starting April 2026, the CodeQL Action will skip computing file coverage information on pull requests to improve analysis performance. File coverage information will still be computed on non-PR analyses.
To opt out of this change, create a custom repository property with the name `github-codeql-file-coverage-on-prs` and the type "True/false", then set this property to `true` in the repository's settings.
|