Skip to content
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

Mixed_sync_async_in_query_cache is flaky #16218

Closed
smitpatel opened this issue Jun 24, 2019 · 6 comments
Closed

Mixed_sync_async_in_query_cache is flaky #16218

smitpatel opened this issue Jun 24, 2019 · 6 comments
Labels
area-external area-query closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. type-bug
Milestone

Comments

@smitpatel
Copy link
Contributor

Microsoft.EntityFrameworkCore.Query.AsyncSimpleQuerySqlServerTest.Mixed_sync_async_in_query_cache
  No source available
   Duration: 6 ms

  Message: 
    Microsoft.Data.SqlClient.SqlException : The incoming tabular data stream (TDS) protocol stream is incorrect. The MARS TDS header contained errors.
  Stack Trace: 
    at SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
    at TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
    at TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
    at SqlDataReader.TryConsumeMetaData()
    at SqlDataReader.get_MetaData()
    at SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
    at SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean isAsync, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
    at SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry, String method)
    at SqlCommand.ExecuteReader(CommandBehavior behavior)
    at RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject) in RelationalCommand.cs line: 363
    at Enumerator.MoveNext() in QueryingEnumerable.cs line: 94
    at List`1.ctor(IEnumerable`1 collection)
    at Enumerable.ToList[TSource](IEnumerable`1 source)
    at AsyncSimpleQueryTestBase`1.Mixed_sync_async_in_query_cache() in AsyncSimpleQueryTestBase.cs line: 261
    at --- End of stack trace from previous location where exception was thrown ---
@smitpatel
Copy link
Contributor Author

Related dotnet/SqlClient#85

@ajcvickers
Copy link
Member

@divega to follow up with SqlClient.

@divega
Copy link
Contributor

divega commented Jun 24, 2019

@smitpatel does this happen on specific OS platforms?

@divega
Copy link
Contributor

divega commented Jun 24, 2019

I talked to @smitpatel offline and this happens on Windows, which I think it is consistent with dotnet/SqlClient#85.

@ajcvickers
Copy link
Member

Triage: On the backlog as blocked by dotnet/SqlClient#85 so that we can re-enable the test once that issue is fixed.

@AndriySvyryd AndriySvyryd changed the title Some issue with MARS.... Mixed_sync_async_in_query_cache is flaky Sep 11, 2019
@ajcvickers ajcvickers modified the milestones: Backlog, 6.0.0 Nov 5, 2020
@ajcvickers ajcvickers self-assigned this Nov 3, 2021
@ajcvickers ajcvickers modified the milestones: Backlog, MQ Nov 3, 2021
@ajcvickers
Copy link
Member

Test was reenabled as part of #27050.

@ajcvickers ajcvickers modified the milestones: MQ, 7.0.0 Dec 8, 2022
@ajcvickers ajcvickers added closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. and removed blocked labels Dec 8, 2022
@ajcvickers ajcvickers removed their assignment Sep 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-external area-query closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. type-bug
Projects
None yet
Development

No branches or pull requests

4 participants