Fix Linux XDP Debug BVT runner crash by adding swap space#5919
Draft
ProjectsByJackHe wants to merge 2 commits intomainfrom
Draft
Fix Linux XDP Debug BVT runner crash by adding swap space#5919ProjectsByJackHe wants to merge 2 commits intomainfrom
ProjectsByJackHe wants to merge 2 commits intomainfrom
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #5919 +/- ##
==========================================
- Coverage 86.18% 85.80% -0.38%
==========================================
Files 60 60
Lines 18731 18731
==========================================
- Hits 16143 16073 -70
- Misses 2588 2658 +70 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The BVT (Debug, linux, ubuntu-24.04, x64, quictls, -UseSystemOpenSSLCrypto, -Test, -UseXdp) job consistently
crashes the GitHub Actions runner at ~72 minutes — test step logs return HTTP 404 and cleanup steps never run.
The Release variant of the same matrix passes reliably.
Root cause: OOM. GitHub-hosted runners have 7 GB RAM. The Debug + XDP combination exhausts this due to:
When the Linux OOM-killer fires, it can kill the runner agent itself (not just the test process), causing the
full runner disconnect.
This adds a 6 GB swap file on Linux XDP runners before tests run, giving ~13 GB total virtual memory. The swap
file is on the runner's ephemeral SSD so performance impact is minimal. Only Linux XDP matrices are affected —
all other jobs are unchanged.
Testing
CI
Documentation
No