Build Trigger Error triggering build. Message: Exception: AggregateException Message: One or more errors occurred. Stack Trace: Exception: GenericADOException Message: could not update: [Continua.Modules.Builds.Build#3463][SQL: UPDATE builds_build SET BuildNumber = ?, Version = ?, Started = ?, Finished = ?, Queued = ?, Pinned = ?, PinComment = ?, Priority = ?, SummaryState = ?, BuildSuccess = ?, OnlyNotifyTriggeringUsers = ?, QuietPeriodLength = ?, QuietPeriodExpiry = ?, TimeOnQueue = ?, IsFeatureBranchBuild = ?, UsesDefaultBranch = ?, CleanedUp = ?, HasNewChanges = ?, Branches = ?, State = ?, status_message = ?, status_datetime = ?, ConfigurationVersionId = ?, ConfigurationId = ?, WorkspaceId = ?, UserId = ?, PinUserId = ?, TriggerId = ?, VariableNamespaceId = ? WHERE Id = ?] Stack Trace: at NHibernate.Persister.Entity.AbstractEntityPersister.Update(Object id, Object[] fields, Object[] oldFields, Object rowId, Boolean[] includeProperty, Int32 j, Object oldVersion, Object obj, SqlCommandInfo sql, ISessionImplementor session) at NHibernate.Persister.Entity.AbstractEntityPersister.UpdateOrInsert(Object id, Object[] fields, Object[] oldFields, Object rowId, Boolean[] includeProperty, Int32 j, Object oldVersion, Object obj, SqlCommandInfo sql, ISessionImplementor session) at NHibernate.Persister.Entity.AbstractEntityPersister.Update(Object id, Object[] fields, Int32[] dirtyFields, Boolean hasDirtyCollection, Object[] oldFields, Object oldVersion, Object obj, Object rowId, ISessionImplementor session) at NHibernate.Action.EntityUpdateAction.Execute() at NHibernate.Engine.ActionQueue.Execute(IExecutable executable) at NHibernate.Engine.ActionQueue.ExecuteActions(IList list) at NHibernate.Engine.ActionQueue.ExecuteActions() at NHibernate.Event.Default.AbstractFlushingEventListener.PerformExecutions(IEventSource session) at NHibernate.Event.Default.DefaultFlushEventListener.OnFlush(FlushEvent event) at NHibernate.Impl.SessionImpl.Flush() at NHibernate.Transaction.AdoTransaction.Commit() at Continua.Shared.Data.Hibernate.NHibernateDatabase.SaveChanges() at Continua.Modules.Builds.Triggers.TriggerController.RestartQuietPeriod(IApplicationSessionContext session, Build quietPeriodBuild, IBuildManager buildManager) at Continua.Modules.Builds.Triggers.TriggerController.DoQueueBuild(Guid triggerId, IEnumerable`1 buildChangesets, IApplicationSessionContext session, Boolean onlyNotifyTriggeringUsers) at Continua.Modules.Builds.Triggers.TriggerController.QueueBuildChangesetBuild(Guid triggerId, ChangesetDTO change, ICoreApplicationContext context, Boolean onlyNotifyTriggeringUsers) at Continua.Modules.Builds.Triggers.TriggerMessageContext.<>c__DisplayClass1.b__0() at System.Threading.Tasks.Task.Execute() Exception: NpgsqlException Message: FEHLER: 40P01: Verklemmung (Deadlock) entdeckt Stack Trace: at Npgsql.NpgsqlState.d__a.MoveNext() at Npgsql.ForwardsOnlyDataReader.GetNextResponseObject() at Npgsql.ForwardsOnlyDataReader.GetNextRowDescription() at Npgsql.ForwardsOnlyDataReader.NextResult() at Npgsql.ForwardsOnlyDataReader..ctor(IEnumerable`1 dataEnumeration, CommandBehavior behavior, NpgsqlCommand command, NotificationThreadBlock threadBlock, Boolean synchOnReadError) at Npgsql.NpgsqlCommand.GetReader(CommandBehavior cb) at Npgsql.NpgsqlCommand.ExecuteNonQuery() at NHibernate.AdoNet.AbstractBatcher.ExecuteNonQuery(IDbCommand cmd) at NHibernate.AdoNet.NonBatchingBatcher.AddToBatch(IExpectation expectation) at NHibernate.Persister.Entity.AbstractEntityPersister.Update(Object id, Object[] fields, Object[] oldFields, Object rowId, Boolean[] includeProperty, Int32 j, Object oldVersion, Object obj, SqlCommandInfo sql, ISessionImplementor session) |
Hi Christian
We have been looking into this issue for a few weeks now (we have another user with the same issue), but so far we have been unable to reproduce the problem here, which makes it difficult to know whether it’s really fixed or not. If there is any information you can share with us about your setup (privately via email) that would be great.