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

Notification

Icon
Error

Console runner passes all tests, but returns failure
samholder
#1 Posted : Tuesday, July 4, 2017 12:30:16 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 5/11/2012(UTC)
Posts: 94

Thanks: 28 times
Was thanked: 12 time(s) in 12 post(s)
We are running our tests in TC using a grid of 3 machines.

The tests all run successfully (there are no failures) but yet the console runner always returns an output code of 1 which causes team city to think that the step failed.

The end of the log has this in it:

[12:09:55][Step 13/20] [12:09:55.1031-?-1] Reporting engine execution results
[12:09:55][Step 13/20] [12:09:55.4461-?-1] Shutting down engine
[12:09:55][Step 13/20] [12:09:55.7341-Core-96] Cleaning up workspace: C:\Users\UKSVC-Teamcity\AppData\Local\NCrunch\16712\1
[12:09:55][Step 13/20] [12:09:55.7811-Core-96] Cleaning up workspace: C:\Users\UKSVC-Teamcity\AppData\Local\NCrunch\16712\3
[12:09:55][Step 13/20] [12:09:55.8301-Core-96] Cleaning up workspace: C:\Users\UKSVC-Teamcity\AppData\Local\NCrunch\16712\6
[12:09:55][Step 13/20] [12:09:55.9351-Core-96] Cleaning up workspace: C:\Users\UKSVC-Teamcity\AppData\Local\NCrunch\16712\5
[12:09:56][Step 13/20] [12:09:56.7151-Core-96] Cleaning up workspace: C:\Users\UKSVC-Teamcity\AppData\Local\NCrunch\16712\8
[12:09:56][Step 13/20] [12:09:56.8711-Core-96] Cleaning up workspace: C:\Users\UKSVC-Teamcity\AppData\Local\NCrunch\16712\2
[12:09:56][Step 13/20] [12:09:56.9221-Core-96] Cleaning up workspace: C:\Users\UKSVC-Teamcity\AppData\Local\NCrunch\16712\7
[12:09:57][Step 13/20] [12:09:57.0151-Core-96] Cleaning up workspace: C:\Users\UKSVC-Teamcity\AppData\Local\NCrunch\16712\4
[12:09:59][Step 13/20] [12:09:59.6757-?-1] Returning result: BuildFailure

but We can't see why it should think it failed.

Any pointers on how we can diagnose the issue?
Remco
#2 Posted : Wednesday, July 5, 2017 12:02:00 AM(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.

Is it possible that your solution includes a project that NCrunch doesn't support and isn't required for your tests? This is probably a stupid question, but does the HTML report show any build failures?

If you like, you can upload the log file using the contact form and I'll take a look over it.
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.046 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download