-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Fix GH runners memory issue by increasing swapfile #9596
Conversation
Signed-off-by: Sayali Gaikawad <[email protected]>
Compatibility status:Checks if related components are compatible with change 02573e1 Incompatible componentsIncompatible components: [https://github.com/opensearch-project/asynchronous-search.git, https://github.com/opensearch-project/cross-cluster-replication.git] Skipped componentsCompatible componentsCompatible components: [https://github.com/opensearch-project/security.git, https://github.com/opensearch-project/alerting.git, https://github.com/opensearch-project/index-management.git, https://github.com/opensearch-project/anomaly-detection.git, https://github.com/opensearch-project/sql.git, https://github.com/opensearch-project/job-scheduler.git, https://github.com/opensearch-project/observability.git, https://github.com/opensearch-project/common-utils.git, https://github.com/opensearch-project/k-nn.git, https://github.com/opensearch-project/reporting.git, https://github.com/opensearch-project/geospatial.git, https://github.com/opensearch-project/ml-commons.git, https://github.com/opensearch-project/notifications.git, https://github.com/opensearch-project/performance-analyzer.git, https://github.com/opensearch-project/performance-analyzer-rca.git, https://github.com/opensearch-project/neural-search.git, https://github.com/opensearch-project/security-analytics.git, https://github.com/opensearch-project/opensearch-oci-object-storage.git] |
Gradle Check (Jenkins) Run Completed with:
|
Codecov Report
@@ Coverage Diff @@
## main #9596 +/- ##
============================================
+ Coverage 70.40% 71.09% +0.69%
- Complexity 56861 57461 +600
============================================
Files 4781 4781
Lines 271231 271231
Branches 39599 39599
============================================
+ Hits 190947 192843 +1896
+ Misses 63974 62089 -1885
+ Partials 16310 16299 -11 |
Signed-off-by: Sayali Gaikawad <[email protected]> (cherry picked from commit 81c7b97) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
(cherry picked from commit 81c7b97) Signed-off-by: Sayali Gaikawad <[email protected]>
I found https://github.com/marketplace/actions/set-swap-space that does the same thing and looks a bit neater + displays the results. |
Looks like it is not maintained or actively developed. Last commit and release was in 2021. |
…t#9596) Signed-off-by: Sayali Gaikawad <[email protected]> Signed-off-by: Kaushal Kumar <[email protected]>
…t#9596) Signed-off-by: Sayali Gaikawad <[email protected]> Signed-off-by: Ivan Brusic <[email protected]>
…t#9596) Signed-off-by: Sayali Gaikawad <[email protected]> Signed-off-by: Shivansh Arora <[email protected]>
Description
Compatibility-check workflow runs are frequently failing with shutdown signal sent to GH runners.
This change increases the swapfile on the GH ubuntu runner to 10G as suggested here. Tried in my fork and triggered 10 simultaneous runs https://github.com/gaiksaya/OpenSearch/actions/workflows/check-compatibility.yml and all of them passed.
Related Issues
Resolves #9549
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.