Forum member
Remco NCrunch Developer
7586 posts
Posts by Remco
-
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…
25 May 2016 12:59 UTC
-
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…
24 May 2016 10:45 UTC
-
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.
23 May 2016 11:42 UTC
-
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…
23 May 2016 11:41 UTC
-
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…
23 May 2016 11:24 UTC
-
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…
23 May 2016 10:12 UTC
-
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…
23 May 2016 10:09 UTC
-
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.
20 May 2016 22:48 UTC
-
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…
20 May 2016 09:49 UTC
-
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.
20 May 2016 09:21 UTC
-
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…
20 May 2016 00:05 UTC
-
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…
19 May 2016 23:12 UTC
-
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.…
19 May 2016 19:55 UTC
-
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 …
17 May 2016 10:55 UTC
-
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…
17 May 2016 09:41 UTC
-
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…
11 May 2016 12:02 UTC
-
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…
11 May 2016 10:25 UTC
-
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…
11 May 2016 10:22 UTC
-
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…
10 May 2016 23:47 UTC
-
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…
10 May 2016 23:34 UTC