Title: [280365] trunk/Tools
Revision
280365
Author
jbed...@apple.com
Date
2021-07-27 17:47:02 -0700 (Tue, 27 Jul 2021)

Log Message

[build.webkit.org] Simulator temp files filling up disk
https://bugs.webkit.org/show_bug.cgi?id=228335
<rdar://problem/81171840>

Reviewed by Aakash Jain.

* CISupport/kill-old-processes:
(main): Delete stale simulator files.

Modified Paths

Diff

Modified: trunk/Tools/CISupport/kill-old-processes (280364 => 280365)


--- trunk/Tools/CISupport/kill-old-processes	2021-07-28 00:21:05 UTC (rev 280364)
+++ trunk/Tools/CISupport/kill-old-processes	2021-07-28 00:47:02 UTC (rev 280365)
@@ -172,6 +172,8 @@
             os.system("xcrun simctl shutdown booted")
         # Kill all instances of python executing run-webkit-tests
         os.system("ps aux | grep -E '.+/Python .+(run_webkit_tests|run-webkit-tests|mod_pywebsocket)' | grep -v grep | awk '{print $2}' | xargs kill")
+        # Remove stale simulator temp files
+        os.system('find /private/var/folders -name "Deleting-*" -maxdepth 4 -exec sudo rm -rf {} +')
     elif sys.platform == 'cygwin' or sys.platform == 'win32':
         for task in tasksToKill + tasksToKillWin:
             os.system("taskkill /t /f /im " + task)

Modified: trunk/Tools/ChangeLog (280364 => 280365)


--- trunk/Tools/ChangeLog	2021-07-28 00:21:05 UTC (rev 280364)
+++ trunk/Tools/ChangeLog	2021-07-28 00:47:02 UTC (rev 280365)
@@ -1,3 +1,14 @@
+2021-07-27  Jonathan Bedard  <jbed...@apple.com>
+
+        [build.webkit.org] Simulator temp files filling up disk
+        https://bugs.webkit.org/show_bug.cgi?id=228335
+        <rdar://problem/81171840>
+
+        Reviewed by Aakash Jain.
+
+        * CISupport/kill-old-processes:
+        (main): Delete stale simulator files.
+
 2021-07-27  Aakash Jain  <aakash_j...@apple.com>
 
         Add .gitignore file for CISupport
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to