Freigeben über


Error starting the test run: Build directory of the test run is not specified or does not exist.

In Microsoft Test and Lab Manager, the above error message is observed during the execution of an automated test run on a test controller. It can occur in either of the following conditions.

1. The account under which test controller is running does not have read permission on the build directory. (The build directory is same as the drop location of build associated with this test run.)

2. The build directory itself does not exist.

So to come out of this error, ensure that build directory exists and test controller service account has read permission on it.

Comments

  • Anonymous
    November 09, 2011
    I had the same problem after we disabled Netbios over TCP/IP on the Test Controller, the share on the Build Agent couldn't be accessed.

  • Anonymous
    November 10, 2011
    Thanks Mario for sharing this. It should help the other users of microsoft test and lab manager.

  • Anonymous
    November 18, 2011
    I have tests continuously being run and all of a sudden I am seeing the same error message, what's going on?I did check bellow and came up with nothing:Did the TFS server rebooted due to patch? NoDid the share changed? No Did the build machine experienced network problem? Probably, hard to tell. Windows Event Viewer does not seem to indicate that something is up. Did the controller rebooted? No Did the agent reboot? No I find that MTM/coded UI/Agent/Controller and continuously running tests are not reliable. Anyone noticing this? Is this ready for prime time?

  • Anonymous
    January 31, 2012
    I am writing setup automation where I want the unit tests to install the MSI based on what the test case requires and what data to verify after setup msi has completed. In the unit test, how can I access the build drop folder for that particular build to be able to copy down the binaries to the local machine?Thanks!Manish

  • Anonymous
    January 31, 2012
    The comment has been removed

  • Anonymous
    May 01, 2012
    Hey Aseem,Our build team does not make use of the drop location when building, is there any way I can point the test controller to a different folder where the files are?

  • Anonymous
    May 02, 2012
    The comment has been removed

  • Anonymous
    October 24, 2013
    Hello Aseem,I am facing a the same issue in a specific situation.At my work network I am able to run the automated test from MTM without any issue. (proves I have proper rights).But when I connect to vpn and run the test from MTM  I get the errpr "The build directory of the test run either does not exist or access permission is required.".I checked with IT guys they says from VPN portal the required port 9191 is open and you should be able to connect. I am not sure what's going on here. however I can still queue the new build on VPN but just can't run my test.ThanksBasant

  • Anonymous
    October 24, 2013
    Hi Basant,9191 is the port on which build controller/agent listens. But since tests are executed by test controller/agent, opening of port 9191 is not useful.Can you please share whether test controller/agent is running on your machine or on the work network?RegardsAseem Bansal

  • Anonymous
    September 22, 2014
    Make sure build path is accessible from Controller machine.