Forum member

Remco NCrunch Developer

7586 posts

Posts by Remco

  1. Need to manually open/close Grid Node configuration on remote server almost daily

    [quote=Marcello;13904] I don't know if you can improve nCrunch log, but [url=https://we.tl/t-kD2bFWnOR1]here[/url] you can download the log files of all the tests done in those days. Checking them I cannot find any Out of memory error.[/quote] OutOfMemoryException is special and magic under the …

  2. Need to manually open/close Grid Node configuration on remote server almost daily

    Hi Marcello, What is the nature of the crash? Does the machine lock up entirely and need to be physically reset? Is there a stacktrace of some kind? We presently have no known crash issues in NCrunch. Note that because most of the code NCrunch is running is not actually it's own code, it'…

  3. Sporadic IndexOutOfRangeException in TestCaseSource-based tests

    [quote=chredenex;13894] You were right, there was some code that fiddled with environment variables - specifically it promoted them all from process to machine level, so other processes in a Docker container could see them. This was then called from a unit test in the project referenced by the now …

  4. Unable to retrieve property values from build output: Configuration

    A missing dependency of the project itself shouldn't cause the build system to bomb out like this. Normally there should be a reference resolution error. I'm willing to investigate this problem further if you want it looked at, though I would need a sample project that can reproduce it. However, …

  5. Unable to retrieve property values from build output: Configuration

    [quote=spolonski;13889]I found it. Adodb.dll was not registered. This is strange why adodb is needed? Build must be done on a grid server. [/quote] This binary isn't a dependency of NCrunch. Most likely something inside the build system is relying on it and the error message you were given is a …

  6. Sporadic IndexOutOfRangeException in TestCaseSource-based tests

    This is very alarming, and quite a remarkable find ... how did you think to check this!? These environment variables are fed into the process startup data for the NCrunch test processes. The nCrunch.TestRuntime.ExecutionMapSpecifications variable in particular is an important parameter for the c…

  7. IndexOutOfRange exception when running project on build server

    Thanks for sharing this extra info. I'm wondering if this is being caused by line number remapping in any of the source files ... Does this problem appear when using the NCrunch VS client on the same codebase? I expect it may quietly fail and you'll need to have the 'Log to output window' setting …

  8. Need to manually open/close Grid Node configuration on remote server almost daily

    Hi Marcello, As described earlier, the problem here is that the listening socket is being forcefully closed from outside the application. As such, this is an infrastructure problem and not a problem with the NCrunch software. There is no setting in NCrunch that will change the behaviour here be…

  9. Need to manually open/close Grid Node configuration on remote server almost daily

    Hi Marcello, The error you've provided above is an internal one trapped when a socket is closed unexpectedly by the network. This probably isn't surprising, as something external forcefully closing the connection would create a response inside the application. This is a symptom of the infrastru…

  10. IndexOutOfRange exception when running project on build server

    Hi, thanks for sharing this issue. This is an internal synchronisation issue with NCrunch's code coverage database. These sorts of issues are extremely data heavy and are very hard to reproduce and pin down. You'll likely be able to solve this issue by deleting your NCrunch cache file on the …

  11. Need to manually open/close Grid Node configuration on remote server almost daily

    Hi Marcello, The symptoms you've described match with a system related issue on the server that is closing or interfering with open network connections after an elapsed time. This could be anything ranging from the hardware on the machine up through the device drivers or potentially security sof…

  12. Need to manually open/close Grid Node configuration on remote server almost daily

    Hi Marcello, The NCrunch grid node server opens a standard TCP socket on the specified port (defaults to 41141) and listens for connections using Windows Sockets. This is very typical of any kind of network enabled application. TCP servers can accept connections from any kind of tool that can…

  13. NCrunchConsole alternative for global.json?

    Hi, thanks for posting. In theory, NCrunch should be using the MSBuild abstractions that allow the global.json to be effective for the projects NCrunch has loaded. I believe we have some code in there to fish out this file and copy it to the workspace too. Are you receiving an error of some k…

  14. 15GB RAM Usage

    Hi, thanks for sharing this. Wow, that's a lot of memory consumption! We don't have any leak that we know could cause this ... so we'll need to get more detailed information to figure this out. The next time this happens to you, could you do the following? - Submit a bug report. The log f…

  15. NCrunch Test Window Blank

    Hi, thanks for sharing this problem. Going by the bug report you've submitted, it looks like the version of NCrunch you're running is very old. The VS2019 support in v3.25 was experimental only, with one of the main problems being that it didn't support the DPI scaling options that were recently…

  16. Does NCrunch support background compiling while coding?

    [quote=THenrich;13849] I understand the tool is for testing but if it's also compiling continuously, it's a time saver for me. However, I noticed that it compiles NCrunch's versions of the assemblies (in c:\Users\...) instead of the actual assemblies. Can it also compile the solution's assemblies?…

  17. Does NCrunch support background compiling while coding?

    [quote=THenrich;13845] Yes I was asking if it can compile for Visual Studio. I don't have any tests. [/quote] Correct. Background compilation and reporting of the compile results is an important piece of NCrunch's infrastructure. Without tests in your solution, you will be missing out on ar…

  18. Need to manually open/close Grid Node configuration on remote server almost daily

    See here for details on how to open a port in [url=https://www.windowscentral.com/how-open-port-windows-firewall]Windows Firewall[/url]. Note that we have no firm way of knowing that it's windows firewall blocking the connection. It could also be other firewall software you have installed on the…

  19. Does NCrunch support background compiling while coding?

    NCrunch itself performs background compiling so that it can run your tests. You'll see tasks for this appear in the Processing Queue while you work. Or are you asking about whether NCrunch is able to deal with a different tool (i.e. VS) running background compilation while it works?

  20. Bad Image Format Exception Thrown When Target CPU Settings Don't Match

    Hi, thanks for posting. This is by design. See here for [url=https://www.ncrunch.net/documentation/troubleshooting_x86-x64-platform-issues]more information about these sorts of problems[/url]. It's always possible to resolve these problems using a corrected solution structure or configuration.