[ 
https://issues.apache.org/jira/browse/IGNITE-16336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pavel Tupitsyn updated IGNITE-16336:
------------------------------------
    Description: 
Apache.Ignite.EntityFramework.Tests.EntityFrameworkCacheTest.TestOldEntriesCleanupMultithreaded
 is flaky:

{code}
Unexpected exception: System.Data.Entity.Infrastructure.DbUpdateException: An 
error occurred while updating the entries. See the inner exception for details. 
---> System.Data.Entity.Core.UpdateException: An error occurred while updating 
the entries. See the inner exception for details. ---> 
System.Data.SqlServerCe.SqlCeLockTimeoutException: SQL Server Compact timed out 
waiting for a lock. The default lock time is 2000ms for devices and 5000ms for 
desktops. The default lock timeout can be increased in the connection string 
using the ssce: default lock timeout property. [ Session id = 9,Thread id = 
16052,Process id = 11844,Table name = Blogs,Conflict type = u lock (u 
blocks),Resource = RID: 1043:0 ]
   at System.Data.SqlServerCe.SqlCeCommand.ProcessResults(Int32 hr)
   at System.Data.SqlServerCe.SqlCeCommand.ExecuteCommandText(IntPtr& pCursor, 
Boolean& isBaseTableCursor)
   at System.Data.SqlServerCe.SqlCeCommand.ExecuteCommand(CommandBehavior 
behavior, String method, ResultSetOptions options)
   at System.Data.SqlServerCe.SqlCeCommand.ExecuteNonQuery()
   at System.Data.Entity.SqlServerCompact.SqlCeMultiCommand.ExecuteNonQuery()
   at Apache.Ignite.EntityFramework.Impl.DbCommandProxy.ExecuteNonQuery() in 
C:\BuildAgent\work\7bc1c54bc719b67c\modules\platforms\dotnet\Apache.Ignite.EntityFramework\Impl\DbCommandProxy.cs:line
 205
   at 
System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget
 target, Func`3 operation, TInterceptionContext interceptionContext, Action`3 
executing, Action`3 executed)
   at 
System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.NonQuery(DbCommand
 command, DbCommandInterceptionContext interceptionContext)
   at 
System.Data.Entity.Core.Mapping.Update.Internal.DynamicUpdateCommand.Execute(Dictionary`2
 identifierValues, List`1 generatedValues)
   at System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update()
   --- End of inner exception stack trace ---
   at System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update()
   at 
System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 
func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, 
Boolean releaseConnectionOnSuccess)
   at 
System.Data.Entity.Core.Objects.ObjectContext.SaveChangesToStore(SaveOptions 
options, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction)
   at 
System.Data.Entity.Core.Objects.ObjectContext.SaveChangesInternal(SaveOptions 
options, Boolean executeInExistingTransaction)
   at System.Data.Entity.Internal.InternalContext.SaveChanges()
   --- End of inner exception stack trace ---
   at System.Data.Entity.Internal.InternalContext.SaveChanges()
   at 
Apache.Ignite.EntityFramework.Tests.EntityFrameworkCacheTest.CreateRemoveBlog0()
 in 
C:\BuildAgent\work\7bc1c54bc719b67c\modules\platforms\dotnet\Apache.Ignite.EntityFramework.Tests\EntityFrameworkCacheTest.cs:line
 814
   at 
Apache.Ignite.EntityFramework.Tests.EntityFrameworkCacheTest.CreateRemoveBlog() 
in 
C:\BuildAgent\work\7bc1c54bc719b67c\modules\platforms\dotnet\Apache.Ignite.EntityFramework.Tests\EntityFrameworkCacheTest.cs:line
 776
   at 
Apache.Ignite.Core.Tests.TestUtils.<>c__DisplayClass16_0.<RunMultiThreaded>b__0()
 in 
C:\BuildAgent\work\7bc1c54bc719b67c\modules\platforms\dotnet\Apache.Ignite.Core.Tests\TestUtils.cs:line
 208
   at Apache.Ignite.Core.Tests.TestUtils.RunMultiThreaded(Action action, Int32 
threadNum, Int32 duration) in 
C:\BuildAgent\work\7bc1c54bc719b67c\modules\platforms\dotnet\Apache.Ignite.Core.Tests\TestUtils.cs:line
 231
   at 
Apache.Ignite.EntityFramework.Tests.EntityFrameworkCacheTest.TestOldEntriesCleanupMultithreaded()
 in 
C:\BuildAgent\work\7bc1c54bc719b67c\modules\platforms\dotnet\Apache.Ignite.EntityFramework.Tests\EntityFrameworkCacheTest.cs:line
 714
{code}

> .NET: EntityFrameworkCacheTest.TestOldEntriesCleanupMultithreaded is flaky
> --------------------------------------------------------------------------
>
>                 Key: IGNITE-16336
>                 URL: https://issues.apache.org/jira/browse/IGNITE-16336
>             Project: Ignite
>          Issue Type: Bug
>          Components: platforms
>            Reporter: Pavel Tupitsyn
>            Assignee: Pavel Tupitsyn
>            Priority: Trivial
>              Labels: .NET
>
> Apache.Ignite.EntityFramework.Tests.EntityFrameworkCacheTest.TestOldEntriesCleanupMultithreaded
>  is flaky:
> {code}
> Unexpected exception: System.Data.Entity.Infrastructure.DbUpdateException: An 
> error occurred while updating the entries. See the inner exception for 
> details. ---> System.Data.Entity.Core.UpdateException: An error occurred 
> while updating the entries. See the inner exception for details. ---> 
> System.Data.SqlServerCe.SqlCeLockTimeoutException: SQL Server Compact timed 
> out waiting for a lock. The default lock time is 2000ms for devices and 
> 5000ms for desktops. The default lock timeout can be increased in the 
> connection string using the ssce: default lock timeout property. [ Session id 
> = 9,Thread id = 16052,Process id = 11844,Table name = Blogs,Conflict type = u 
> lock (u blocks),Resource = RID: 1043:0 ]
>    at System.Data.SqlServerCe.SqlCeCommand.ProcessResults(Int32 hr)
>    at System.Data.SqlServerCe.SqlCeCommand.ExecuteCommandText(IntPtr& 
> pCursor, Boolean& isBaseTableCursor)
>    at System.Data.SqlServerCe.SqlCeCommand.ExecuteCommand(CommandBehavior 
> behavior, String method, ResultSetOptions options)
>    at System.Data.SqlServerCe.SqlCeCommand.ExecuteNonQuery()
>    at System.Data.Entity.SqlServerCompact.SqlCeMultiCommand.ExecuteNonQuery()
>    at Apache.Ignite.EntityFramework.Impl.DbCommandProxy.ExecuteNonQuery() in 
> C:\BuildAgent\work\7bc1c54bc719b67c\modules\platforms\dotnet\Apache.Ignite.EntityFramework\Impl\DbCommandProxy.cs:line
>  205
>    at 
> System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget
>  target, Func`3 operation, TInterceptionContext interceptionContext, Action`3 
> executing, Action`3 executed)
>    at 
> System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.NonQuery(DbCommand
>  command, DbCommandInterceptionContext interceptionContext)
>    at 
> System.Data.Entity.Core.Mapping.Update.Internal.DynamicUpdateCommand.Execute(Dictionary`2
>  identifierValues, List`1 generatedValues)
>    at 
> System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update()
>    --- End of inner exception stack trace ---
>    at 
> System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update()
>    at 
> System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 
> func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, 
> Boolean releaseConnectionOnSuccess)
>    at 
> System.Data.Entity.Core.Objects.ObjectContext.SaveChangesToStore(SaveOptions 
> options, IDbExecutionStrategy executionStrategy, Boolean 
> startLocalTransaction)
>    at 
> System.Data.Entity.Core.Objects.ObjectContext.SaveChangesInternal(SaveOptions 
> options, Boolean executeInExistingTransaction)
>    at System.Data.Entity.Internal.InternalContext.SaveChanges()
>    --- End of inner exception stack trace ---
>    at System.Data.Entity.Internal.InternalContext.SaveChanges()
>    at 
> Apache.Ignite.EntityFramework.Tests.EntityFrameworkCacheTest.CreateRemoveBlog0()
>  in 
> C:\BuildAgent\work\7bc1c54bc719b67c\modules\platforms\dotnet\Apache.Ignite.EntityFramework.Tests\EntityFrameworkCacheTest.cs:line
>  814
>    at 
> Apache.Ignite.EntityFramework.Tests.EntityFrameworkCacheTest.CreateRemoveBlog()
>  in 
> C:\BuildAgent\work\7bc1c54bc719b67c\modules\platforms\dotnet\Apache.Ignite.EntityFramework.Tests\EntityFrameworkCacheTest.cs:line
>  776
>    at 
> Apache.Ignite.Core.Tests.TestUtils.<>c__DisplayClass16_0.<RunMultiThreaded>b__0()
>  in 
> C:\BuildAgent\work\7bc1c54bc719b67c\modules\platforms\dotnet\Apache.Ignite.Core.Tests\TestUtils.cs:line
>  208
>    at Apache.Ignite.Core.Tests.TestUtils.RunMultiThreaded(Action action, 
> Int32 threadNum, Int32 duration) in 
> C:\BuildAgent\work\7bc1c54bc719b67c\modules\platforms\dotnet\Apache.Ignite.Core.Tests\TestUtils.cs:line
>  231
>    at 
> Apache.Ignite.EntityFramework.Tests.EntityFrameworkCacheTest.TestOldEntriesCleanupMultithreaded()
>  in 
> C:\BuildAgent\work\7bc1c54bc719b67c\modules\platforms\dotnet\Apache.Ignite.EntityFramework.Tests\EntityFrameworkCacheTest.cs:line
>  714
> {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to