Continuous testing crashes "No rage info for token".
I have browsed the forums and searched the almighty google for information on how to fix my issue and found nothing relevant, I have tried the solutions posted for similar problems, such as unchecking "Include not loaded solution assemblies into coverage results" and emptying the temp files but still got issues.
When I run my tests without continuous testing it works fine, all tests runs as intended, but when in continuous mode dotCover seems to break it with the following issue:
2016.10.01 13:55:32.088 ERROR Coverage analysis: No rage info for token
[location] = src\Profiler\Coverage\module_gatherer.cpp(153)
[function] = void __cdecl jetbrains::profiler::module_gatherer::get_statement_mask(unsigned int,unsigned int,const class std::vector<enum filter_types,class std::allocator<enum filter_types> > &,class std::vector<struct jetbrains::profiler::inplace_array<unsigned int,bool> const *,class std::allocator<struct jetbrains::profiler::inplace_array<unsigned int,bool> const *> > &) (C:\Users\Me\AppData\Local\JetBrains\Installations\ReSharperPlatformVs12\JetBrains.ReSharper.TaskRunner.CLR4.x64.exe [pid=1636])
2016.10.01 13:55:32.091 WARN Coverage analysis: Operation is ignored because unrecoverable error is detected
[location] = src\Profiler\Coverage\BaseApiCoverageProfiler.Operation.cpp(26)
[function] = void __cdecl BaseApiCoverageProfiler::OperationBeginGroup(const wchar_t *)
[hresult] = abad0003, CORE_API_E_UNRECOVERABLE_ERROR, Unrecoverable error was detected (C:\Users\Me\AppData\Local\JetBrains\Installations\ReSharperPlatformVs12\JetBrains.ReSharper.TaskRunner.CLR4.x64.exe [pid=1636])
2016.10.01 13:55:32.160 WARN Coverage analysis: Operation is ignored because unrecoverable error is detected
[location] = src\Profiler\Coverage\BaseApiCoverageProfiler.Operation.cpp(74)
[function] = void __cdecl BaseApiCoverageProfiler::OperationStop(bool)
[hresult] = abad0003, CORE_API_E_UNRECOVERABLE_ERROR, Unrecoverable error was detected (C:\Users\Me\AppData\Local\JetBrains\Installations\ReSharperPlatformVs12\JetBrains.ReSharper.TaskRunner.CLR4.x64.exe [pid=1636])
2016.10.01 13:55:32.161 ERROR Coverage analysis: ClientController error: Unrecoverable error
2016.10.01 13:55:32.172 ERROR Coverage analysis: ClientController error: Unrecoverable error
I run dotCover 2016.2.2 with ReSharper ultimate 2016.2.2 in Visual Studio 2013 Ultimate (12.0.40629.0) and had the same issue with the previous version.
Edit:
The same issue arises if I run coverage on tests only.
One test passes, the rest are inconclusive and aborted.
Please sign in to leave a comment.
Recently, we have found the cause of this issue: https://youtrack.jetbrains.com/issue/PROF-566, it appears only when "Shadow-copy assemblies being tested" option and "If required" option for "NUnit 2.6.4 | Load NUnit Addins" are enabled simultaneously.
You are welcome to try ReSharper 2016.3 EAP, it contains the fix for this issue: https://confluence.jetbrains.com/display/ReSharper/ReSharper+Early+Access+Program
Sorry for the inconvenience.
Have the same problem. Manually running dotCover (not continuous testing) has the same effect. You can't cover multiple tests. The process aborts.
Same issue with Continuous Testing:
2016.10.11 09:16:28.545 ERROR Coverage analysis: No rage info for token
[location] = src\Profiler\Coverage\module_gatherer.cpp(153)
[function] = void __thiscall jetbrains::profiler::module_gatherer::get_statement_mask(unsigned int,unsigned int,const class std::vector<enum filter_types,class std::allocator<enum filter_types> > &,class std::vector<struct jetbrains::profiler::inplace_array<unsigned int,bool> const *,class std::allocator<struct jetbrains::profiler::inplace_array<unsigned int,bool> const *> > &) (C:\Users\malmond\AppData\Local\JetBrains\Installations\ReSharperPlatformVs14_001\JetBrains.ReSharper.TaskRunner.CLR45.exe [pid=15100])
2016.10.11 09:16:28.657 ERROR Coverage analysis: ClientController error: Unrecoverable error
Same problem on TeamCity:
[Step 1/1] [JetBrains dotCover] Coverage session finished with errors: No rage info for token [location] = src\Profiler\Coverage\module_gatherer.cpp(153) [function] = void __cdecl jetbrains::profiler::module_gatherer::get_statement_mask(unsigned int,unsigned int,const class std::vector<enum filter_types,class std::allocator<enum filter_types> > &,class std::vector<struct jetbrains::profiler::inplace_array<unsigned int,bool> const *,class std::allocator<struct jetbrains::profiler::inplace_array<unsigned int,bool> const *> > &).
Same here...
Updated to latest dotCover and all attempts to run code coverage on a test show the "No rage info" error
That did indeed fix the issue. Thank you very much Fedor!
Loaded EAP 4 and the issue is fixed :-)
Thanks !!!
Thanks to Fedor's hint EAP 4 worked for me as well.
I have a question regarding license. I have a perpetual license for R# Ultimate 2016.2
is it possible to get a bug fix in this version as well?
When using 2016.3 EAP 4 it is running only as free trial.
Thanks a lot.