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

Notification

Icon
Error

Troubleshoot [ProcessingFailed] with NCrunch Console Tool
GreenMoose
#1 Posted : Friday, November 21, 2014 12:33:30 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 6/17/2012(UTC)
Posts: 503

Thanks: 142 times
Was thanked: 66 time(s) in 64 post(s)
v1.10.0.4

Trying to incorporate console tool with TeamCity, and it took longer than usual. I noticed below in TC's build log:
Quote:

[13:04:57] : [Step 3/3] [13:04:57.7074-Core-12] Grid node xxx.cloudapp.net reports task completed: [LocalBuildTask: [SnapshotComponent: PROJECTNAME, 18, 54147313], ProcessingFailed, GRIDNODENAME]


But then I see no more GRIDNODENAME in the log. It builds fine on that grid node when I try locally in VStudio. Also looking in AllResults.html provides no clue to the error since project built fine on "(local)".

Is the idea here that I should enable logging on grid nodes and if this happens peer through the grid node logs?
Remco
#2 Posted : Friday, November 21, 2014 8:25:29 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,986

Thanks: 931 times
Was thanked: 1257 time(s) in 1170 post(s)
Internally, NCrunch has a concept of a 'Primary' build result.

The Primary build result is considered to be the result of the first build to complete running for a particular version of the source code for a project. It is the only result that NCrunch considers when reporting build data in the logs.

If you are working over a grid of 3 machines, NCrunch will build a changed project 3 times - one on each machine. The first machine to return a result has the responsibility of reporting the primary result. If the other build results are inconsistent to this, NCrunch will still amend the reported result in the Tests Window so that you are aware of this, but it will otherwise continue as normal since it has the build result it requires.

In this case you've described above, the result you're seeing is probably a non-primary build result. It isn't relevant, since NCrunch has already been told that the build has passed. The HTML results report does specify the node that provided the primary build result if you drill into an individual project inside the 'Build Results' tab.

So I guess the issue here is that unlike the Tests Window, NCrunch is not including the non-primary build results in the HTML export where they differ from the primary result. This will need to be fixed. Thanks for making me aware of it.
1 user thanked Remco for this useful post.
GreenMoose on 11/24/2014(UTC)
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.024 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download