-
Notifications
You must be signed in to change notification settings - Fork 4.1k
[Infra] trialling memory management tweaks for linux on test steps #28557
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
[Infra] trialling memory management tweaks for linux on test steps #28557
Conversation
Thanks for your contribution! The pull request validation has started. Please revisit this comment for updated status. |
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
This reverts commit fe97e78.
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds memory management parameters to the Linux test execution pipeline to prevent out-of-memory (OOM) failures on Ubuntu 24.04 test agents. The changes implement specific garbage collection and parallelism restrictions to reduce memory consumption during test runs.
- Adds Linux-specific memory tuning parameters for .NET garbage collection
- Restricts CPU parallelism for test execution on Linux platforms
- Refactors the MSBuild command arguments for better maintainability
… linux-test-step-oom-issue
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
Description
This PR adds memory management parameters to the Linux test execution pipeline to prevent out-of-memory (OOM) failures on Ubuntu 24.04 test agents. The changes implement specific garbage collection and parallelism restrictions to reduce memory consumption during test runs.
These changes are implemented to mitigate ADO agents from killing the process and causing Linux test step to be flaky.
Mandatory Checklist
Please choose the target release of Azure PowerShell. (⚠️ Target release is a different concept from API readiness. Please click below links for details.)
Check this box to confirm: I have read the Submitting Changes section of
CONTRIBUTING.md
and reviewed the following information:ChangeLog.md
file(s) appropriatelysrc/{{SERVICE}}/{{SERVICE}}/ChangeLog.md
.## Upcoming Release
header in the past tense.ChangeLog.md
if no new release is required, such as fixing test case only.