We had to take down our internal servers last Friday due to blackouts (systems were on UPS) but unfortunately since bringing them back up starting builds on Continua crashes the Continua CI service (v 1.8.1.899).
I see the following messages in even log:
Application: Continua.Server.Service.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: exception code c0000005, exception address 000007FF9F425522
Stack:
at System.Data.SqlServerCe.UnmanagedLibraryHelper+SafeLibrary_NativeMethods.LoadLibrary(System.String)
at System.Data.SqlServerCe.UnmanagedLibraryHelper+SafeLibrary_NativeMethods.LoadLibrary(System.String)
at System.Data.SqlServerCe.NativeMethodsHelperâŚctor(System.String)
at System.Data.SqlServerCe.NativeMethods.LoadValidLibrary(System.String)
at System.Data.SqlServerCe.NativeMethods.LoadNativeBinariesFromPrivateFolder(System.String)
at System.Data.SqlServerCe.NativeMethods.LoadNativeBinaries()
at System.Data.SqlServerCe.SqlCeEngineâŚctor(System.String)
at Continua.Modules.Builds.Logging.SqlCeLogSession.EnsureDatabase(System.String, System.String, Boolean)
at Continua.Modules.Builds.Logging.SqlCeLogSession.Open(Continua.Modules.Builds.Logging.LogAccessType)
at System.RuntimeMethodHandle.InvokeMethod(System.Object, System.Object[], System.Signature, Boolean)
at System.Reflection.RuntimeConstructorInfo.Invoke(System.Reflection.BindingFlags, System.Reflection.Binder, System.Object[], System.Globalization.CultureInfo)
at System.RuntimeType.CreateInstanceImpl(System.Reflection.BindingFlags, System.Reflection.Binder, System.Object[], System.Globalization.CultureInfo, System.Object[], System.Threading.StackCrawlMark ByRef)
at System.Activator.CreateInstance(System.Type, System.Reflection.BindingFlags, System.Reflection.Binder, System.Object[], System.Globalization.CultureInfo, System.Object[])
at System.Activator.CreateInstance(System.Type, System.Object[])
at Continua.Modules.Builds.Logging.LogSessionManager.GetAvailableSession[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.String, Boolean)
at Continua.Modules.Builds.Logging.LogSessionManager.OpenSessionForWriting(System.String)
at Continua.Modules.Builds.Logging.BuildLogWriter.EndUnfinishedStages()
at Continua.Modules.Builds.Logging.BuildLogWriter.OnStageBegin(Continua.Modules.Builds.Stage)
at Continua.Modules.Builds.BuildRunner.OnExecutingStage(Continua.StateMachine.Transition1<Continua.Modules.Builds.BuildRunnerState>) at Continua.StateMachine.StateMachine
1[[Continua.Modules.Builds.BuildRunnerState, Continua.Modules.Builds, Version=1.8.1.899, Culture=neutral, PublicKeyToken=null]].Execute(Continua.StateMachine.Transition`1<Continua.Modules.Builds.BuildRunnerState>)
at Continua.Modules.Builds.BuildRunner.StartStage(System.Guid)
at Continua.Modules.Builds.BuildController.OnTaskExecute(System.Object)
at System.Threading.Tasks.Task.Execute()
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef)
at System.Threading.Tasks.Task.ExecuteEntry(Boolean)
at Continua.Shared.Utils.Threading.LimitedConcurrencyLevelTaskScheduler.b__6_0(System.Object)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
I also see a bunch of PostgresSQL errors:
The description for Event ID 0 from source PostgreSQL cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
If the event originated on another computer, the display information had to be saved with the event.
_The following information was included with the event: _
LOG: unexpected EOF on client connection with an open transaction
And:
The description for Event ID 0 from source PostgreSQL cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
If the event originated on another computer, the display information had to be saved with the event.
_The following information was included with the event: _
LOG: could not receive data from client: An existing connection was forcibly closed by the remote host.
The configuration state seems OK (we can view configurations no problem) its just that when we kick off a build it almost immediately dies.
What steps should I take in this scenario?