locked
Run Functional Tests: Error uploading test run results / attachments RRS feed

  • Question

  • Environment:

    • On-premise TFS 2015 Update 3
    • Release Management vNext
    • Release definition using tasks:
      • Visual Studio Test Agent Deployment (VS Test Agent 14.0.25420.1)
      • Run Functional Tests (based on a Test Plan)

    We have a large test suite of 400+ tests and a custom data collector in place which collects log files of considerable size (50 MB per file is not uncommon). "Run Functional Tests" task seems to execute all tests but fails at the end when trying to publish the test results and attachments:

    W, 3224, 3, 2016/08/24, 02:32:07.663, 322736173808, DTAExecutionHost.exe, Failure attempting to call the restapis. Exception: System.AggregateException: One or more errors occurred. ---> Microsoft.VisualStudio.Services.Common.VssServiceException: Cannot upload file as it exceeded the maximum file size (104857600 bytes)

    (from DTAExecutionHost.exe.log on the test machine)

    I guess this is a TFS/IIS configuration issue but I don't know where to look.

    Friday, August 26, 2016 7:38 AM

Answers

  • I checked the maximum allowed content length; it is currently set to 2000000000, i.e. not the limiting factor.

    In fact it has been confirmed by the vsts-tasks team on GitHub that this is a REST API limitation on the publish APIs.

    • Marked as answer by nodots Monday, August 29, 2016 11:38 AM
    Monday, August 29, 2016 11:38 AM

All replies

  • Hi,

    How do you custom data collector? Please provide detail code here.

    Please provide the detail steps to reproduce that issue.

    Try to change Request Filtering for TFS site:

    1. Select tfs site/application in IIS manager
    2. Double-click Request Filtering
    3. Select Rules tab
    4. Click Edit Feature Settings
    5. Change Maximum allowed content length (e.g. 536870912)

    Regards

    Starain


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Monday, August 29, 2016 2:57 AM
    Moderator
  • I checked the maximum allowed content length; it is currently set to 2000000000, i.e. not the limiting factor.

    In fact it has been confirmed by the vsts-tasks team on GitHub that this is a REST API limitation on the publish APIs.

    • Marked as answer by nodots Monday, August 29, 2016 11:38 AM
    Monday, August 29, 2016 11:38 AM