dotCover with VSTest hangs

Completed

I'm running dotCover with VSTest (VS2015) against a set of tests. I know VSTest runs on it's own against these tests but when I run dotCover as follows it hangs I get no console output after the message that the first test failed (expected):

dotCover.exe analyze
/TargetExecutable="vstest.console.exe"
/TargetWorkingDir="." /TargetArguments=""Test1.dll" "Test2.dll" "Test3.dll" /Logger:trx"
/Output="CoverageReport.html"
/ReportType="HTML"
/ReturnTargetExitCode

Paths shortened for readability...

I based this on this post and my previous questions about nUnit. Is there anything obvious in this?

 

0
18 comments
Avatar
Permanently deleted user

Hello Richard,

Could you please send us dotCover log files? To enable them add /LogFile switch to the end of command line. Logs will be saved to %TEMP%\JetLogs directory. Please clean this directory before you run dotCover and send us all files that will appear there after. 

I will create support ticket and you can send files there

0
Avatar
Permanently deleted user

Thanks for logs, Richard.

Could you please do the following:

1) Update dotCover to the latest version (2017.2)

2) Send us memory (mini)dump of dotCover.exe process. Here are some instructions on how to do this.

0
Avatar
Permanently deleted user

I have the dump file. How do I attach/send it?

0
Avatar
Permanently deleted user

Can you send it to the same support ticket?

0
Avatar
Permanently deleted user

I can't email it. The ZIP of the DMP is 78mb which exceeds the max allowed by our email system. I'd need an FTP HTTP upload URL...

0
Avatar
Permanently deleted user

Ok, here is FTP: ftp://ftp.intellij.net/.uploads

Please tell us the file name once you upload it

0
Avatar
Permanently deleted user

Asking for user/password. I tried the email/password I use for ZenDesk but it doesn't appear to work.

0
Avatar
Permanently deleted user

Sorry, forgot to mention logon details:

username: "anonymous", password: "<your e-mail>"

Please also check this link

0
Avatar
Permanently deleted user

Should be there now. HIG-VSTest-Hangs-dotcover.zip.

0
Avatar
Permanently deleted user

Richard, file is here, but we were not able to open it. 

Something like this happens: The Compressed (zipped) Folder '<***>\HIG-VSTest-Hangs-dotCover.zip' is invalid.

Could you please re-upload?

0
Avatar
Permanently deleted user

Uploaded as HIG-VSTest-Hangs-dotcover-v2.zip

 

0
Avatar
Permanently deleted user

Still no luck. Neither I, nor my colleagues can't open this file. 7zip, Windows ZIP. I even tried some zip-restore utilities

1) If you download you file back from FTP. Does it work for you?

2) Could you change archiving tool AND upload file somewhere else? For example dropbox, google drive or similar

0
Avatar
Permanently deleted user

Uploaded as dotcover.7z 7Zip file. If this is bad then it's our Information Protection people messing up the transfer because I don't have this FTP site registered. Working on that with them.

0
Avatar
Permanently deleted user

Doesn't open

0
Avatar
Permanently deleted user

Theoretically fixed. I reuploaded dotcover.7z. Please check.

0

Hi Richard,

This time we could open the archive, thank you! 

0
Avatar
Permanently deleted user

Hi Richard,

Could you please give us a little bit more details on the way you start your tests? I see in the dump-file "nunit-agent.exe" process started by VSTest console. Do you use nunit VSTest adapter? Do you use some config/settings files?

0
Avatar
Permanently deleted user

Your question about nunit got me looking from a different perspective. That shouldn't have been in there. A mistake on the part of the devs. Once I got that cleared up the "hanging" problem seems to have gone away. I'm having other problems but they appear to be related to running dotcover via a Powershell script so that's a different thing.

I think we can close this one now. Thanks.

 

0

Please sign in to leave a comment.