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

Notification

Icon
Error

Ipc.IpcConnectionClosedException
crestall
#1 Posted : Friday, January 19, 2018 7:55:04 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 1/19/2018(UTC)
Posts: 1
Location: United States of America

Trying to tets a webAPI Core 2 project bur I get an "Analysis Failure" when attempting to load the tests. This is in VS 2017

An error occurred while analysing this project after it was built: NCrunch encountered an unexpected error occurred while building an environment to analyse an assembly: nCrunch.TaskRunner.Ipc.IpcConnectionClosedException: The connection has been closed
at nCrunch.Core.ProcessManagement.ExternalProcessManager.(ProcessorArchitecture , ProcessLoadParameters )
at nCrunch.Core.ProcessManagement.ExternalProcessManager.LoadExternalProcess(ProcessLoadParameters parameters, GridClientId client)
at nCrunch.Core.TestManagement.TestRunnerProcess..()
at nCrunch.Common.PerformanceTracking.PerfTracker.TrackActivity(String name, Action activity)
at nCrunch.Core.TestManagement.TestRunnerProcess.(Nullable`1 , FilePath , GridClientId , CustomEnvironmentVariable[] )
at nCrunch.Core.TestManagement.TestRunnerProcess..()
at nCrunch.Common.PerformanceTracking.PerfTracker.TrackActivity(String name, Action activity)
at nCrunch.Core.Processing.AnalysisTaskLogic.DoProcessTaskAndReturnSuccessFlag()

My coworkers can open the same solution and see the tests with their NCrunch.. Please advise..
Remco
#2 Posted : Friday, January 19, 2018 11:13:47 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,145

Thanks: 959 times
Was thanked: 1290 time(s) in 1196 post(s)
Hi, thanks for sharing this problem.

Usually, this is caused by the dotnet.exe process failing to initialise. If you're not running the latest version of NCrunch, make sure you upgrade. This was quite a common problem with earlier versions of NCrunch last year as integration with .NET Core was still being introduced.

Assuming you're running the latest version, would you mind submitting a bug report after this happens? The log file in the report may yield more information about why this is happening.
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.023 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download