Cumulative coverage snapshot is broken: storage doesn't comply specification

Answered

Hello,

 

i run code coverage in VS Studio 2017 with DotCover Version 2018.1.2.

I get the following error: ERROR Coverage analysis: Processing coverage snapshots: 'C:\Users\****\AppData\Local\Temp\ssd.Milapyt.tmp' failed: Cumulative coverage snapshot is broken: storage doesn't comply specification. CompulsorySections: ICumulativeSnapshotModuleStatementCoverageIndexSection, IStatementCoverageDetailsSection Sections: 

What does this means?

What can i do?

 

Greets

3 comments

Same here, please can someone provide a fix/answer to this? Can't run code coverage anymore.

0

I had the same situation.  After clicking "Drop Coverage Data" icon it resolved the issue for me looks like.

1

Hello, folks,

The error indicates that a coverage snapshot somehow got corrupted (e.g., Visual Studio was killed during coverage analysis, insufficient disk space for saving a coverage snapshot). Indeed, "Drop Coverage Data" should help in the majority of situations, it will remove a corrupted snapshot.
However, if it doesn't help, please do the following:

  • close your solution
  • go to %temp%\JetBrains\ReSharperPlatformVs[N]\vAny_[XXX]\CoverageData folder
  • find _[YourSolutionWithBrokenCoverage].[XXX] folder and remove it.
  • reopen the solution and repeat coverage analysis






0

Please sign in to leave a comment.