Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: PublishCodeCoverageResults@2 fails to upload coverage for large solutions #20658

Open
4 of 7 tasks
chris-meuzelaar opened this issue Nov 13, 2024 · 0 comments
Open
4 of 7 tasks

Comments

@chris-meuzelaar
Copy link

New issue checklist

Task name

PublishCodeCoverageResults

Task version

2.242.1

Issue Description

PublishCodeCoverageResults@2 fails to publish the coverage report when there are more than 1800 files in it. I don't have a hard number, but I have builds with ~500 files in the report that work properly and builds with 1800+ that get 60+% of the way through uploading the files and then just stop without any errors.

Environment type (Please select at least one enviroment where you face this issue)

  • Self-Hosted
  • Microsoft Hosted
  • VMSS Pool
  • Container

Azure DevOps Server type

dev.azure.com (formerly visualstudio.com)

Azure DevOps Server Version (if applicable)

No response

Operation system

Windows Server 2019 and 2022

Relevant log output

Publishing coverage summary data.
line- 35973 of 316641 covered.
Publishing file coverage data.
Publishing code coverage HTML report.
Uploading 4750 files.
Total file: 4750 ---- Processed file: 47 (0%).
Total file: 4750 ---- Processed file: 155 (3%).
Total file: 4750 ---- Processed file: 264 (5%).
Total file: 4750 ---- Processed file: 390 (8%).
Total file: 4750 ---- Processed file: 525 (11%).
Total file: 4750 ---- Processed file: 613 (12%).
Total file: 4750 ---- Processed file: 668 (14%).
Total file: 4750 ---- Processed file: 741 (15%).
Total file: 4750 ---- Processed file: 819 (17%).
Total file: 4750 ---- Processed file: 946 (19%).
Total file: 4750 ---- Processed file: 1076 (22%).

Finishing: Publish code coverage results

Full task logs with system.debug enabled

[Task Log.txt](https://github.com/user-attachments/files/17734403/Task.Log.txt)

Repro steps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants