Title: [140801] trunk/Tools
Revision
140801
Author
commit-qu...@webkit.org
Date
2013-01-25 01:56:21 -0800 (Fri, 25 Jan 2013)

Log Message

Quick fix for Chromium EWS bots running out of space due to a tmp file leak
https://bugs.webkit.org/show_bug.cgi?id=107905

Patch by Alan Cutter <alancut...@chromium.org> on 2013-01-25
Reviewed by Eric Seidel.

Added line to EWS loop to clear /tmp of known Chromium test leak.
Directories named ".org.chromium.Chromium.XXXXXX" not getting cleaned up.

* EWSTools/start-queue.sh:

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (140800 => 140801)


--- trunk/Tools/ChangeLog	2013-01-25 09:35:51 UTC (rev 140800)
+++ trunk/Tools/ChangeLog	2013-01-25 09:56:21 UTC (rev 140801)
@@ -1,3 +1,15 @@
+2013-01-25  Alan Cutter  <alancut...@chromium.org>
+
+        Quick fix for Chromium EWS bots running out of space due to a tmp file leak
+        https://bugs.webkit.org/show_bug.cgi?id=107905
+
+        Reviewed by Eric Seidel.
+
+        Added line to EWS loop to clear /tmp of known Chromium test leak.
+        Directories named ".org.chromium.Chromium.XXXXXX" not getting cleaned up.
+
+        * EWSTools/start-queue.sh:
+
 2013-01-25  Ryosuke Niwa  <rn...@webkit.org>
 
         Update Anne's email address

Modified: trunk/Tools/EWSTools/start-queue.sh (140800 => 140801)


--- trunk/Tools/EWSTools/start-queue.sh	2013-01-25 09:35:51 UTC (rev 140800)
+++ trunk/Tools/EWSTools/start-queue.sh	2013-01-25 09:56:21 UTC (rev 140801)
@@ -41,6 +41,13 @@
 cd /mnt/git/webkit-$QUEUE_NAME
 while :
 do
+    # This clears any temporary file leaks after running tests.
+    # Not the nicest solution but it will keep the queues running instead of
+    # filling up all remaining disk space.
+    # NOTE: This will clear any Chromium browser temporary files running on the
+    # machine as well. Not advised to run this while using Chrome.
+    find /tmp -name ".org.chromium.Chromium.*" | xargs rm -rf
+
     # This somewhat quirky sequence of steps seems to clear up all the broken
     # git situations we've gotten ourself into in the past.
     git clean -f # Remove any left-over layout test results, added files, etc.
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to