TFS 2010 Team Lab Quick Start

Wendell Phillips has been working on the TFS 2010 beta for some time now. Today he brings us this post about Team Lab.




The setup steps necessary for Team Lab may appear to be quite complex, but they really aren’t. There are a few pieces to get installed and going, but it really isn’t that bad.

Let’s talk about what you need and why you need it and you will soon be a Team Lab expert.

1. Windows Server 2008 (or R2) with Hyper-V (a “Host”) and one or more Virtual Machines running inside it. Of course the whole point of TFS 2010 Team Lab is to facilitate testing. Team Lab can manage physical devices as well as Virtual Devices, but the real “coolness” of Team Lab is how it can manage virtual machines used in testing. Team Lab can manage a grouping of virtual machines as an “Environment”, set them up for you, test on them, return results and reset the “environment “ for another round of testing.

2. System Center Virtual Machine Manager R2 (SCVMM), a tool to manage the virtual machines and environments hosted on your Hyper-V server. This tool is consists of two parts, the server and the administration console for the server. The server portion uses a SQL database instance to store configuration information; either an existing one or it will set up SQL Express as it is installed.

3. Team Foundation Server 2010 with Visual Studio Lab Manager provides the place to collect, store and manipulate your Test and Build data. You also need to install the SCVMM administration console on the TFS Application Tier so that TFS can talk to the SCVMM server.

4. Microsoft Test Manager is the client software that brings it all together. It creates and controls the test configurations you need for your application(s).

5. Build, Test and Lab agents are needed on the virtual machines. Agents are the communication enablers that allow the VM to generate builds and tests and report results back to TFS and Microsoft Test Manager.

There are details to consider for reach of the steps above that are covered in the MSDN documentation, but the few steps above will get you going.

-- Wendell

Comments (2)

  1. David Salas says:

    TF270015: ‘MSBuild.exe’ returned an unexpected exit code. Expected ‘0’; actual ‘9’.

    I am getting this error trying to build our VS2010 solution using TFS2010 Build. I don’t seem to find any reference to this problem using Bing or Google, or Microsoft Connections.

    For additional reference, the last entries in the Build Log is the following:

         C:Builds2XXXXUATest – BuildSourcesXXXXXXXXGenerated_CodeXXXX.Web.g.cs

     RIA client proxy class generation finished in 37.319 seconds.

    I searched for FAILED in the log file, nothing, only known warnings.

    Please help!

    Thank you,

    David Salas

  2. Dan Arnold says:

    TF270015: ‘MSTest.exe’ returned an unexpected exit code. Expected ‘0’; actual ‘1’

    Posted by TFSDude at 3/11/2010 07:37:00 PM

    Getting a TF270015: ‘MSTest.exe’ returned an unexpected exit code. Expected ‘0’; actual ‘1’ error trying to build a VS2008 project in TFS 2010?

    Make sure you have installed the Team Explorer 2008 bits on your build server. You may need to run a Repair on the TFS 2010 on the build server after this because it will drop an older version of Microsoft.TeamFoundation.Build.targets in the MSBuild folder.

    Oh! and don’t forget to install the forward compatibility pack afterward too!

Skip to main content