Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

EditionAppService_Tests.Should_Create_Edition Test Failed #2319


User avatar
0
michaelhilgers created

Hi

i have a problem with the Tests.Editions.EditionAppService_Tests.Should_Create_Edition and Tests.Authorization.Accounts.AccountAppService_Tests.Should_Register tests, the Test failed every time.

see attached logfile.

Can you help me please? Thanks

2017-01-20T10:33:03.2857128Z Failed LignaSystems.PM.Tests.Editions.EditionAppService_Tests.Should_Create_Edition 2017-01-20T10:33:03.2857128Z ##[error] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) 2017-01-20T10:33:03.2857128Z ##[error] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 2017-01-20T10:33:03.2857128Z ##[error] at Abp.EntityFramework.AbpDbContext.<SaveChangesAsync>d__42.MoveNext() 2017-01-20T10:33:03.2857128Z ##[error]--- End of stack trace from previous location where exception was thrown --- 2017-01-20T10:33:03.2857128Z ##[error] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) 2017-01-20T10:33:03.2857128Z ##[error] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 2017-01-20T10:33:03.2857128Z ##[error] at Abp.EntityFramework.Uow.EfUnitOfWork.<SaveChangesInDbContextAsync>d__19.MoveNext() 2017-01-20T10:33:03.2857128Z ##[error]--- End of stack trace from previous location where exception was thrown --- 2017-01-20T10:33:03.2857128Z ##[error] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) 2017-01-20T10:33:03.2857128Z ##[error] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 2017-01-20T10:33:03.2857128Z ##[error] at Abp.EntityFramework.Uow.EfUnitOfWork.<SaveChangesAsync>d__12.MoveNext() 2017-01-20T10:33:03.2857128Z ##[error]--- End of stack trace from previous location where exception was thrown --- 2017-01-20T10:33:03.2857128Z ##[error] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) 2017-01-20T10:33:03.2857128Z ##[error] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 2017-01-20T10:33:03.2857128Z ##[error] at Abp.EntityFramework.Uow.EfUnitOfWork.<CompleteUowAsync>d__15.MoveNext() 2017-01-20T10:33:03.2857128Z ##[error]--- End of stack trace from previous location where exception was thrown --- 2017-01-20T10:33:03.2857128Z ##[error] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) 2017-01-20T10:33:03.2857128Z ##[error] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 2017-01-20T10:33:03.2857128Z ##[error] at Abp.Domain.Uow.UnitOfWorkBase.<CompleteAsync>d__57.MoveNext() 2017-01-20T10:33:03.2857128Z ##[error]--- End of stack trace from previous location where exception was thrown --- 2017-01-20T10:33:03.2857128Z ##[error] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) 2017-01-20T10:33:03.2857128Z ##[error] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 2017-01-20T10:33:03.2857128Z ##[error] at Abp.Domain.Uow.UnitOfWorkInterceptor.<>c__DisplayClass5_0.<<PerformAsyncUow>b__0>d.MoveNext() 2017-01-20T10:33:03.2857128Z ##[error]--- End of stack trace from previous location where exception was thrown --- 2017-01-20T10:33:03.2857128Z ##[error] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) 2017-01-20T10:33:03.2857128Z ##[error] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 2017-01-20T10:33:03.2857128Z ##[error] at Abp.Threading.InternalAsyncHelper.<AwaitTaskWithPostActionAndFinally>d__1.MoveNext() 2017-01-20T10:33:03.2857128Z ##[error]--- End of stack trace from previous location where exception was thrown --- 2017-01-20T10:33:03.2857128Z ##[error] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) 2017-01-20T10:33:03.2857128Z ##[error] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 2017-01-20T10:33:03.2857128Z ##[error] at Abp.Threading.InternalAsyncHelper.<AwaitTaskWithFinally>d__0.MoveNext() 2017-01-20T10:33:03.2857128Z ##[error]--- End of stack trace from previous location where exception was thrown --- 2017-01-20T10:33:03.2857128Z ##[error] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) 2017-01-20T10:33:03.2857128Z ##[error] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 2017-01-20T10:33:03.2857128Z ##[error] at LignaSystems.PM.Tests.Editions.EditionAppService_Tests.<Should_Create_Edition>d__3.MoveNext() in C:\agent_work\1\s\LignaSystems.PM\test\LignaSystems.PM.Tests\Editions\EditionAppService_Tests.cs:line 43 2017-01-20T10:33:03.2857128Z ##[error]--- End of stack trace from previous location where exception was thrown --- 2017-01-20T10:33:03.2857128Z ##[error] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) 2017-01-20T10:33:03.2857128Z ##[error] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 2017-01-20T10:33:03.2857128Z ##[error]--- End of stack trace from previous location where exception was thrown --- 2017-01-20T10:33:03.2857128Z ##[error] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) 2017-01-20T10:33:03.2857128Z ##[error] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 2017-01-20T10:33:03.2857128Z ##[error]--- End of stack trace from previous location where exception was thrown --- 2017-01-20T10:33:03.2857128Z ##[error] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) 2017-01-20T10:33:03.2857128Z ##[error] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 2017-01-20T10:33:03.2857128Z ##[error]----- Inner Stack Trace ----- 2017-01-20T10:33:03.2857128Z ##[error] at System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.<UpdateAsync>d__0.MoveNext() 2017-01-20T10:33:03.2857128Z ##[error]--- End of stack trace from previous location where exception was thrown --- 2017-01-20T10:33:03.2857128Z ##[error] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) 2017-01-20T10:33:03.2857128Z ##[error] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 2017-01-20T10:33:03.2857128Z ##[error] at System.Data.Entity.Core.Objects.ObjectContext.<ExecuteInTransactionAsync>d__3d1.MoveNext() 2017-01-20T10:33:03.2857128Z ##[error]--- End of stack trace from previous location where exception was thrown --- 2017-01-20T10:33:03.2857128Z 2017-01-20T10:33:03.2857128Z ##[error] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) 2017-01-20T10:33:03.2857128Z ##[error] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 2017-01-20T10:33:03.2857128Z ##[error] at System.Data.Entity.Core.Objects.ObjectContext.<SaveChangesToStoreAsync>d__39.MoveNext() 2017-01-20T10:33:03.2857128Z ##[error]--- End of stack trace from previous location where exception was thrown --- 2017-01-20T10:33:03.2857128Z ##[error] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) 2017-01-20T10:33:03.2857128Z ##[error] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 2017-01-20T10:33:03.2857128Z ##[error] at System.Data.Entity.Core.Objects.ObjectContext.<SaveChangesInternalAsync>d__31.MoveNext() 2017-01-20T10:33:03.2857128Z ##[error]----- Inner Stack Trace ----- 2017-01-20T10:33:03.2857128Z ##[error] at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) 2017-01-20T10:33:03.2857128Z ##[error] at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) 2017-01-20T10:33:03.2857128Z ##[error] at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) 2017-01-20T10:33:03.2857128Z ##[error] at Effort.Internal.Common.DatabaseReflectionHelper.InsertEntity(ITable table, Object entity, Transaction transaction) 2017-01-20T10:33:03.2857128Z ##[error] at Effort.Internal.CommandActions.InsertCommandAction.CreateAndInsertEntity(ITable table, IList1 memberBindings, Transaction transaction) 2017-01-20T10:33:03.2857128Z ##[error] at Effort.Internal.CommandActions.InsertCommandAction.ExecuteDataReader(ActionContext context) 2017-01-20T10:33:03.2857128Z ##[error] at Effort.Provider.EffortEntityCommand.ExecuteDbDataReader(CommandBehavior behavior) 2017-01-20T10:33:03.2857128Z ##[error] at System.Data.Common.DbCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken) 2017-01-20T10:33:03.2857128Z ##[error]--- End of stack trace from previous location where exception was thrown --- 2017-01-20T10:33:03.2857128Z ##[error] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) 2017-01-20T10:33:03.2857128Z ##[error] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 2017-01-20T10:33:03.2857128Z ##[error] at System.Data.Entity.Core.Mapping.Update.Internal.DynamicUpdateCommand.<ExecuteAsync>d__0.MoveNext() 2017-01-20T10:33:03.2857128Z ##[error]--- End of stack trace from previous location where exception was thrown --- 2017-01-20T10:33:03.2857128Z ##[error] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) 2017-01-20T10:33:03.2857128Z ##[error] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 2017-01-20T10:33:03.2857128Z ##[error] at System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.<UpdateAsync>d__0.MoveNext() 2017-01-20T10:33:03.2857128Z ##[error]----- Inner Stack Trace ----- 2017-01-20T10:33:03.2857128Z ##[error] at NMemory.Tables.Relation4.ValidateEntityCore(TForeign foreign) 2017-01-20T10:33:03.2857128Z ##[error] at NMemory.Tables.Relation4.NMemory.Tables.IRelationInternal.ValidateEntity(Object foreign) 2017-01-20T10:33:03.2857128Z ##[error] at NMemory.Execution.ExecutionHelper.ValidateForeignKeys(IList1 relations, IEnumerable1 referringEntities) 2017-01-20T10:33:03.2857128Z ##[error] at NMemory.Execution.CommandExecutor.ExecuteInsert[T](T entity, IExecutionContext context) 2017-01-20T10:33:03.2857128Z ##[error] at NMemory.Tables.DefaultTable2.InsertCore(TEntity entity, Transaction transaction) 2017-01-20T10:33:03.2857128Z ##[error] at Effort.Internal.DbManagement.Engine.ExtendedTable2.InsertCore(TEntity entity, Transaction transaction) 2017-01-20T10:33:03.2857128Z ##[error] at NMemory.Tables.Table`2.Insert(TEntity entity, Transaction transaction)

...........

2017-01-20T10:36:26.3962756Z Failed LignaSystems.PM.Tests.Authorization.Accounts.AccountAppService_Tests.Should_Register 2017-01-20T10:36:26.3962756Z


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    This should be fixed with latest ABP v1.2.2. Can you update it and try again ?