Forum member

Remco NCrunch Developer

7586 posts

Posts by Remco

  1. Grid Node Service keeps stopping

    [quote=Phonesis;8771] Hi Remco, not managed to get a log of this occuring yet but have implemented a script that runs in background of the machines we use and polls the NCrunchGridService ensuring its status is Running. If it is no longer running, the script will attempt to start it again. This…

  2. Updating Grid Node cleans up custom log-on account on upgrade

    [quote=avishnyakov;8763]We configure Grid Node service to run under a particular account. While updating grid node to the latest MSI, the log on account is set back to "local system account" Would be nice to preserve account on which the grid mod is configured to run.[/quote] There is a requ…

  3. Grid Node Service keeps stopping

    [quote=Phonesis;8760] Ok great. Detailed is enabled. Unfortunately can't actually run VS on that machine though but hopefully the logging will be enough. Will reply here again if/when the service dies again and attach the log. [/quote] Thanks! Hopefully the log will tell us something useful.

  4. Inconsistent build across Grid Nodes

    VS2015 introduced a huge range of changes to the build system. This means that if you have VS2015 on your client machine (running MSBuild 14.0, which is standard for VS2015), then you have grid nodes running MSBuild 12.0 (the standard for VS2013), there is a high chance that you'll get inconsistent…

  5. Grid Node Service keeps stopping

    [quote=Phonesis;8758] Thanks Remco. VS is installed so will enable the debugger for it and also enable logging in the tool. What level of logging verbosity shall I set it for? Summary, high detail, detailed? [/quote] Detailed, if possible. This will then include all the build and messaging logs…

  6. Grid Node Service keeps stopping

    Hi, thanks for sharing this issue. At present there are no known problems that can cause this. Do you, by chance, have Visual Studio installed on the system running the defective node? If so, I'm wondering if you might like to try attaching a debugger to the grid node service when it locks up…

  7. Inconsistent build across Grid Nodes

    [quote=avishnyakov;8753] It seems that with the recent updates NCrunch gives the following message preventing distributed tests execution: >>NCrunch: The build results for this project are not consistent across all computers within the grid. ** LOTS OF DETAILS HERE* It was not like that befo…

  8. Couldn't find 'project.json'

    Hi, This platform isn't supported by NCrunch yet. See [url=https://ncrunch.uservoice.com/forums/245203-feature-requests/suggestions/8065623-support-dnx-projects]https://ncrunch.uservoice.com/forums/245203-feature-requests/suggestions/8065623-support-dnx-projects[/url] for more details.

  9. Same test works in VS2015 but fails in NCrunch

    [quote=Christoph;8747] Yeah, that problem you got on different machines is based on an ugly story that happened over here: Some Swiss government office (not the department for information technology!) decided that our official decimal symbol is now the "," like in Germany and not the ".". Nobody to…

  10. Include compile warning code/id in output?

    Hi, it looks like NCrunch is only recording the line data and warning message, and not the warning code. I'll see if there's a way to resolve this. Thanks for reporting it.

  11. Same test works in VS2015 but fails in NCrunch

    Hi Chris, Thanks for sharing this issue. I received some inconsistent results from the code you supplied. I narrowed it down the following: dim result = String.Format(CultureInfo.GetCultureInfo("de-CH"), "{0:0.###}", 18.45) Console.WriteLine(result) The above code retur…

  12. TestCases hidden by NCrunch and not run

    [quote=dariusdamalakas;8740] On the other hand, can't we make a compromise here, i.e. as you've already noted in the other thread other test runners can execute these tests by running all those tests in one session. If i understand correctly, the problem is that an individual tests can not be ident…

  13. TestCases hidden by NCrunch and not run

    Hi, This is caused by a technical limitation. Because of the mechanics involved, there is no way for NCrunch to correctly handle this situation. See [url=http://forum.ncrunch.net/yaf_postst1799_Doesn-t-recognize-multiple-tests-with-same-name-using--ValueSource---NUnit.aspx]http://forum.ncrunch.…

  14. ncrunch 2.22 pinning tests automagically?

    Hi Steve - This is expected behaviour. It's controlled by a feature you can turn on and off under the 'Customise engine modes' option. When in the standard 'Run pinned tests automatically' mode, NCrunch will automatically pin newly discovered tests to the tests window. The idea behind this is …

  15. Running tests on code using DelegateCompiler library

    Hi, thanks for sharing this issue. I don't have any firsthand experience with DelegateDecompiler, but based on what you've described, it looks as though this tool is making use of an IL-analysis step, either inside the build process for your project or possibly at run time. NCrunch collects it…

  16. error CS0103: the name '' does not exist in the current context

    Hi James, No easy way unfortunately, but usually the structure of debug metadata is defined by the method it's in. For example, methods using yield or async tend to require special handling for their metadata. Copy/pasting the method into an empty solution and knocking out much of its source co…

  17. Including log4net Logging in Test output

    Hi, thanks for sharing this issue. NCrunch itself has no knowledge of Log4net or any of its configuration - as far as the test runner is concerned, it's just code to be run. From what I remember about log4net, it has a rather involved configuration system. Is it possible that the log4net conf…

  18. error CS0103: the name '' does not exist in the current context

    Thanks for sharing this issue. When NCrunch manipulates the assembly built from your project, it needs to reconstruct the assembly's PDB file. Because MS are constantly updating the compiler and adding new debug metadata, NCrunch is sometimes left behind without knowledge of new metadata element…

  19. Ensuring serial execution across grid nodes

    Hi Sam, At the moment, there is no facility in NCrunch that can coordinate concurrent access to a resource across the grid (i.e. distributed mutex). The infrastructure to allow this just isn't there yet - we'd need a controller node that can centrally coordinate the individual nodes. Early desi…

  20. Sometimes NCrunch discovers no tests in a test project

    [quote=FrankShearar;8719]We do have some relatively complex TestCaseSource implementations, but they're not expensive: there's no database/network accessing stuff, just creating complicated domain objects. Is it possible to hook into NCrunch's diagnostic output? I could add some instrumentation t…