We are having an issue with the GTK+ bots because of bug 127352 that is causing that thousands of at-spi-bus-launcher and dbus-daemon process remain open. On r166798 I tried to workaround this by killing dbus-daemon on the script kill-old-processes that the bots run before any new build. However this turned out to be problematic for the performance bots so it was reverted on r169343. So, I think we still want to kill dbus-daemon (and maybe at-spi-bus-launcher) also on the test bots but not on the performance bots. An idea to achieve this is to implement on kill-old-processes support for killing any task defined on a given environment variable. This way the admin of each bot can set this variable accordingly
Created attachment 269880 [details] Patch
Comment on attachment 269880 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=269880&action=review LGTM, let's add this environment variable to be able hack bots easier. > Tools/BuildSlaveSupport/kill-old-processes:111 > + tasksToKill = os.getenv('WEBKITBOT_TASKSTOKILL', "").split() nit: Could you use '' or "" for both parameters to have better looking code?
Committed r195587: <http://trac.webkit.org/changeset/195587>