⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 280621 in webkit


Ignore:
Timestamp:
Aug 3, 2021, 4:14:44 PM (5 years ago)
Author:
Jonathan Bedard
Message:

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

Reviewed by Ryan Haddad.

  • CISupport/kill-old-processes:

(main): Use tempdir environment variable, link to underlying bug.

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/CISupport/kill-old-processes

    r280365 r280621  
    2929import re
    3030import subprocess
     31import tempfile
    3132
    3233def listAllWebKitPrograms(builddir_bin):
     
    173174        # Kill all instances of python executing run-webkit-tests
    174175        os.system("ps aux | grep -E '.+/Python .+(run_webkit_tests|run-webkit-tests|mod_pywebsocket)' | grep -v grep | awk '{print $2}' | xargs kill")
    175         # Remove stale simulator temp files
    176         os.system('find /private/var/folders -name "Deleting-*" -maxdepth 4 -exec sudo rm -rf {} +')
     176        # FIXME: <rdar://problem/81476546> Remove stale simulator temp files
     177        os.system('find {} -name "Deleting-*" -maxdepth 1 -exec sudo rm -rf {{}} +'.format(tempfile.gettempdir()))
    177178    elif sys.platform == 'cygwin' or sys.platform == 'win32':
    178179        for task in tasksToKill + tasksToKillWin:
  • trunk/Tools/ChangeLog

    r280619 r280621  
     12021-08-03  Jonathan Bedard  <jbedard@apple.com>
     2
     3        [build.webkit.org] Simulator temp files filling up disk (Follow-up fix)
     4        https://bugs.webkit.org/show_bug.cgi?id=228335
     5        <rdar://problem/81171840>
     6
     7        Reviewed by Ryan Haddad.
     8
     9        * CISupport/kill-old-processes:
     10        (main): Use tempdir environment variable, link to underlying bug.
     11
    1122021-08-03  Jer Noble  <jer.noble@apple.com>
    213
Note: See TracChangeset for help on using the changeset viewer.