-
Notifications
You must be signed in to change notification settings - Fork 376
Closed
Description
Context
The Simulators are slowing down as they are being used. The folder with their data grows substantially. I did an analysis and found sizes up to 12 GB, most frequently ranging from 2 to 7 GB. This is a potential cause of the slowdown.
To be done
XHarness has a command that wipes the Simulator data and resets the Simulator. We should do this repeatedly on our OSX queues to keep them healthy.
A good fit might be the weekly OSOB pipeline?
Notes
Simulators can be reset via following Helix job:
sudo rm -rf /Users/helix-runner/.dotnet # some machines have global .NET installed and there are permission problems
curl -sL aka.ms/get-xharness | bash -
export DOTNET_ROOT=./.dotnet
# Reset iOS
sid=`./xharness apple device ios-simulator-64`
du -sh ~/Library/Developer/CoreSimulator/Devices/$sid
./xharness apple simulators reset-simulator -o . -t ios-simulator-64
du -sh ~/Library/Developer/CoreSimulator/Devices/$sid
# Reset tvOS
sid=`./xharness apple device tvos-simulator`
du -sh ~/Library/Developer/CoreSimulator/Devices/$sid
./xharness apple simulators reset-simulator -o . -t tvos-simulator
du -sh ~/Library/Developer/CoreSimulator/Devices/$sid"| Build | Kind | Start Time |
|---|---|---|
| 1863024 | Rolling | 2022-06-07 |
| 1865333 | Rolling | 2022-07-07 |
| 1867636 | Rolling | 2022-08-07 |
Metadata
Metadata
Assignees
Labels
No labels