Forum member
Remco NCrunch Developer
7611 posts
Posts by Remco
-
Performance Decays
[quote=MaxGuernsey;13922] It spends over two seconds just figuring out what the MsBuild parameters are. Then it spends seven waiting for the build to complete. [/quote] That is definitely not normal behaviour. Assuming you're reviewing the 'Execution Steps' tab in the Tests Window, what sort o…
03 Oct 2019 23:19 UTC
-
There are projects in this solution that have not been reported as loaded by the IDE during NCrunch
[quote=johnn;13913]Sent you a zip.[/quote] Fantastic, thank you! Hopefully we can fix this in such a way that no one else needs to experience this problem (even if the file isn't right).
28 Sep 2019 22:31 UTC
-
IndexOutOfRange exception when running project on build server
[quote=LSugg;13909]Thanks - we tried your advice above and noticed that there was an issue with one of the *feature.cs classes. Regenerating the feature files has seemed to fix it.[/quote] Thanks for confirming! Out of interest, was the issue that the file had a reference to a zero or negative l…
27 Sep 2019 23:55 UTC
-
There are projects in this solution that have not been reported as loaded by the IDE during NCrunch
[quote=johnn;13910]Yes, after removing the offending ISO-8859-1 characters ncrunch is happily building again[/quote] Nice work in figuring this out. It's interesting that this showed up on your machine but not on other ones. Is there any chance I could get a copy of the problematic file so th…
27 Sep 2019 23:54 UTC
-
There are projects in this solution that have not been reported as loaded by the IDE during NCrunch
Hi, thanks for sharing this issue. My first guess would be that you have projects in this solution that need something to be installed on your machine, which isn't there right now. This message is basically a catch-all for a situation where NCrunch sees that projects are inside the VS solution f…
26 Sep 2019 23:38 UTC
-
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 …
26 Sep 2019 09:22 UTC
-
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'…
25 Sep 2019 23:32 UTC
-
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 …
24 Sep 2019 23:35 UTC
-
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, …
24 Sep 2019 08:25 UTC
-
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 …
24 Sep 2019 08:04 UTC
-
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…
24 Sep 2019 01:32 UTC
-
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 …
20 Sep 2019 23:52 UTC
-
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…
20 Sep 2019 12:21 UTC
-
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…
18 Sep 2019 23:42 UTC
-
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 …
18 Sep 2019 11:17 UTC
-
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…
18 Sep 2019 11:08 UTC
-
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…
17 Sep 2019 23:48 UTC
-
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…
17 Sep 2019 23:26 UTC
-
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…
16 Sep 2019 21:47 UTC
-
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…
10 Sep 2019 11:16 UTC