Title: [224920] trunk/Tools
Revision
224920
Author
[email protected]
Date
2017-11-16 07:52:28 -0800 (Thu, 16 Nov 2017)

Log Message

Win EWS bots should reboot after N webkit-patch iterations.
https://bugs.webkit.org/show_bug.cgi?id=177970

Reviewed by Brent Fulgham.

* EWSTools/start-queue-win.sh:

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (224919 => 224920)


--- trunk/Tools/ChangeLog	2017-11-16 15:49:22 UTC (rev 224919)
+++ trunk/Tools/ChangeLog	2017-11-16 15:52:28 UTC (rev 224920)
@@ -1,3 +1,12 @@
+2017-11-16  Per Arne Vollan  <[email protected]>
+
+        Win EWS bots should reboot after N webkit-patch iterations.
+        https://bugs.webkit.org/show_bug.cgi?id=177970
+
+        Reviewed by Brent Fulgham.
+
+        * EWSTools/start-queue-win.sh:
+
 2017-11-15  Carlos Garcia Campos  <[email protected]>
 
         [WPE] Add initial support for WebDriver

Modified: trunk/Tools/EWSTools/start-queue-win.sh (224919 => 224920)


--- trunk/Tools/EWSTools/start-queue-win.sh	2017-11-16 15:49:22 UTC (rev 224919)
+++ trunk/Tools/EWSTools/start-queue-win.sh	2017-11-16 15:52:28 UTC (rev 224920)
@@ -21,44 +21,41 @@
 
     "$PROGRAMFILES_X86/Microsoft Visual Studio 14.0/VC/vcvarsall.bat"
 
-    while :
-    do
-        date
-        echo "TASK: cleaning up old log files."
-        cd ~/win-ews-logs
-        rm -rf win-ews.old
-        mv win-ews.log win-ews.old
-        find ~/win-ews-logs -mtime +7 -exec rm -f {} \;
-        echo "TASK: Starting up"
-        cd ~/WebKit
-        export VSINSTALLDIR="$PROGRAMFILES_X86\Microsoft Visual Studio 14.0"
-        echo "TASK: Cleaning WebKitBuild"
-        rm -rf WebKitBuild
-        date
-        echo "TASK: Cleaning up"
-        svn cleanup
-        date
-        echo "TASK: svn revert -R *"
-        svn revert -R *
-        date
-        echo "TASK: svn status"
-        svn status | grep "?" | awk '{print $2}' | xargs rm -rf
-        date
-        echo "TASK: webkit-patch clean"
-        ~/WebKit/Tools/Scripts/webkit-patch clean
-        date
-        echo "TASK: svn up --non-interactive"
-        svn up --non-interactive
-        date
-        echo "TASK: kill orphaned tasks"
-        taskkill.exe /f /im cl.exe
-        echo "TASK: test-webkitpy"
-        ~/WebKit/Tools/Scripts/test-webkitpy
-        echo "TASK: webkit-patch win-ews"
-        ~/WebKit/Tools/Scripts/webkit-patch win-ews --bot-id=$BOT_ID --no-confirm --exit-after-iteration 10
-        echo "TASK: kill old processes"
-        ~/WebKit/Tools/BuildSlaveSupport/kill-old-processes
-    done
+    date
+    echo "TASK: cleaning up old log files."
+    cd ~/win-ews-logs
+    rm -rf win-ews.old
+    mv win-ews.log win-ews.old
+    find ~/win-ews-logs -mtime +7 -exec rm -f {} \;
+    echo "TASK: Starting up"
+    cd ~/WebKit
+    export VSINSTALLDIR="$PROGRAMFILES_X86\Microsoft Visual Studio 14.0"
+    echo "TASK: Cleaning WebKitBuild"
+    rm -rf WebKitBuild
+    date
+    echo "TASK: Cleaning up"
+    svn cleanup
+    date
+    echo "TASK: svn revert -R *"
+    svn revert -R *
+    date
+    echo "TASK: svn status"
+    svn status | grep "?" | awk '{print $2}' | xargs rm -rf
+    date
+    echo "TASK: webkit-patch clean"
+    ~/WebKit/Tools/Scripts/webkit-patch clean
+    date
+    echo "TASK: svn up --non-interactive"
+    svn up --non-interactive
+    date
+    echo "TASK: kill orphaned tasks"
+    taskkill.exe /f /im cl.exe
+    echo "TASK: test-webkitpy"
+    ~/WebKit/Tools/Scripts/test-webkitpy
+    echo "TASK: webkit-patch win-ews"
+    ~/WebKit/Tools/Scripts/webkit-patch win-ews --bot-id=$BOT_ID --no-confirm --exit-after-iteration 10
+    echo "TASK: reboot"
+    shutdown /r
 }
 
 start_ews
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to