Changeset 195587 in webkit


Ignore:
Timestamp:
Jan 26, 2016 7:47:54 AM (8 years ago)
Author:
clopez@igalia.com
Message:

kill-old-processes: allow to specify on the environment of the bot a list of process that should be killed.
https://bugs.webkit.org/show_bug.cgi?id=153483

Reviewed by Csaba Osztrogonác.

  • BuildSlaveSupport/kill-old-processes:

(main): Allow to specify extra tasks to kill via the environment variable WEBKITBOT_TASKSTOKILL

Location:
trunk/Tools
Files:
2 edited

Legend:

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

    r194273 r195587  
    108108    ]
    109109
     110    # This allows to specify on the environment of the bot a list of process that should be killed.
     111    tasksToKill = os.getenv("WEBKITBOT_TASKSTOKILL", "").split()
    110112    if sys.platform == 'darwin':
    111         for task in tasksToKillMac:
     113        for task in tasksToKill + tasksToKillMac:
    112114            os.system("killall -9 -v -m " + task)
    113115        # Kill all instances of python executing run-webkit-tests
    114116        os.system("ps aux | grep -E '.+/Python .+(run_webkit_tests|run-webkit-tests|mod_pywebsocket)' | grep -v grep | awk '{print $2}' | xargs kill")
    115117    elif sys.platform == 'cygwin' or sys.platform == 'win32':
    116         for task in tasksToKillWin:
     118        for task in tasksToKill + tasksToKillWin:
    117119            os.system("taskkill /t /f /im " + task)
    118120    elif sys.platform.startswith('linux'):
    119         for task in taskToKillUnix:
     121        for task in tasksToKill + taskToKillUnix:
    120122            os.system("killall -9 -v " + task)
    121123        os.system("ps aux | grep -P '.+/python .+(run_webkit_tests|run-webkit-tests|mod_pywebsocket)' | grep -v grep | awk '{print $2}' | xargs kill")
  • trunk/Tools/ChangeLog

    r195579 r195587  
     12016-01-26  Carlos Alberto Lopez Perez  <clopez@igalia.com>
     2
     3        kill-old-processes: allow to specify on the environment of the bot a list of process that should be killed.
     4        https://bugs.webkit.org/show_bug.cgi?id=153483
     5
     6        Reviewed by Csaba Osztrogonác.
     7
     8        * BuildSlaveSupport/kill-old-processes:
     9        (main): Allow to specify extra tasks to kill via the environment variable WEBKITBOT_TASKSTOKILL
     10
    1112016-01-25  Simon Fraser  <simon.fraser@apple.com>
    212
Note: See TracChangeset for help on using the changeset viewer.