Error VSP10041 while performing code coverage
-
Thursday, December 01, 2011 4:50 PM
Hello
One of our builds "partially succeeds" couple times a week, while all tests successfully passed. We execute 2 test runs - one (second) is standard test task, another (first) is direct call to mstest as we need one special test list to run before all others.
First run works fine
Second cometimes (after tests passed) says like:
---------------------------------------------------
1057/1057 test(s) Passed
Summary
-------
Test Run Error.
Passed 1057
------------
Total 1057
Results file: D:\Builds\XXXXXX\SM_LM_Quick_80\TestResults\tfs_DEVSPBBT 2011-12-01 00_30_58_Any CPU_Debug.trx
Test Settings: Main
Run has the following issue(s):
Warning: Test Run deployment issue: The assembly or module '<topsecret>' directly or indirectly referenced by the test container '<topsecret>' was not found.
Warning: Test Run deployment issue: The assembly or module 'MSTSCLib' directly or indirectly referenced by the test container '<topsecret>' was not found.
Warning: Test Run deployment issue: The assembly or module '<topsecret>' directly or indirectly referenced by the test container '<topsecret>' was not found.
Code coverage collection error: Collection engine threw exception:
Warning: Test Run deployment issue: The assembly or module '<topsecret>' directly or indirectly referenced by the test container '<topsecret>' was not found.
Error VSP10041 : True.
Warning: Test Run deployment issue: The assembly or module '<topsecret>' directly or indirectly referenced by the test container '<topsecret>' was not found.
The test run execution on that machine cannot continue.
Waiting to publish...
---------------------------------------------------
Looks like code coverage fails fith "Error VSP10041 : True." which looks absolutelly senselessly. The only idea which we tried was ti kill VSPerfMon between test runs in order to ensure it never locks files, but it never helped. Can anybody explain what happens?TFS Build 2010
Thanks in advance,
Oleg Gorsky
- Moved by lucy-liu Friday, December 02, 2011 6:29 AM it is a tfs build issue (From:MSBuild)
All Replies
-
Friday, December 02, 2011 6:29 AM
Hi Oleg,
I am moving this thread from “MSBuild" forum to the “Team Foundation Server - Build Automation” forum.since the issue is related to TFS Build.There are more experts in the “Team Foundation Server - Build Automation" forum.
Thank you for your understanding!
Best regards,
Lucy
Lucy Liu [MSFT]
MSDN Community Support | Feedback to us
-
Friday, December 02, 2011 11:16 AMModerator
Hello Oleg,
Based on the error message, it seems that your TFS build service can’t find the test container '<topsecret>'. So please make sure the test container '<topsecret>' on the TFS build agent machine.
Thanks.
Vicky Song [MSFT]
MSDN Community Support | Feedback to us
-
Friday, December 02, 2011 1:10 PM
Thank you, Vicky
Well, actually we get this warnings in each build since we started with TFS2010 - even in successful ones. Nobody knows where they come from as we do not reference this dlls, tests works fine, build says nothing and everythings goes on.
Of course we can investigate the issue, find dlls and provide them. Do you think this will help? What is the reson to make such strange message in such easy situation - this is not assembly resolving issue, this is just a warning from somewhere about nothing.
With best wishes,
Oleg Gorsky

