If using Azure Pipelines, provide the account name, team project name, build definition name/build number:
Internal Microsoft
Agent - Hosted or Private:
Private - Windows
What's not working?
Please include error messages and screenshots.
The publish test results step is failing in publishing test results ->
##[warning]Failed to publish test results: Error while copying content to a stream.
This does not lead to a step failure and is very confusing for our post-processing scripts ->
This issue is stale because it has been open for 180 days with no activity. Remove the stale label or comment on the issue otherwise this will be closed in 5 days
Note
Issues in this repo are for tracking bugs, feature requests and questions for the tasks in this repo
For a list:
https://github.com/Microsoft/azure-pipelines-tasks/tree/master/Tasks
If you have an issue or request for the Azure Pipelines service, use developer community instead:
https://developercommunity.visualstudio.com/spaces/21/index.html )
Required Information
Entering this information will route you directly to the right team and expedite traction.
Question, Bug, or Feature?
Type: Bug
Enter Task Name: PublishTestResultsV2
list here (V# not needed): 2.210.0 https://github.com/Microsoft/azure-pipelines-tasks/tree/master/Tasks
Environment
Server - Azure Pipelines or TFS on-premises?
Agent - Hosted or Private:
Private - Windows
What's not working?
Please include error messages and screenshots. The publish test results step is failing in publishing test results ->![image](https://user-images.githubusercontent.com/37447884/213517355-777a74bb-be3c-4674-8613-3ed5c216f1e9.png)
##[warning]Failed to publish test results: Error while copying content to a stream.
This does not lead to a step failure and is very confusing for our post-processing scripts ->
Troubleshooting
Checkout how to troubleshoot failures and collect debug logs: https://docs.microsoft.com/en-us/vsts/build-release/actions/troubleshooting
Agent and Worker's Diagnostic Logs