Failed to merge snapshots. Unknown version of section 0

Answered

Hi

Try as I might I cannot get dotcover to report back to TeamCity - the current error is 

[Merge dotCover reports] Output: JetBrains dotCover Console Runner 2019.1.1. Build 777.0.20190501.125303 Copyright (c) 2009-2019 JetBrains s.r.o. All rights reserved. [JetBrains dotCover] Snapshot merging started [29/11/2019 18:25:31] [JetBrains dotCover] Source snapshots number: 1 [JetBrains dotCover] Failed to merge snapshots. Unknown version of section 0: version=8, available=2, 3, 4, 5, 6, 7. Unknown version of section 0: version=8, available=2, 3, 4, 5, 6, 7
[18:25:32][Merge dotCover reports] dotCover exited with code: -2
[18:25:32][Merge dotCover reports] dotCover returned non-zero exit code.
 
Anyone able to help?
 
Thanks
2 comments
Comment actions Permalink

Hello Stuart,

Based on the error message it looks like you are trying to merge snapshots that were created with the newer version of dotCover than the version you are trying to merge with, but for proper diagnostics, I would like to take a look at the full log which can be collected using the following instruction. Please attach it here or with a new issue on our bug tracker.

0
Comment actions Permalink

Hi Olga

Thanks for your response. In the meantime I've made a few changes and finally got our build to work - a combination of downloading a newer version of the dotcover commandline tool and modifications to my build script. Not sure why the build suddenly broke for us but anyway it's running and producing results now.

Thanks again.

0

Please sign in to leave a comment.