Build/Test Issues

NCrunch Cannot run tests where Spans are being created

Started by acm23 on 30 views

This problem has appeared in the last 2 weeks. I have a test suite of 30,000+ tests, where currently approximately 2000 fail with this error.

This looks to be a recurrence of an earlier reported problems (e.g. https://forum.ncrunch.net/yaf_postst3538_Issue-using-ReadOnlySpan-construction.aspx#post17806).

In this case
- RDI is turned off
- using the comments //ncrunch: rdi off appears to have no effect (and is not a possible solution anyway for multiple reasons)
- Asp.Net Core 10/.net 10 codebase using Microsoft.Net.Test.Sdk 18.10.1, NUnit 4.6.1, NUnit3Adapter 6.3.0, configured to use Microsoft Testing Platform (but problem also showed when using VSTest)
- I am seeing nCrunchTemp project files in my solution path as well, when my ncrunch configuration is different paths for RDI storage, cache configuration, cache storage, and workspace base path

Unfortunately I don't have a sample to reproduce the problem.

Edited

Screenshot attached by acm23
Hi, thanks for sharing this issue.

I may have made some progress in getting to the bottom of this. Would you like to try the build below to see if it solves the problem for you?

NCrunch_Console_5.24.0.6.msi
NCrunch_Console_5.24.0.6.zip
NCrunch_GridNodeServer_5.24.0.6.msi
NCrunch_GridNodeServer_5.24.0.6.zip
NCrunch_LicenseServer_5.24.0.6.zip
NCrunch_Rider_5.24.0.6.7z
NCrunch_Rider_5.24.0.6.zip
NCrunch_VS2017_5.24.0.6.msi
NCrunch_VS2017_5.24.0.6.msi.7z
NCrunch_VS2017_5.24.0.6.zip
NCrunch_VS2019_5.24.0.6.msi
NCrunch_VS2019_5.24.0.6.msi.7z
NCrunch_VS2019_5.24.0.6.zip
NCrunch_VS2022_5.24.0.6.msi
NCrunch_VS2022_5.24.0.6.msi.7z
NCrunch_VS2022_5.24.0.6.zip
NCrunch_VS2026_5.24.0.6.msi
NCrunch_VS2026_5.24.0.6.msi.7z
NCrunch_VS2026_5.24.0.6.zip
this looks like it's working - I've got all tests passing again. No sign of problems anywhere so far. Tests are executing and results look stable.

Nice work :)

Post a reply

Log in to reply.