-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Open
Description
System dumps on macOS are large - uploading them has been taking down helix queues. Using the runtime's coredump features should allow for configuration such that we can get smaller and still useful dumps.
Since createdump is part of the test/payload, I think we should just be able to update the libraries runner template to set the dump configuration environment variables for DbgEnableMiniDump, DbgMiniDumpName, and DbgMiniDumpType (cc @mikem8361 @hoyosjs) instead of using ulimit:
runtime/eng/testing/RunnerTemplate.sh
Lines 130 to 136 in 8cd701a
| if [[ "$(uname -s)" == "Darwin" ]]; then | |
| # On OS X, we will enable core dump generation only if there are no core | |
| # files already in /cores/ at this point. This is being done to prevent | |
| # inadvertently flooding the CI machines with dumps. | |
| if [[ ! -d "/cores" || ! "$(ls -A /cores)" ]]; then | |
| ulimit -c unlimited | |
| fi |
See also:
#65405 (comment)
https://github.com/dotnet/core-eng/issues/15333
cc @danmoseley
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
No status