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?
Build/Test Issues
Console runner passes all tests, but returns failure
Started by samholder on 4,349 views
Remco NCrunch Developer
#10741
05 Jul 2017 00:02 UTC
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.
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.
Post a reply
Log in to reply.