Template for a good new topic, formatted with Markdown:
- ALM used (Azure DevOps)
- CI system used (Azure DevOps YAML )
- Languages of the repository : .NET Core
- Error observed : We can’t say it as error it is an issue that we have found while executing SCA and code coverage part in Azure YAML to Sonar Cloud test task is talking more time for executing.
Issue in detail:
We are having .NET Core applications integrated with Azure Pipeline and Sonar Cloud.
We have normal dotnet core build steps and sonar cloud 4 tasks including test task for generating code coverage.
We have 6 test modules and 700 + test cases included in it which takes max 5 Min to run in the visual studio but when it comes to Coverlet test in the pipeline it takes long time and We have observed significant delays during the test execution phase, specifically prolonged waiting periods following the execution of each module. During these intervals, no logs are generated, which limits us to analyze or identify the underlying issue. we
YAML.txt (3.2 KB)
Dot_Net_Test_Step.txt (302 Bytes)
have executed the pipeline using multiple agents please find the execution time details below:
| Virtual Machine Scale set Agents | Self-Hosted Agent |
|---|---|
| Total Execution Time: - 2 hr. 20 min | Total Execution Time: - 1 hr. 17 min |
| Actual Execution time: - 47 min | Actual Execution Time: - 22 min |
| Waiting time across the test modules: - 1 hr. 33 min | Waiting time across the test modules: - 55 Min |
Attaching the test step details and logs. Please let us know the suitable solution for this.
Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!