Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Ncrunch Console + Grid Server: Sometimes Load Failure
spolonski
#1 Posted : Wednesday, January 30, 2019 8:22:20 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 7/11/2016(UTC)
Posts: 6
Location: Germany

Thanks: 2 times
Hi Remco,

We are using NCrunch Console in our CI. After update to 3.22 we are getting sometimes Load Failure errors.
Code:


WebApiContrib.IoC.StructureMap (not run)

Path:<skip>\Source\WebApiContrib.IoC.StructureMap\WebApiContrib.IoC.StructureMap.csproj
Result:Load Failure

nCrunch.TaskRunner.Ipc.IpcConnectionClosedException: The connection has been closed
at nCrunch.Core.ProcessManagement.ExternalProcessManager.(EffectiveProcessorArchitecture , ProcessLoadParameters )
at nCrunch.Core.ProcessManagement.ExternalProcessManager.LoadExternalProcess(ProcessLoadParameters parameters, GridClientId client)
at nCrunch.Core.BuildManagement.BuildProcessLauncher..()
at nCrunch.Core.BuildManagement.BuildProcessLauncher.(Action`1 , EffectiveProcessorArchitecture , GridClientId , BuildSystemParameters , IList`1 , Nullable`1 , GridAddress )
at nCrunch.Core.BuildManagement.BuildProcessLauncher.AnalyseComponentBuildInExternalProcess(ComponentLoadParameters parameters, IList`1 customEnvironmentVariables)
at nCrunch.Client.ComponentLoader.SnapshotComponentLoader.(EffectiveProcessorArchitecture , String )
at nCrunch.Client.ComponentLoader.SnapshotComponentLoader.CreateComponentFromXml(FilePath projectFilePath, ParsedBuildXml projectXml, FilePath solutionFilePath, String[] additionalFilesToIncludeAtSolutionLevel, Boolean isLoadedFromFile, VisualStudioVersion vsVersion, ComponentUniqueName componentName, TaskSettings componentTaskSettings, Exception parseException, String targetFramework)



As a workaround we are starting NCrunch one time extra. The second run works as expected.
We are using .NET 4.7.1 and NUnit.

Can update to 3.23 help us?

Chears,
Sergei
Remco
#2 Posted : Wednesday, January 30, 2019 9:15:12 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 5,540

Thanks: 727 times
Was thanked: 914 time(s) in 870 post(s)
Hi Sergei,

Thanks for sharing this issue.

It looks like the MSBuild system responsible for loading the NCrunch project is suffering from a catastrophic failure and the process is being suddenly terminated without warning.

This could be due to an out of memory exception. Try changing the Build process CPU architecture setting to x64.

Do you see anything in the windows event viewer? Most of the code running here is platform and build code being invoked by NCrunch, so it's hard for me to say whether an upgrade to 3.23 would solve this. I am not aware of anything in any recent version of NCrunch that could be considered responsible for this kind of error.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.021 seconds.