Search code examples
visual-studiotfsvstest

TFS Build is canceled after some seconds running


I have a TFS build with VSTest task that always get cancelled automatically after some seconds.

I downloaded the build logs and i got ZERO errors.

Is there any condition that can abort a build with no error logs?

I use a TestSettings file that has timeouts configured: enter image description here

The TFS build duration is also set:

build config

but the test task is canceled with a minute:

enter image description here


Solution

  • I just figured out the problem. This test have this configuration at TestSettings file:

      <DataCollectors>
        <DataCollector uri="datacollector://microsoft/HttpProxy/1.0" assemblyQualifiedName="Microsoft.VisualStudio.TraceCollector.HttpProxyCollector, Microsoft.VisualStudio.TraceCollector, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" friendlyName="ASP.NET Client Proxy for IntelliTrace and Test Impact">
        </DataCollector>   </DataCollectors>
    

    Removing this from the test settings solved the problem.

    I cannot investigate the root cause (why its cancelled with this configuration without any error message)