Continuous Learning and Sharing of Team Foundation Server and Application Lifecycle Management RSS 2.0
# Saturday, March 28, 2009

I created a nightly build to run my data driven unit tests.   When my build finished it was only partially successfully.   I looked at the unit tests and they were all passing yet there was an error on the testing step.  When I looked in the log below is the message I saw.   I thought this was a little confusing because there was only a warning.  I wasn’t sure what caused the TestToolsTask to fail.  I first thought it was a permission or some other issue when it was trying to publish but the results did publish.   Next I looked at the warning VSP1030 message.   Then I remembered I enabled code coverage but the build configuration was set to Release.  I changed the build to Debug and everything worked!   Before I figured out the issue I tried searching the web but I didn’t find any solutions.   I hope this helps.

  Test Run Warning.
    Passed  6
    Total   6
  Results file:      t:\builds\MyTeamProject\Nightly Build\TestResults\builduser_MYSERVER_2009-03-25 23_56_46_Any CPU_Release.trx
  Run Configuration: Local Test Run
  Run has the following issue(s):
  Instrumentation error while processing file BusinessObjects.dll:
TESTTOOLSTASK : warning VSP1030: Invalid, mismatched, or no PDB file was found for t:\builds\MyTeamProject\Nightly Build\Binaries\Release\BusinessObjects.dll.
  The previous error was converted to a warning because the task was called with ContinueOnError=true.
  Waiting to publish...
  Publishing results of test run builduser@MYSERVER 2009-03-25 23:56:46_Any CPU_Release to http://tfsserver:8080/Build/v1.0/PublishTestResultsBuildService2.asmx...
  ....Publish completed successfully.
  The command exited with code -1.
  Build continuing because "ContinueOnError" on the task "TestToolsTask" is set to "true".
Done executing task "TestToolsTask" -- FAILED.



Saturday, March 28, 2009 2:23:00 AM (Central Daylight Time, UTC-05:00)  #    Comments [0] -
Team Build | Team Foundation Server | Unit Testing

Visual Studio ALM MVP
Microsoft Visual Studio ALM MVP
<March 2009>
About the author/Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2016
Mike Douglas
Sign In
Total Posts: 107
This Year: 0
This Month: 0
This Week: 0
Comments: 90
All Content © 2016, Mike Douglas
DasBlog theme 'Business' created by Christoph De Baene (delarou)