Skip to content

Repeated invocations of dotnet-install.sh will fill TMP directory  #45

Closed
@sfoslund

Description

@sfoslund

Issue moved from dotnet/sdk#11858


From @MattGal on Tuesday, June 2, 2020 5:43:10 PM

See https://github.com/dotnet/sdk/blob/master/scripts/obtain/dotnet-install.sh#L822

We had all the test machines run out of disk space overnight from just running too many tests. (in the case I investigated it was about 900 tests on one machine leading to 21 GB of SDKs in the TMP folder).

Thoughts on how to fix:

  • At a minimum, when the job is done successfully the zip_path file should be deleted if it exists regardless of content
  • Could consider also a more distinct temp file name and cleaning up someDistinctDotNettyName.* in TMP every time.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions