Skip to content

Commit e6978f2

Browse files
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: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@224920 268f45cc-cd09-0410-ab3c-d52691b4dbfc
1 parent 50ab246 commit e6978f2

File tree

2 files changed

+44
-38
lines changed

2 files changed

+44
-38
lines changed

Tools/ChangeLog

+9
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
2017-11-16 Per Arne Vollan <[email protected]>
2+
3+
Win EWS bots should reboot after N webkit-patch iterations.
4+
https://bugs.webkit.org/show_bug.cgi?id=177970
5+
6+
Reviewed by Brent Fulgham.
7+
8+
* EWSTools/start-queue-win.sh:
9+
110
2017-11-15 Carlos Garcia Campos <[email protected]>
211

312
[WPE] Add initial support for WebDriver

Tools/EWSTools/start-queue-win.sh

+35-38
Original file line numberDiff line numberDiff line change
@@ -21,44 +21,41 @@ function start_ews()
2121

2222
"$PROGRAMFILES_X86/Microsoft Visual Studio 14.0/VC/vcvarsall.bat"
2323

24-
while :
25-
do
26-
date
27-
echo "TASK: cleaning up old log files."
28-
cd ~/win-ews-logs
29-
rm -rf win-ews.old
30-
mv win-ews.log win-ews.old
31-
find ~/win-ews-logs -mtime +7 -exec rm -f {} \;
32-
echo "TASK: Starting up"
33-
cd ~/WebKit
34-
export VSINSTALLDIR="$PROGRAMFILES_X86\Microsoft Visual Studio 14.0"
35-
echo "TASK: Cleaning WebKitBuild"
36-
rm -rf WebKitBuild
37-
date
38-
echo "TASK: Cleaning up"
39-
svn cleanup
40-
date
41-
echo "TASK: svn revert -R *"
42-
svn revert -R *
43-
date
44-
echo "TASK: svn status"
45-
svn status | grep "?" | awk '{print $2}' | xargs rm -rf
46-
date
47-
echo "TASK: webkit-patch clean"
48-
~/WebKit/Tools/Scripts/webkit-patch clean
49-
date
50-
echo "TASK: svn up --non-interactive"
51-
svn up --non-interactive
52-
date
53-
echo "TASK: kill orphaned tasks"
54-
taskkill.exe /f /im cl.exe
55-
echo "TASK: test-webkitpy"
56-
~/WebKit/Tools/Scripts/test-webkitpy
57-
echo "TASK: webkit-patch win-ews"
58-
~/WebKit/Tools/Scripts/webkit-patch win-ews --bot-id=$BOT_ID --no-confirm --exit-after-iteration 10
59-
echo "TASK: kill old processes"
60-
~/WebKit/Tools/BuildSlaveSupport/kill-old-processes
61-
done
24+
date
25+
echo "TASK: cleaning up old log files."
26+
cd ~/win-ews-logs
27+
rm -rf win-ews.old
28+
mv win-ews.log win-ews.old
29+
find ~/win-ews-logs -mtime +7 -exec rm -f {} \;
30+
echo "TASK: Starting up"
31+
cd ~/WebKit
32+
export VSINSTALLDIR="$PROGRAMFILES_X86\Microsoft Visual Studio 14.0"
33+
echo "TASK: Cleaning WebKitBuild"
34+
rm -rf WebKitBuild
35+
date
36+
echo "TASK: Cleaning up"
37+
svn cleanup
38+
date
39+
echo "TASK: svn revert -R *"
40+
svn revert -R *
41+
date
42+
echo "TASK: svn status"
43+
svn status | grep "?" | awk '{print $2}' | xargs rm -rf
44+
date
45+
echo "TASK: webkit-patch clean"
46+
~/WebKit/Tools/Scripts/webkit-patch clean
47+
date
48+
echo "TASK: svn up --non-interactive"
49+
svn up --non-interactive
50+
date
51+
echo "TASK: kill orphaned tasks"
52+
taskkill.exe /f /im cl.exe
53+
echo "TASK: test-webkitpy"
54+
~/WebKit/Tools/Scripts/test-webkitpy
55+
echo "TASK: webkit-patch win-ews"
56+
~/WebKit/Tools/Scripts/webkit-patch win-ews --bot-id=$BOT_ID --no-confirm --exit-after-iteration 10
57+
echo "TASK: reboot"
58+
shutdown /r
6259
}
6360

6461
start_ews

0 commit comments

Comments
 (0)