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

Notification

Icon
Error

Ncrunch is infinitely building. No tests are starting.
springjazzy
#1 Posted : Monday, October 5, 2015 8:19:32 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 6/6/2012(UTC)
Posts: 46

Last week Ncrunch refused to start any tests in one of my solution. Tray icon was showing that he is building sthm, but there where no activities in Ncrunch Processing Queue. On test start NCrunch was hanging infinitely showing that he started the test, but actually nothing happens. That test is green and is perfectly executed in MSTest for 71ms.
Today I've moved to another solution and that issue with Ncrunch is still reproducing. I'm using VS2012 with Ncrunch 2.16.0.13. Windows 7 with autoupdates.

I've attached swf file with screencast.

(- BROKEN LINK -)Screencast[/url]
Remco
#2 Posted : Monday, October 5, 2015 9:02:38 AM(UTC)
Rank: NCrunch Developer

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

Thanks: 959 times
Was thanked: 1290 time(s) in 1196 post(s)
Hi,

Thanks for sharing this.

It looks as though something is preventing the task runner from initialising correctly. Could you submit a bug report after you've had this happen?
springjazzy
#3 Posted : Monday, October 5, 2015 11:24:57 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 6/6/2012(UTC)
Posts: 46

Submitted
Remco
#4 Posted : Monday, October 5, 2015 9:30:28 PM(UTC)
Rank: NCrunch Developer

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

Thanks: 959 times
Was thanked: 1290 time(s) in 1196 post(s)
Thanks for sharing the report. Unfortunately there was nothing in the report log that indicated any problem.

Was there anything that caused this to suddenly start happening? Perhaps something you've installed?

What happens if you try to debug the test?
springjazzy
#5 Posted : Tuesday, October 6, 2015 8:08:38 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 6/6/2012(UTC)
Posts: 46

Well, I've installed some cryptography software which states to have no integration with Visual Studio. If I debug test then nothing happens. Icon is just infinitely circling.
Remco
#6 Posted : Tuesday, October 6, 2015 8:59:22 AM(UTC)
Rank: NCrunch Developer

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

Thanks: 959 times
Was thanked: 1290 time(s) in 1196 post(s)
Is it possible this has enabled FIPS on your machine?

I don't think the problem itself is related to VS itself - more likely it's something resident on your machine that is interfering with .NET processes. Do you actually see a test host .EXE launch when you try to run the test?
springjazzy
#7 Posted : Tuesday, October 6, 2015 11:00:15 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 6/6/2012(UTC)
Posts: 46

>I don't think the problem itself is related to VS itself - more likely it's something resident on your machine that is interfering with .NET processes. Do you actually see a test host .EXE launch when you try to run the test?

No. There are no test host .EXE processes. Only nCrunch.EngineHost45.x86 and several nCrunch.BuildHost40.x86

>Is it possible this has enabled FIPS on your machine?
What is FIPS?
springjazzy
#8 Posted : Tuesday, October 6, 2015 11:27:01 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 6/6/2012(UTC)
Posts: 46

I've managed to start tests. It seems that when Ncrunch is configured to use engine hosting strategy "x86SatelliteProcess" then it refuses to start on my PC. If I set "HostInsideIDE" then Ncrunch starts working.
Remco
#9 Posted : Tuesday, October 6, 2015 8:58:08 PM(UTC)
Rank: NCrunch Developer

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

Thanks: 959 times
Was thanked: 1290 time(s) in 1196 post(s)
Ok - this means that something on your system is preventing the engine host process from launching additional processes, but it won't interfere with the IDE.

Are you running a virus scanner?
springjazzy
#10 Posted : Friday, October 9, 2015 9:06:07 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 6/6/2012(UTC)
Posts: 46

Of course I'm. Nod32. I've been using it for several years. There are no traces in it showing that it blocks NCrunch.
Remco
#11 Posted : Friday, October 9, 2015 9:23:20 AM(UTC)
Rank: NCrunch Developer

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

Thanks: 959 times
Was thanked: 1290 time(s) in 1196 post(s)
Sorry, I'm at a loss to explain what in your environment could be causing this.

I'd suggest continuing to work with the engine hosted in the IDE. There are no plans to remove this feature and there can be some benefits to running the engine this way.
springjazzy
#12 Posted : Friday, October 9, 2015 12:28:45 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 6/6/2012(UTC)
Posts: 46

OK thanks!
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.052 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download