Daily Usage Issues

Console tool, "ERROR:" not reported back to TeamCity?

Started by GreenMoose on 4,127 views

[NCrunch Console Tool v3.17.0.2]
My build on teamcity passed, but looking in logs NCrunch reported an error in output. Shouldn't this be reported towards teamcity as an error? And also shouldn't it result in a failure exit code?

[spoiler]
[h][11:42:18][Step 6/8] [?-1] ERROR: Setting 'GridServerReferencesForSolution' was not loaded from ncrunchConfig.xml[/h]
[11:42:18][Step 6/8] [?-1] The setting 'GridServerReferencesForSolution' was not loaded from the NCrunch configuration file at 'X:\_tmp\ncrunchConfig.xml' because this setting has been declared in a scope where it is not applicable. Due to limitations in the engine, not all settings can be applied at all levels in the configuration system. If you are attempting to define this setting manually in XML, please inspect the configuration UI to see where it can be applied.
[11:42:18][Step 6/8] [?-1] Publishing Event: [GlobalErrorsUpdatedEvent]
[11:42:18][Step 6/8] [?-1] Publishing Event: [EngineModesChangedEvent]
...
[11:45:45][Step 6/8] [Core-82] Cleaning up workspace: X:\_tmp\NcWc\16564\32
[11:45:48][Step 6/8] [?-1] [h]Returning result: OK[/h]
[11:45:49][Step 6/8] Exit code: #0
[11:45:49][Step 6/8] Process exited with code 0

[/spoiler]

(Error itself was caused because I used xml layout from .ncrunchsolution intead of globalconfig.crunch.v3.xml)

Edited

Yes, probably this should be flagged an error. We'll take a look at this.

Edited

The just released v3.18 includes a fix for this. Errors should now be reported to Team City.

Post a reply

Log in to reply.