Forum member

Remco NCrunch Developer

7611 posts

Posts by Remco

  1. Why won't tests run on distributed node?

    [quote=MarcChu;16176]OOOOH, hm, it seems that I've identified a use case where this happens: if an entire test fixture fails for some reason (in this case static setup for the test fixture), then every individual test in the fixture will fail very quickly. Upon the next attempt to run those failing …

  2. Why won't tests run on distributed node?

    It's great to hear that's fixed the capabilities problem. The problem you're describing with the batching has some similarities with [url=https://forum.ncrunch.net/yaf_postst3231_Ncrunch-stops-parralelizing-when-all-tests-fail-quickly.aspx]another problem a user is currently reporting[/url]. B…

  3. Ncrunch stops parralelizing when all tests fail quickly.

    [quote=BauwensConsulting;16170] But it looks like InitializeAsync is still at lease Analysis-ish because the markers are white there.[/quote] This is the rule of thumb. If you're certain the code is executed but the markers don't show it, then it'll be executed either in the setup code for the …

  4. NCrunch Task Failures When Upgrading Projects to .NET Core and .NET Standard

    [quote=meagy;16165] Thanks, good find. We're all fixed up. In our case when moving from a "nuget restore" command to the "dotnet retore" command, and using a built-in Teamcity runner for "dotnet restore" , the Teamcity runner was overriding the default Nuget user packages directory of %env.USERPROF…

  5. NCrunch Task Failures When Upgrading Projects to .NET Core and .NET Standard

    [quote=Marcello;16163] Thanks for the update. What should be the version containing the fix?[/quote] Could you try the build below and let me know how you get on? [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_4.14.0.1.msi]NCrunch_Console_4.14.0.1.msi[/url] [url=https://…

  6. Ncrunch stops parralelizing when all tests fail quickly.

    I think I understand why this scenario could cause the problems you've mentioned. The code that runs in collection fixture is probably being executed at analysis time. If it doesn't return a favourable and consistent result, this can affect the list of tests that NCrunch has from the assembly. If…

  7. NCrunch Task Failures When Upgrading Projects to .NET Core and .NET Standard

    Hi Marcello, We've identified an issue in v4.12 that can cause Nuget packages to be re-transferred when they shouldn't be. Basically, when the grid node goes to write the '_._' files that exist in the Nuget packages, it writes junk into the file instead of leaving it as a zero byte file (this is…

  8. NCrunch Task Failures When Upgrading Projects to .NET Core and .NET Standard

    Hi Matt, It looks like your system is configured to load packages from an unusual directory: D:\BuildAgent\system\dotnet\.nuget If you copy the packages from your local user over to the above path, does this resolve the issue?

  9. Unable to load component: System.IO.IOException: The path '' could not be processed

    Thanks for the sending through the bug report. It looks like the issue is caused by attempting to open the solution over a UNC path. Could you try mapping a network drive to the remote path and opening it from the mapped drive instead?

  10. Stuck at "ncrunch engine is initialising"

    [quote=arthgg;16150] Same! The upgrade to 4.13 solved it for me but my license is expired so I am on 30 day evaluation until my IT department purchases a license. My company was acquired so will see how IT reacts to the request. I can not live without my NCrunch! Past few days have been so fr…

  11. Ncrunch stops parralelizing when all tests fail quickly.

    Hi, thanks for sharing this. NCrunch actually already should do this (ignore the execution time of the failing test). However, if the tests artificially pass in a shortened time, then it will batch them together and you can end up with this situation. Are you able to reproduce a scenario wher…

  12. Why won't tests run on distributed node?

    Thanks for sharing these extra details. Something that should help here is to turn on the "Required Capabilities" column in the Processing Queue Window (right click the column headers). This will show you which of the tasks have capabilities assigned to them and therefore won't be runnable on th…

  13. Unable to load component: System.IO.IOException: The path '' could not be processed

    [quote=stenjo;16146]Looks like new solutions and projects works fine. Seems to be something with this old one that Im currently looking at. Old .NET 451 with some issues around non-maintained packages. Could be part of the problem.[/quote] Could you submit a bug report after you've had this happ…

  14. Unable to load component: System.IO.IOException: The path '' could not be processed

    Hi, thanks for sharing this issue. It looks to me like there is invalid data (i.e. a null project file path) being fed into the engine. I'm not really sure how it's possible that this can happen. Does it happen on every solution? If you create a new sample project with one of the standard VS…

  15. Why won't tests run on distributed node?

    Hi, thanks for sharing this. Can you try running with the node using a fresh project/solution built from one of the VS project templates? This will help to establish whether the problem is related to the configuration in your solution or whether it's something specific to the node. Also, in t…

  16. NCrunch Task Failures When Upgrading Projects to .NET Core and .NET Standard

    [quote=meagy;16142]Thank you. I can certainly do that. Are you referring to setting the Log Verbosity somehow on the system for the .NET processes, or for NCrunch itself. We only have the NCrunch console tool installed on the server, no NCrunch GUI ability. Can you provide a link for instructions fo…

  17. STAThread

    Hi, thanks for posting. Can you please check this setting? [url=https://www.ncrunch.net/documentation/reference_project-configuration_ms-test-thread-apartment-state]MS Test thread apartment state[/url]. Given that NCrunch's MSTest runner should default to STAThread, I'm wondering if there migh…

  18. NCrunch Task Failures When Upgrading Projects to .NET Core and .NET Standard

    Hi Matt, Thanks for sharing this issue. Are you able to set your Log Verbosity to Detailed and examine the .NET Core process logs output by NCrunch in the lead-up to the crash? It's possible the report about the missing packages is a red herring and that something else is taking down the proc…

  19. Distributed Node Heuristics

    Hi, thanks for posting. Regarding the long startup times that have been causing issues for you, can you provide any more information on which activities during startup seem to be taking a long time? Broadly, there are 3 different things the engine needs to do before it can run tests: 1. Load th…

  20. Installing 2019 Insufficient Privileges

    Hi Ed, thanks for sharing this. It looks like your system has shut you out from software changes. Unfortunately, there isn't anything an MSI is able to do to work around security that is present on the machine. You'll need to check this past your help desk and/or management within the organisat…