-
Notifications
You must be signed in to change notification settings - Fork 1.2k
ci: Remove test datadir after extracting logs to free up CI disk space #6978
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
Conversation
✅ No Merge Conflicts DetectedThis PR currently has no conflicts with other open PRs. |
WalkthroughThis change adds a cleanup operation to the CI integration test script. After extracting logs from each test directory, the script now removes the corresponding test data directory using Sequence Diagram(s)sequenceDiagram
autonumber
participant CI as CI job
participant FS as Filesystem
participant Logs as Logs archive
rect rgba(200,230,255,0.4)
CI->>FS: iterate test directories (for each $d)
CI->>FS: move/copy logs from testdatadirs/$BASEDIR/$d -> logs/
FS-->>Logs: logs placed
end
rect rgba(230,255,220,0.4)
CI->>FS: rm -rf testdatadirs/$BASEDIR/$d
FS-->>CI: confirm deletion
end
note over CI,FS: repeat for each test directory
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (10)
🔇 Additional comments (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
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.
Actionable comments posted: 1
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
ci/dash/test_integrationtests.sh(1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
- GitHub Check: linux64_multiprocess-test / Test source
PastaPastaPasta
left a comment
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.
LGTM; ready to merge?
|
We can merge this one too but it's not enough, pls review #6981 |
|
closing in fav of #6986 |
Issue being fixed or feature implemented
CI started to fail with
System.IO.IOException: No space left on devicefor otherwise successful jobs recently. Example: https://github.com/dashpay/dash/actions/runs/19371409140/job/55429155189.What was done?
Remove test datadir after extracting logs to free up CI disk space.
How Has This Been Tested?
See CI for this PR
Breaking Changes
n/a, we don't store test datadirs in artifacts or anywhere else afaik
Checklist: