How to enable Tfs job agent logs for lab operations

In this post, I want to talk about the steps which I typically perform to enable the job agent logs for lab operations. 1. Stop the TFS job agent service. (net stop tfsjobagent) 2.  Enable tracing for Tfs job agent. Take a backup of the tfsjobagent.exe.config file. (It is typically found under C:\Program Files\Microsoft Team…

0

How to enable lab agent logs

Here are the steps which I typically perform to enable lab agent logs. 1. Go to the lab agent installation directory (typically it is something like C:\Program Files\Microsoft Visual Studio Lab Management 10.0). 2. Open the configuration file named LabAgentService.exe.config and edit it as shown below. (Changed autoflush from false to true, removed comments from…

0

How to enable build agent or build controller’s logs?

Here are the steps which I typically perform to enable build agent/controller logs. 1. Go to the build agent/controller installation directory (typically it is something like C:\Program Files\Microsoft Team Foundation Server 2010\Tools). 2. Create a new configuration file named TFSBuildServiceHost.exe.config with the following content: <configuration>    <system.diagnostics>        <switches>            <add name=”BuildServiceTraceLevel” value=”4″/>        </switches>        <trace autoflush=”true” indentsize=”4″>            <listeners>               …

5

Link environment snapshot to an automated test case failure?

In Visual Studio 2010, if you are executing manual tests on a virtual lab environment, then you are provided an option to take snapshot of the environment as mentioned here. These snapshots (or the link to snapshot) gets attached to the manual test case result and/or the bugs (work item) automatically and no explicit gesture…

0

How does post deployment snapshot in lab workflow works?

In lab management workflow, there is an option to take a snapshot of the environment after the application is deployed. This option is exposed in the workflow UI and is very useful in scenarios in which you want to revert to the environment state in which only the environment has only the new build deployed…

0

How to debug the tests failed on the virtual environment?

In this post, I will talk about how I normally debug the automated tests failure on a virtual lab environment. 1. Most of our automated test cases are executed as part of the end-to-end workflow. So I first check the build summary to find out how many test passed/failed. In the example below, it is…

2

Link to virtual environment

In Lab Management RC release, you might be using the “share snapshot” feature which essentially provides a shareable link for the snapshots. This feature is very useful when you want to share snapshots with others and expect them to connect to that particular snapshot. On the same line, you might want to have a shareable…

0

How to create ‘testing enabled’ lab environment

In this post, I plan to talk about how you can create ‘testing enabled’ lab environment. I am assuming that you have already configured lab management and have a ‘lab ready virtual machine’ in your SCVMM library, but if you have not done any of that, please do that as mentioned in the first 2…

0