"clang",\r
"clang++",\r
"gcc-4.2",\r
- "i686-apple-darwin10-gcc-4.2.1"\r
+ "i686-apple-darwin10-gcc-4.2.1",\r
"jsc",\r
"make",\r
"pboard", # FIXME: https://bugs.webkit.org/show_bug.cgi?id=81012\r
"xcodebuild",\r
]\r
\r
+ taskToKillUnix = [\r
+ "cc1plus",\r
+ "DumpRenderTree",\r
+ "gold",\r
+ "ld",\r
+ "make",\r
+ "ruby",\r
+ "svn",\r
+ "webkit_unit_tests",\r
+ "WebKitTestRunner",\r
+ ]\r
+\r
if sys.platform == 'darwin':\r
for task in tasksToKillMac:\r
os.system("killall -9 -v -m " + task)\r
elif sys.platform == 'cygwin' or sys.platform == 'win32':\r
for task in tasksToKillWin:\r
os.system("taskkill /t /f /im " + task)\r
+ elif sys.platform.startswith('linux'):\r
+ for task in taskToKillUnix:\r
+ os.system("killall -9 -v " + task)\r
+ os.system("ps aux | grep -P '.+/python .+(run_webkit_tests|run-webkit-tests)' | grep -v grep | awk '{print $2}' | xargs kill")\r
else:\r
sys.exit()\r
# FIXME: Should we return an exit code based on how the kills went?\r
+2012-03-28 Ryosuke Niwa <rniwa@webkit.org>
+
+ kill-old-processes doesn't do anything on linux
+ https://bugs.webkit.org/show_bug.cgi?id=82388
+
+ Reviewed by Tony Chang.
+
+ Kill cc1plus, ld, etc... on linux. Also ps aux + grep to kill old run-webkit-tests processes.
+ This should help stabilizing Chromium linux bots.
+
+ * BuildSlaveSupport/kill-old-processes:
+
2012-03-28 Philippe Normand <pnormand@igalia.com>
[GTK] jhbuild wrongly tricked into clean-up