When running tests in a CI/CD pipeline, collecting diagnostic data such as screenshots, logs, and attachments is very useful to help troubleshooting failures. Azure Pipelines has always had support for test attachments and you can find details in the documentation on how to collect attachments in continous testing.
With this update, Azure Pipelines supports test attachments bigger than 100MB in size, which means you can now upload big files like crash dumps or videos with failed tests, aiding your troubleshooting experience.
This functionality is available for all our customers today.
Change required if you are using self-hosted agents
If you are using self-hosted build or release agents behind a firewall that is filtering outbound requests, you will need to make some configuration changes to be able to use this functionality. You might see VSTest task or Publish test results task returning a 403 or 407 error in logs, an example is as below:
Also note, if your pipeline treats warning as errors, you might see pipeline failures too.
In order to fix the issue above, we recommend updating firewall rules to allow outbound requests to https://*.vstmrblob.vsassets.io
. You can find troubleshooting information in our docs
Note that the change above is only required if you’re using self-hosted Azure Pipelines agents and you’re behind a firewall that is filtering outbound traffic. Customers using Microsoft-hosted agents in the cloud or that aren’t filtering outbound network traffic do not need to take any action.
Feedback
Please reach out to our Azure DevOps feedback portal if you have any questions / feedback, or connect with us on Twitter at @AzureDevOps.
Not sure if this is meant for Azure DevOps cloud services or on premises, but we're using Azure DevOps Server 2019 Update 1 Patch 1 (on premises), our coverage file is larger than 75/100 MB (it's 130 MB large) and the upload of this coverage file fails at the end of the test build step because the file attachment is too large. We have code coverage enabled as well as the "Upload test attachments" option.Read more
I am getting a (413) Request Entity Too Large when I try to upload a 180 MB attachment using the attachments end point, is there any restriction in forced at all?
Request you to please log this issue in our Developer community forum so that we can connect and help you better.