dotcover.exe terminated with exit code -2, Coverage session finished but no snapshots were created
Hi, while running dotcover.exe on Azure CI build we get an error. Not all the time but with rather high probability. Local run ussially correct. Any advice about what is wrong? Thanks.
log file contains:
13:46:41.529 |W| | :1 | Coverage session finished but no snapshots were created
--- EXCEPTION #1/2 [CommandExecutionException]
Message = “Coverage session finished but no snapshots were created”
ExceptionPath = Root.InnerException
ClassName = JetBrains.dotCover.ConsoleRunner.Backend.CommandExecutionException
HResult = COR_E_APPLICATION=80131600
Source = dotCover
StackTraceString = “
at JetBrains.dotCover.ConsoleRunner.Backend.Commands.Cover.CoverCommand.Execute()
at JetBrains.dotCover.ConsoleRunner.Startup.ConsoleRunnerProgram.<>c__DisplayClass1_1.<Main>b__1()
at JetBrains.dotCover.ConsoleRunner.Backend.ConsoleRunnerBackend.HandleExceptions(Func`1 callback)
”
--- Outer ---
--- EXCEPTION #2/2 [LoggerException]
Message = “Coverage session finished but no snapshots were created”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
at JetBrains.DataFlow.Lifetimes.Using[TRetVal](Func`2 λ)
at JetBrains.dotCover.ConsoleRunner.Startup.ConsoleRunnerProgram.Main(String[] args)
”
13:46:41.794 |I| | :1 | Coverage session finished but no snapshots were created.
13:46:41.794 |I| | :1 | Console Runner execution finished
Please sign in to leave a comment.