Test Name: TestMethod1
Test Outcome: Failed
Result Message:
Test method RavenDeferDeleteTest.UnitTest1.TestMethod1 threw exception:
Raven.Abstractions.Connection.ErrorResponseException: A task was canceled.
Error calling Test Cleanup method for test class RavenDeferDeleteTest.UnitTest1: System.IO.IOException: The following processes are locking C:\Users\klevien\Documents\Visual Studio 2015\Projects\RavenDeferDeleteTest\RavenDeferDeleteTest\bin\Debug\TestMethod1-2017-01-05,17-19-02-1\System\Data
vstest.executionengine.x86 111340
Result StandardOutput:
Debug Trace:
1/5/2017 5:19:04 PM Starting Mass Store...
TransactionalStorage.Batch was called after it was disposed, call was ignored.
System.AggregateException: DocumentStorageActions disposal error. ---> Microsoft.Isam.Esent.Interop.EsentTermInProgressException: Termination in progress
at Microsoft.Isam.Esent.Interop.Api.Check(Int32 err) in C:\Work\ravendb\SharedLibs\Sources\managedesent-61618\EsentInterop\Api.cs:line 2739
at Microsoft.Isam.Esent.Interop.Api.JetCloseDatabase(JET_SESID sesid, JET_DBID dbid, CloseDatabaseGrbit grbit) in C:\Work\ravendb\SharedLibs\Sources\managedesent-61618\EsentInterop\Api.cs:line 366
at Raven.Database.Storage.Esent.StorageActions.DocumentStorageActions.<Dispose>b__69_1() in C:\Builds\RavenDB-Stable-3.5\Raven.Database\Storage\Esent\StorageActions\General.cs:line 160
at Raven.Database.Impl.ExceptionAggregator.Execute(Action action) in C:\Builds\RavenDB-Stable-3.5\Raven.Database\Impl\ExceptionAggregator.cs:line 31
--- End of inner exception stack trace ---
at Raven.Database.Impl.ExceptionAggregator.ThrowIfNeeded() in C:\Builds\RavenDB-Stable-3.5\Raven.Database\Impl\ExceptionAggregator.cs:line 49
at Raven.Database.Storage.Esent.StorageActions.DocumentStorageActions.Dispose() in C:\Builds\RavenDB-Stable-3.5\Raven.Database\Storage\Esent\StorageActions\General.cs:line 169
at Raven.Storage.Esent.TransactionalStorage.ExecuteBatch(Action`1 action, EsentTransactionContext transactionContext) in C:\Builds\RavenDB-Stable-3.5\Raven.Database\Storage\Esent\TransactionalStorage.cs:line 913
at Raven.Storage.Esent.TransactionalStorage.Batch(Action`1 action) in C:\Builds\RavenDB-Stable-3.5\Raven.Database\Storage\Esent\TransactionalStorage.cs:line 819
---> (Inner Exception #0) Microsoft.Isam.Esent.Interop.EsentTermInProgressException: Termination in progress
at Microsoft.Isam.Esent.Interop.Api.Check(Int32 err) in C:\Work\ravendb\SharedLibs\Sources\managedesent-61618\EsentInterop\Api.cs:line 2739
at Microsoft.Isam.Esent.Interop.Api.JetCloseDatabase(JET_SESID sesid, JET_DBID dbid, CloseDatabaseGrbit grbit) in C:\Work\ravendb\SharedLibs\Sources\managedesent-61618\EsentInterop\Api.cs:line 366
at Raven.Database.Storage.Esent.StorageActions.DocumentStorageActions.<Dispose>b__69_1() in C:\Builds\RavenDB-Stable-3.5\Raven.Database\Storage\Esent\StorageActions\General.cs:line 160
at Raven.Database.Impl.ExceptionAggregator.Execute(Action action) in C:\Builds\RavenDB-Stable-3.5\Raven.Database\Impl\ExceptionAggregator.cs:line 31<---
---> (Inner Exception #1) Microsoft.Isam.Esent.Interop.EsentTermInProgressException: Termination in progress
at Microsoft.Isam.Esent.Interop.Api.Check(Int32 err) in C:\Work\ravendb\SharedLibs\Sources\managedesent-61618\EsentInterop\Api.cs:line 2739
at Microsoft.Isam.Esent.Interop.Api.JetRollback(JET_SESID sesid, RollbackTransactionGrbit grbit) in C:\Work\ravendb\SharedLibs\Sources\managedesent-61618\EsentInterop\Api.cs:line 1030
at Microsoft.Isam.Esent.Interop.Transaction.Rollback() in C:\Work\ravendb\SharedLibs\Sources\managedesent-61618\EsentInterop\Transaction.cs:line 104
at Microsoft.Isam.Esent.Interop.Transaction.ReleaseResource() in C:\Work\ravendb\SharedLibs\Sources\managedesent-61618\EsentInterop\Transaction.cs:line 115
at Microsoft.Isam.Esent.Interop.EsentResource.Dispose(Boolean isDisposing) in C:\Work\ravendb\SharedLibs\Sources\managedesent-61618\EsentInterop\EsentResource.cs:line 71
at Raven.Database.Storage.Esent.StorageActions.DocumentStorageActions.<.ctor>b__68_0() in C:\Builds\RavenDB-Stable-3.5\Raven.Database\Storage\Esent\StorageActions\General.cs:line 84
at Raven.Database.Storage.Esent.StorageActions.DocumentStorageActions.<Dispose>b__69_2() in C:\Builds\RavenDB-Stable-3.5\Raven.Database\Storage\Esent\StorageActions\General.cs:line 166
at Raven.Database.Impl.ExceptionAggregator.Execute(Action action) in C:\Builds\RavenDB-Stable-3.5\Raven.Database\Impl\ExceptionAggregator.cs:line 31<---
---> (Inner Exception #2) Microsoft.Isam.Esent.Interop.EsentTermInProgressException: Termination in progress
at Microsoft.Isam.Esent.Interop.Api.Check(Int32 err) in C:\Work\ravendb\SharedLibs\Sources\managedesent-61618\EsentInterop\Api.cs:line 2739
at Microsoft.Isam.Esent.Interop.Api.JetCloseTable(JET_SESID sesid, JET_TABLEID tableid) in C:\Work\ravendb\SharedLibs\Sources\managedesent-61618\EsentInterop\Api.cs:line 895
at Microsoft.Isam.Esent.Interop.Table.ReleaseResource() in C:\Work\ravendb\SharedLibs\Sources\managedesent-61618\EsentInterop\Table.cs:line 107
at Microsoft.Isam.Esent.Interop.EsentResource.Dispose(Boolean isDisposing) in C:\Work\ravendb\SharedLibs\Sources\managedesent-61618\EsentInterop\EsentResource.cs:line 71
at Raven.Database.Storage.Esent.StorageActions.DocumentStorageActions.<>c__DisplayClass69_0.<Dispose>b__0() in C:\Builds\RavenDB-Stable-3.5\Raven.Database\Storage\Esent\StorageActions\General.cs:line 154
at Raven.Database.Impl.ExceptionAggregator.Execute(Action action) in C:\Builds\RavenDB-Stable-3.5\Raven.Database\Impl\ExceptionAggregator.cs:line 31<---
TransactionalStorage.Batch was called after it was disposed, call was ignored.
System.AggregateException: DocumentStorageActions disposal error. ---> Microsoft.Isam.Esent.Interop.EsentTermInProgressException: Termination in progress
at Microsoft.Isam.Esent.Interop.Api.Check(Int32 err) in C:\Work\ravendb\SharedLibs\Sources\managedesent-61618\EsentInterop\Api.cs:line 2739
at Microsoft.Isam.Esent.Interop.Api.JetRollback(JET_SESID sesid, RollbackTransactionGrbit grbit) in C:\Work\ravendb\SharedLibs\Sources\managedesent-61618\EsentInterop\Api.cs:line 1030
at Microsoft.Isam.Esent.Interop.Transaction.Rollback() in C:\Work\ravendb\SharedLibs\Sources\managedesent-61618\EsentInterop\Transaction.cs:line 104
at Microsoft.Isam.Esent.Interop.Transaction.ReleaseResource() in C:\Work\ravendb\SharedLibs\Sources\managedesent-61618\EsentInterop\Transaction.cs:line 115
at Microsoft.Isam.Esent.Interop.EsentResource.Dispose(Boolean isDisposing) in C:\Work\ravendb\SharedLibs\Sources\managedesent-61618\EsentInterop\EsentResource.cs:line 71
at Raven.Database.Storage.Esent.StorageActions.DocumentStorageActions.<.ctor>b__68_0() in C:\Builds\RavenDB-Stable-3.5\Raven.Database\Storage\Esent\StorageActions\General.cs:line 84
at Raven.Database.Storage.Esent.StorageActions.DocumentStorageActions.<Dispose>b__69_2() in C:\Builds\RavenDB-Stable-3.5\Raven.Database\Storage\Esent\StorageActions\General.cs:line 166
at Raven.Database.Impl.ExceptionAggregator.Execute(Action action) in C:\Builds\RavenDB-Stable-3.5\Raven.Database\Impl\ExceptionAggregator.cs:line 31
--- End of inner exception stack trace ---
at Raven.Database.Impl.ExceptionAggregator.ThrowIfNeeded() in C:\Builds\RavenDB-Stable-3.5\Raven.Database\Impl\ExceptionAggregator.cs:line 49
at Raven.Database.Storage.Esent.StorageActions.DocumentStorageActions.Dispose() in C:\Builds\RavenDB-Stable-3.5\Raven.Database\Storage\Esent\StorageActions\General.cs:line 169
at Raven.Storage.Esent.TransactionalStorage.ExecuteBatch(Action`1 action, EsentTransactionContext transactionContext) in C:\Builds\RavenDB-Stable-3.5\Raven.Database\Storage\Esent\TransactionalStorage.cs:line 913
at Raven.Storage.Esent.TransactionalStorage.Batch(Action`1 action) in C:\Builds\RavenDB-Stable-3.5\Raven.Database\Storage\Esent\TransactionalStorage.cs:line 819
---> (Inner Exception #0) Microsoft.Isam.Esent.Interop.EsentTermInProgressException: Termination in progress
at Microsoft.Isam.Esent.Interop.Api.Check(Int32 err) in C:\Work\ravendb\SharedLibs\Sources\managedesent-61618\EsentInterop\Api.cs:line 2739
at Microsoft.Isam.Esent.Interop.Api.JetRollback(JET_SESID sesid, RollbackTransactionGrbit grbit) in C:\Work\ravendb\SharedLibs\Sources\managedesent-61618\EsentInterop\Api.cs:line 1030
at Microsoft.Isam.Esent.Interop.Transaction.Rollback() in C:\Work\ravendb\SharedLibs\Sources\managedesent-61618\EsentInterop\Transaction.cs:line 104
at Microsoft.Isam.Esent.Interop.Transaction.ReleaseResource() in C:\Work\ravendb\SharedLibs\Sources\managedesent-61618\EsentInterop\Transaction.cs:line 115
at Microsoft.Isam.Esent.Interop.EsentResource.Dispose(Boolean isDisposing) in C:\Work\ravendb\SharedLibs\Sources\managedesent-61618\EsentInterop\EsentResource.cs:line 71
at Raven.Database.Storage.Esent.StorageActions.DocumentStorageActions.<.ctor>b__68_0() in C:\Builds\RavenDB-Stable-3.5\Raven.Database\Storage\Esent\StorageActions\General.cs:line 84
at Raven.Database.Storage.Esent.StorageActions.DocumentStorageActions.<Dispose>b__69_2() in C:\Builds\RavenDB-Stable-3.5\Raven.Database\Storage\Esent\StorageActions\General.cs:line 166
at Raven.Database.Impl.ExceptionAggregator.Execute(Action action) in C:\Builds\RavenDB-Stable-3.5\Raven.Database\Impl\ExceptionAggregator.cs:line 31<---
---> (Inner Exception #1) Microsoft.Isam.Esent.Interop.EsentTermInProgressException: Termination in progress
at Microsoft.Isam.Esent.Interop.Api.Check(Int32 err) in C:\Work\ravendb\SharedLibs\Sources\managedesent-61618\EsentInterop\Api.cs:line 2739
at Microsoft.Isam.Esent.Interop.Api.JetCloseTable(JET_SESID sesid, JET_TABLEID tableid) in C:\Work\ravendb\SharedLibs\Sources\managedesent-61618\EsentInterop\Api.cs:line 895
at Microsoft.Isam.Esent.Interop.Table.ReleaseResource() in C:\Work\ravendb\SharedLibs\Sources\managedesent-61618\EsentInterop\Table.cs:line 107
at Microsoft.Isam.Esent.Interop.EsentResource.Dispose(Boolean isDisposing) in C:\Work\ravendb\SharedLibs\Sources\managedesent-61618\EsentInterop\EsentResource.cs:line 71
at Raven.Database.Storage.Esent.StorageActions.DocumentStorageActions.<>c__DisplayClass69_0.<Dispose>b__0() in C:\Builds\RavenDB-Stable-3.5\Raven.Database\Storage\Esent\StorageActions\General.cs:line 154
at Raven.Database.Impl.ExceptionAggregator.Execute(Action action) in C:\Builds\RavenDB-Stable-3.5\Raven.Database\Impl\ExceptionAggregator.cs:line 31<---
---> (Inner Exception #2) Microsoft.Isam.Esent.Interop.EsentTermInProgressException: Termination in progress
at Microsoft.Isam.Esent.Interop.Api.Check(Int32 err) in C:\Work\ravendb\SharedLibs\Sources\managedesent-61618\EsentInterop\Api.cs:line 2739
at Microsoft.Isam.Esent.Interop.Api.JetCloseDatabase(JET_SESID sesid, JET_DBID dbid, CloseDatabaseGrbit grbit) in C:\Work\ravendb\SharedLibs\Sources\managedesent-61618\EsentInterop\Api.cs:line 366
at Raven.Database.Storage.Esent.StorageActions.DocumentStorageActions.<Dispose>b__69_1() in C:\Builds\RavenDB-Stable-3.5\Raven.Database\Storage\Esent\StorageActions\General.cs:line 160
at Raven.Database.Impl.ExceptionAggregator.Execute(Action action) in C:\Builds\RavenDB-Stable-3.5\Raven.Database\Impl\ExceptionAggregator.cs:line 31<---
---> (Inner Exception #3) Microsoft.Isam.Esent.Interop.EsentTermInProgressException: Termination in progress
at Microsoft.Isam.Esent.Interop.Api.Check(Int32 err) in C:\Work\ravendb\SharedLibs\Sources\managedesent-61618\EsentInterop\Api.cs:line 2739
at Microsoft.Isam.Esent.Interop.Api.JetCloseTable(JET_SESID sesid, JET_TABLEID tableid) in C:\Work\ravendb\SharedLibs\Sources\managedesent-61618\EsentInterop\Api.cs:line 895
at Microsoft.Isam.Esent.Interop.Table.ReleaseResource() in C:\Work\ravendb\SharedLibs\Sources\managedesent-61618\EsentInterop\Table.cs:line 107
at Microsoft.Isam.Esent.Interop.EsentResource.Dispose(Boolean isDisposing) in C:\Work\ravendb\SharedLibs\Sources\managedesent-61618\EsentInterop\EsentResource.cs:line 71
at Raven.Database.Storage.Esent.StorageActions.DocumentStorageActions.<>c__DisplayClass69_0.<Dispose>b__0() in C:\Builds\RavenDB-Stable-3.5\Raven.Database\Storage\Esent\StorageActions\General.cs:line 154
at Raven.Database.Impl.ExceptionAggregator.Execute(Action action) in C:\Builds\RavenDB-Stable-3.5\Raven.Database\Impl\ExceptionAggregator.cs:line 31<---