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

Notification

Icon
Error

NCrunch Console hanging under TeamCity (possible cause)
Grendil
#1 Posted : Tuesday, September 26, 2017 6:31:42 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 3/18/2017(UTC)
Posts: 54
Location: United States of America

Thanks: 22 times
Was thanked: 11 time(s) in 10 post(s)
We've had issues with NCrunch console hanging during test runs. We're running it through a TeamCity server. It always seem to hang toward the very end of the test run, and we then have to tell TeamCity to terminate the job or else it continues indefinitely. These are long SpecFlow+Selenium web app end-to-end test runs that take several hours to complete, and always nearly all tests would be completed before the hanging.

I unfortunately don't have enough time at the moment to properly troubleshoot this, but we've made an anecdotal observation that could possibly be a clue if others are investigating the same issue. If we have the console machine also configured as a grid node for the console run, we often (maybe always) get the hanging behavior. When we don't do this, it seems we don't get the hanging behavior!

Are there known issues around this?


Remco
#2 Posted : Tuesday, September 26, 2017 10:34:14 PM(UTC)
Rank: NCrunch Developer

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

Thanks: 957 times
Was thanked: 1286 time(s) in 1193 post(s)
Hi, thanks for sharing this issue.

An important consideration here is to establish the source of the hanging, which is best done using the logs from the console tool run. There are two ways this can hang:

1. A test is running overtime and cannot be aborted
2. The engine is failing to correctly consider a completion status and is stuck after all tests are run

I would hope that the second case is now impossible, as there have been many fixes targeted towards this issue over the years, but it is still a very complex area of NCrunch.

Are there any tests running at the time the console tool hangs?
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.027 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download