| OLD | NEW |
| (Empty) |
| 1 /* | |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | |
| 3 * | |
| 4 * Redistribution and use in source and binary forms, with or without | |
| 5 * modification, are permitted provided that the following conditions | |
| 6 * are met: | |
| 7 * 1. Redistributions of source code must retain the above copyright | |
| 8 * notice, this list of conditions and the following disclaimer. | |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | |
| 10 * notice, this list of conditions and the following disclaimer in the | |
| 11 * documentation and/or other materials provided with the distribution. | |
| 12 * | |
| 13 * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' | |
| 14 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, | |
| 15 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | |
| 16 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS | |
| 17 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | |
| 18 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF | |
| 19 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS | |
| 20 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | |
| 21 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | |
| 22 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF | |
| 23 * THE POSSIBILITY OF SUCH DAMAGE. | |
| 24 */ | |
| 25 | |
| 26 (function () { | |
| 27 | |
| 28 module("builders"); | |
| 29 | |
| 30 var kExampleBuilderStatusJSON = { | |
| 31 "WebKit Linux": { | |
| 32 "basedir": "WebKit_Linux", | |
| 33 "cachedBuilds": [11459, 11460, 11461, 11462], | |
| 34 "category": "6webkit linux latest", | |
| 35 "currentBuilds": [11462], | |
| 36 "pendingBuilds": 0, | |
| 37 "slaves": ["vm124-m1"], | |
| 38 "state": "building" | |
| 39 }, | |
| 40 "WebKit Mac10.6": { | |
| 41 "basedir": "WebKit_Linux", | |
| 42 "cachedBuilds": [11459, 11460, 11461, 11462], | |
| 43 "category": "6webkit linux latest", | |
| 44 "currentBuilds": [11461, 11462], | |
| 45 "pendingBuilds": 0, | |
| 46 "slaves": ["vm124-m1"], | |
| 47 "state": "building" | |
| 48 }, | |
| 49 "WebKit ASAN": { | |
| 50 "basedir": "WebKit_Linux", | |
| 51 "cachedBuilds": [11459, 11460, 11461, 11462], | |
| 52 "category": "6webkit linux latest", | |
| 53 "currentBuilds": [11461, 11462], | |
| 54 "pendingBuilds": 0, | |
| 55 "slaves": ["vm124-m1"], | |
| 56 "state": "building" | |
| 57 }, | |
| 58 }; | |
| 59 | |
| 60 var kExampleWebKitDotOrgBuilderStatusJSON = { | |
| 61 "Apple Lion Release WK2 (Tests)": { | |
| 62 "basedir": "WebKit_Linux", | |
| 63 "cachedBuilds": [11459, 11460, 11461, 11462], | |
| 64 "category": "6webkit linux latest", | |
| 65 "currentBuilds": [11462], | |
| 66 "pendingBuilds": 0, | |
| 67 "slaves": ["vm124-m1"], | |
| 68 "state": "building" | |
| 69 }, | |
| 70 "GTK Linux 64-bit Debug": { | |
| 71 "basedir": "WebKit_Linux", | |
| 72 "cachedBuilds": [11459, 11460, 11461, 11462], | |
| 73 "category": "6webkit linux latest", | |
| 74 "currentBuilds": [11461, 11462], | |
| 75 "pendingBuilds": 0, | |
| 76 "slaves": ["vm124-m1"], | |
| 77 "state": "building" | |
| 78 }, | |
| 79 "Qt Linux Release": { | |
| 80 "basedir": "WebKit_Linux", | |
| 81 "cachedBuilds": [11459, 11460, 11461, 11462], | |
| 82 "category": "6webkit linux latest", | |
| 83 "currentBuilds": [11461, 11462], | |
| 84 "pendingBuilds": 0, | |
| 85 "slaves": ["vm124-m1"], | |
| 86 "state": "building" | |
| 87 }, | |
| 88 }; | |
| 89 | |
| 90 var kExampleBuildInfoJSON = { | |
| 91 "blame": ["abarth@webkit.org"], | |
| 92 "builderName": "WebKit Linux", | |
| 93 "changes": ["Files:\n Tools/BuildSlaveSupport/build.webkit.org-config/public
_html/TestFailures/main.js\n Tools/ChangeLog\nAt: Thu 04 Aug 2011 00:50:38\nChan
ged By: abarth@webkit.org\nComments: Fix types. Sadly, main.js has no test cove
rage. (I need to think\nabout how to test this part of the code.)\n\n* BuildSla
veSupport/build.webkit.org-config/public_html/TestFailures/main.js:Properties: \
n\n\n", "Files:\n LayoutTests/ChangeLog\n LayoutTests/platform/mac/fast/box-shad
ow/inset-box-shadows-expected.png\n LayoutTests/platform/mac/fast/repaint/shadow
-multiple-horizontal-expected.png\n LayoutTests/platform/mac/fast/repaint/shadow
-multiple-strict-horizontal-expected.png\n LayoutTests/platform/mac/fast/repaint
/shadow-multiple-strict-vertical-expected.png\n LayoutTests/platform/mac/fast/re
paint/shadow-multiple-vertical-expected.png\nAt: Thu 04 Aug 2011 00:50:38\nChang
ed By: abarth@webkit.org\nComments: Update baselines after <http://trac.webkit.o
rg/changeset/92340>.\n\n* platform/mac/fast/box-shadow/inset-box-shadows-expecte
d.png:\n* platform/mac/fast/repaint/shadow-multiple-horizontal-expected.png:\n*
platform/mac/fast/repaint/shadow-multiple-strict-horizontal-expected.png:\n* pla
tform/mac/fast/repaint/shadow-multiple-strict-vertical-expected.png:\n* platform
/mac/fast/repaint/shadow-multiple-vertical-expected.png:Properties: \n\n\n"], | |
| 94 "currentStep": null, | |
| 95 "eta": null, | |
| 96 "logs": [ | |
| 97 ["stdio", "http://build.chromium.org/p/chromium.webkitbuilders/WebKit%20
Linux/builds/11461/steps/update_scripts/logs/stdio"], | |
| 98 ["stdio", "http://build.chromium.org/p/chromium.webkitbuilders/WebKit%20
Linux/builds/11461/steps/update/logs/stdio"], | |
| 99 ["stdio", "http://build.chromium.org/p/chromium.webkitbuilders/WebKit%20
Linux/builds/11461/steps/compile/logs/stdio"], | |
| 100 ["stdio", "http://build.chromium.org/p/chromium.webkitbuilders/WebKit%20
Linux/builds/11461/steps/test_shell_tests/logs/stdio"], | |
| 101 ["stdio", "http://build.chromium.org/p/chromium.webkitbuilders/WebKit%20
Linux/builds/11461/steps/webkit_unit_tests/logs/stdio"], | |
| 102 ["stdio", "http://build.chromium.org/p/chromium.webkitbuilders/WebKit%20
Linux/builds/11461/steps/webkit_tests/logs/stdio"], | |
| 103 ["stdio", "http://build.chromium.org/p/chromium.webkitbuilders/WebKit%20
Linux/builds/11461/steps/archive_webkit_tests_results/logs/stdio"], | |
| 104 ["stdio", "http://build.chromium.org/p/chromium.webkitbuilders/WebKit%20
Linux/builds/11461/steps/webkit_gpu_tests/logs/stdio"], | |
| 105 ["stdio", "http://build.chromium.org/p/chromium.webkitbuilders/WebKit%20
Linux/builds/11461/steps/archive_webkit_tests_gpu_results/logs/stdio"] | |
| 106 ], | |
| 107 "number": 11461, | |
| 108 "properties": [ | |
| 109 ["blamelist", ["abarth@webkit.org"], "Build"], | |
| 110 ["branch", "trunk", "Build"], | |
| 111 ["buildername", "WebKit Linux", "Build"], | |
| 112 ["buildnumber", 11461, "Build"], | |
| 113 ["got_revision", "95395", "Source"], | |
| 114 ["got_webkit_revision", "92358", "Source"], | |
| 115 ["gtest_filter", null, "Factory"], | |
| 116 ["mastername", "chromium.webkit", "master.cfg"], | |
| 117 ["revision", "92358", "Build"], | |
| 118 ["scheduler", "s6_webkit_rel", "Scheduler"], | |
| 119 ["slavename", "vm124-m1", "BuildSlave"] | |
| 120 ], | |
| 121 "reason": "", | |
| 122 "requests": [{ | |
| 123 "builderName": "WebKit Linux", | |
| 124 "builds": [11461], | |
| 125 "source": { | |
| 126 "branch": "trunk", | |
| 127 "changes": [{ | |
| 128 "branch": "trunk", | |
| 129 "category": null, | |
| 130 "comments": "Fix types. Sadly, main.js has no test coverage. (
I need to think\nabout how to test this part of the code.)\n\n* BuildSlaveSuppor
t/build.webkit.org-config/public_html/TestFailures/main.js:", | |
| 131 "files": ["Tools/BuildSlaveSupport/build.webkit.org-config/publi
c_html/TestFailures/main.js", "Tools/ChangeLog"], | |
| 132 "number": 43707, | |
| 133 "properties": [], | |
| 134 "repository": "", | |
| 135 "revision": "92357", | |
| 136 "revlink": "http://trac.webkit.org/changeset/92357", | |
| 137 "when": 1312444238.855081, | |
| 138 "who": "abarth@webkit.org" | |
| 139 }, { | |
| 140 "branch": "trunk", | |
| 141 "category": null, | |
| 142 "comments": "Update baselines after <http://trac.webkit.org/chan
geset/92340>.\n\n* platform/mac/fast/box-shadow/inset-box-shadows-expected.png:\
n* platform/mac/fast/repaint/shadow-multiple-horizontal-expected.png:\n* platfor
m/mac/fast/repaint/shadow-multiple-strict-horizontal-expected.png:\n* platform/m
ac/fast/repaint/shadow-multiple-strict-vertical-expected.png:\n* platform/mac/fa
st/repaint/shadow-multiple-vertical-expected.png:", | |
| 143 "files": ["LayoutTests/ChangeLog", "LayoutTests/platform/mac/fas
t/box-shadow/inset-box-shadows-expected.png", "LayoutTests/platform/mac/fast/rep
aint/shadow-multiple-horizontal-expected.png", "LayoutTests/platform/mac/fast/re
paint/shadow-multiple-strict-horizontal-expected.png", "LayoutTests/platform/mac
/fast/repaint/shadow-multiple-strict-vertical-expected.png", "LayoutTests/platfo
rm/mac/fast/repaint/shadow-multiple-vertical-expected.png"], | |
| 144 "number": 43708, | |
| 145 "properties": [], | |
| 146 "repository": "", | |
| 147 "revision": "92358", | |
| 148 "revlink": "http://trac.webkit.org/changeset/92358", | |
| 149 "when": 1312444238.855538, | |
| 150 "who": "abarth@webkit.org" | |
| 151 }], | |
| 152 "hasPatch": false, | |
| 153 "revision": "92358" | |
| 154 }, | |
| 155 "submittedAt": 1312444298.989818 | |
| 156 }], | |
| 157 "results": 2, | |
| 158 "slave": "vm124-m1", | |
| 159 "sourceStamp": { | |
| 160 "branch": "trunk", | |
| 161 "changes": [{ | |
| 162 "branch": "trunk", | |
| 163 "category": null, | |
| 164 "comments": "Fix types. Sadly, main.js has no test coverage. (I ne
ed to think\nabout how to test this part of the code.)\n\n* BuildSlaveSupport/bu
ild.webkit.org-config/public_html/TestFailures/main.js:", | |
| 165 "files": ["Tools/BuildSlaveSupport/build.webkit.org-config/public_ht
ml/TestFailures/main.js", "Tools/ChangeLog"], | |
| 166 "number": 43707, | |
| 167 "properties": [], | |
| 168 "repository": "", | |
| 169 "revision": "92357", | |
| 170 "revlink": "http://trac.webkit.org/changeset/92357", | |
| 171 "when": 1312444238.855081, | |
| 172 "who": "abarth@webkit.org" | |
| 173 }, { | |
| 174 "branch": "trunk", | |
| 175 "category": null, | |
| 176 "comments": "Update baselines after <http://trac.webkit.org/changese
t/92340>.\n\n* platform/mac/fast/box-shadow/inset-box-shadows-expected.png:\n* p
latform/mac/fast/repaint/shadow-multiple-horizontal-expected.png:\n* platform/ma
c/fast/repaint/shadow-multiple-strict-horizontal-expected.png:\n* platform/mac/f
ast/repaint/shadow-multiple-strict-vertical-expected.png:\n* platform/mac/fast/r
epaint/shadow-multiple-vertical-expected.png:", | |
| 177 "files": ["LayoutTests/ChangeLog", "LayoutTests/platform/mac/fast/bo
x-shadow/inset-box-shadows-expected.png", "LayoutTests/platform/mac/fast/repaint
/shadow-multiple-horizontal-expected.png", "LayoutTests/platform/mac/fast/repain
t/shadow-multiple-strict-horizontal-expected.png", "LayoutTests/platform/mac/fas
t/repaint/shadow-multiple-strict-vertical-expected.png", "LayoutTests/platform/m
ac/fast/repaint/shadow-multiple-vertical-expected.png"], | |
| 178 "number": 43708, | |
| 179 "properties": [], | |
| 180 "repository": "", | |
| 181 "revision": "92358", | |
| 182 "revlink": "http://trac.webkit.org/changeset/92358", | |
| 183 "when": 1312444238.855538, | |
| 184 "who": "abarth@webkit.org" | |
| 185 }], | |
| 186 "hasPatch": false, | |
| 187 "revision": "92358" | |
| 188 }, | |
| 189 "steps": [{ | |
| 190 "eta": null, | |
| 191 "expectations": [ | |
| 192 ["output", 2297, 2300.6571014083784] | |
| 193 ], | |
| 194 "isFinished": true, | |
| 195 "isStarted": true, | |
| 196 "logs": [ | |
| 197 ["stdio", "http://build.chromium.org/p/chromium.webkitbuilders/WebKi
t%20Linux/builds/11461/steps/update_scripts/logs/stdio"] | |
| 198 ], | |
| 199 "name": "update_scripts", | |
| 200 "results": [0, []], | |
| 201 "statistics": {}, | |
| 202 "step_number": 0, | |
| 203 "text": ["update_scripts"], | |
| 204 "times": [1312444299.102834, 1312444309.270324], | |
| 205 "urls": {} | |
| 206 }, { | |
| 207 "eta": null, | |
| 208 "expectations": [ | |
| 209 ["output", 20453, 17580.5002389645] | |
| 210 ], | |
| 211 "isFinished": true, | |
| 212 "isStarted": true, | |
| 213 "logs": [ | |
| 214 ["stdio", "http://build.chromium.org/p/chromium.webkitbuilders/WebKi
t%20Linux/builds/11461/steps/update/logs/stdio"] ], | |
| 215 "name": "update", | |
| 216 "results": [0, []], | |
| 217 "statistics": {}, | |
| 218 "step_number": 1, | |
| 219 "text": ["update", "r95395", "webkit r92358"], | |
| 220 "times": [1312444309.270763, 1312444398.468139], | |
| 221 "urls": {} | |
| 222 }, { | |
| 223 "eta": null, | |
| 224 "expectations": [ | |
| 225 ["output", 17316, 2652.4850499589456] | |
| 226 ], | |
| 227 "isFinished": true, | |
| 228 "isStarted": true, | |
| 229 "logs": [ | |
| 230 ["stdio", "http://build.chromium.org/p/chromium.webkitbuilders/WebKi
t%20Linux/builds/11461/steps/compile/logs/stdio"] | |
| 231 ], | |
| 232 "name": "compile", | |
| 233 "results": [0, []], | |
| 234 "statistics": {}, | |
| 235 "step_number": 2, | |
| 236 "text": ["compile"], | |
| 237 "times": [1312444398.46855, 1312444441.68838], | |
| 238 "urls": {} | |
| 239 }, { | |
| 240 "eta": null, | |
| 241 "expectations": [ | |
| 242 ["output", 91980, 92002.12628325251] | |
| 243 ], | |
| 244 "isFinished": true, | |
| 245 "isStarted": true, | |
| 246 "logs": [ | |
| 247 ["stdio", "http://build.chromium.org/p/chromium.webkitbuilders/WebKi
t%20Linux/builds/11461/steps/test_shell_tests/logs/stdio"] | |
| 248 ], | |
| 249 "name": "test_shell_tests", | |
| 250 "results": [0, []], | |
| 251 "statistics": {}, | |
| 252 "step_number": 3, | |
| 253 "text": ["test_shell_tests", "1 disabled", "2 flaky"], | |
| 254 "times": [1312444441.688756, 1312444451.74908], | |
| 255 "urls": {} | |
| 256 }, { | |
| 257 "eta": null, | |
| 258 "expectations": [ | |
| 259 ["output", 20772, 20772.638503443086] | |
| 260 ], | |
| 261 "isFinished": true, | |
| 262 "isStarted": true, | |
| 263 "logs": [ | |
| 264 ["stdio", "http://build.chromium.org/p/chromium.webkitbuilders/WebKi
t%20Linux/builds/11461/steps/webkit_unit_tests/logs/stdio"] | |
| 265 ], | |
| 266 "name": "webkit_unit_tests", | |
| 267 "results": [0, []], | |
| 268 "statistics": {}, | |
| 269 "step_number": 4, | |
| 270 "text": ["webkit_unit_tests", "1 disabled"], | |
| 271 "times": [1312444451.749574, 1312444452.306143], | |
| 272 "urls": {} | |
| 273 }, { | |
| 274 "eta": null, | |
| 275 "expectations": [ | |
| 276 ["output", 2477406, 2498915.6146275494] | |
| 277 ], | |
| 278 "isFinished": true, | |
| 279 "isStarted": true, | |
| 280 "logs": [ | |
| 281 ["stdio", "http://build.chromium.org/p/chromium.webkitbuilders/WebKi
t%20Linux/builds/11461/steps/webkit_tests/logs/stdio"] | |
| 282 ], | |
| 283 "name": "webkit_tests", | |
| 284 "results": [2, ["webkit_tests"]], | |
| 285 "statistics": {}, | |
| 286 "step_number": 5, | |
| 287 "text": ["webkit_tests", "2014 fixable", "(370 skipped)", "failed 1", "<
div class=\"BuildResultInfo\">", "<a href=\"http://test-results.appspot.com/dash
boards/flakiness_dashboard.html#master=ChromiumWebkit&tests=fast/box-shadow/box-
shadow-clipped-slices.html\">", "<abbr title=\"fast/box-shadow/box-shadow-clippe
d-slices.html\">box-shadow-clipped-slices.html</abbr>", "</a>", "</div>"], | |
| 288 "times": [1312444452.306695, 1312444768.888266], | |
| 289 "urls": {} | |
| 290 }, { | |
| 291 "eta": null, | |
| 292 "expectations": [ | |
| 293 ["output", 2668845, 2672746.372363254] | |
| 294 ], | |
| 295 "isFinished": true, | |
| 296 "isStarted": true, | |
| 297 "logs": [ | |
| 298 ["stdio", "http://build.chromium.org/p/chromium.webkitbuilders/WebKi
t%20Linux/builds/11461/steps/archive_webkit_tests_results/logs/stdio"] | |
| 299 ], | |
| 300 "name": "archive_webkit_tests_results", | |
| 301 "results": [0, []], | |
| 302 "statistics": {}, | |
| 303 "step_number": 6, | |
| 304 "text": ["archived webkit_tests results"], | |
| 305 "times": [1312444768.888746, 1312444781.444399], | |
| 306 "urls": { | |
| 307 "layout test results": "http://build.chromium.org/buildbot/layout_te
st_results/WebKit_Linux\r/95395\rNone" | |
| 308 } | |
| 309 }, { | |
| 310 "eta": null, | |
| 311 "expectations": [ | |
| 312 ["output", 210958, 208138.4965182993] | |
| 313 ], | |
| 314 "isFinished": true, | |
| 315 "isStarted": true, | |
| 316 "logs": [ | |
| 317 ["stdio", "http://build.chromium.org/p/chromium.webkitbuilders/WebKi
t%20Linux/builds/11461/steps/webkit_gpu_tests/logs/stdio"] | |
| 318 ], | |
| 319 "name": "webkit_gpu_tests", | |
| 320 "results": [2, ["webkit_gpu_tests"]], | |
| 321 "statistics": {}, | |
| 322 "step_number": 7, | |
| 323 "text": ["webkit_gpu_tests", "148 fixable", "(24 skipped)", "failed 1",
"<div class=\"BuildResultInfo\">", "<a href=\"http://test-results.appspot.com/da
shboards/flakiness_dashboard.html#master=ChromiumWebkit&tests=compositing/scalin
g/tiled-layer-recursion.html\">", "<abbr title=\"compositing/scaling/tiled-layer
-recursion.html\">tiled-layer-recursion.html</abbr>", "</a>", "</div>"], | |
| 324 "times": [1312444781.444903, 1312444966.856074], | |
| 325 "urls": {} | |
| 326 }, { | |
| 327 "eta": null, | |
| 328 "expectations": [ | |
| 329 ["output", 148825, 147822.1074277072] | |
| 330 ], | |
| 331 "isFinished": true, | |
| 332 "isStarted": true, | |
| 333 "logs": [ | |
| 334 ["stdio", "http://build.chromium.org/p/chromium.webkitbuilders/WebKi
t%20Linux/builds/11461/steps/archive_webkit_tests_gpu_results/logs/stdio"] | |
| 335 ], | |
| 336 "name": "archive_webkit_tests_gpu_results", | |
| 337 "results": [0, []], | |
| 338 "statistics": {}, | |
| 339 "step_number": 8, | |
| 340 "text": ["archived webkit_tests gpu results"], | |
| 341 "times": [1312444966.856575, 1312444970.458655], | |
| 342 "urls": { | |
| 343 "layout test gpu results": "http://build.chromium.org/buildbot/layou
t_test_results/WebKit_Linux_-_GPU\r/95395\rNone" | |
| 344 } | |
| 345 }], | |
| 346 "text": ["failed", "webkit_tests", "webkit_gpu_tests"], | |
| 347 "times": [1312444299.10216, 1312444970.459138] | |
| 348 }; | |
| 349 | |
| 350 var kExampleBuildInfoWithWebKitTestCrashJSON = { | |
| 351 "blame": ["asvitkine@chromium.org", "derat@chromium.org", "nirnimesh@chromiu
m.org"], | |
| 352 "builderName": "WebKit Win (deps)(dbg)(2)", | |
| 353 "currentStep": null, | |
| 354 "eta": null, | |
| 355 "logs": [ | |
| 356 ["stdio", "http://build.chromium.org/p/chromium.webkitbuilders/WebKit%20
Win%20%28deps%29%28dbg%29%282%29/builds/7653/steps/svnkill/logs/stdio"], | |
| 357 ["stdio", "http://build.chromium.org/p/chromium.webkitbuilders/WebKit%20
Win%20%28deps%29%28dbg%29%282%29/builds/7653/steps/update_scripts/logs/stdio"], | |
| 358 ["stdio", "http://build.chromium.org/p/chromium.webkitbuilders/WebKit%20
Win%20%28deps%29%28dbg%29%282%29/builds/7653/steps/taskkill/logs/stdio"], | |
| 359 ["stdio", "http://build.chromium.org/p/chromium.webkitbuilders/WebKit%20
Win%20%28deps%29%28dbg%29%282%29/builds/7653/steps/update/logs/stdio"], | |
| 360 ["stdio", "http://build.chromium.org/p/chromium.webkitbuilders/WebKit%20
Win%20%28deps%29%28dbg%29%282%29/builds/7653/steps/extract_build/logs/stdio"], | |
| 361 ["stdio", "http://build.chromium.org/p/chromium.webkitbuilders/WebKit%20
Win%20%28deps%29%28dbg%29%282%29/builds/7653/steps/webkit_tests/logs/stdio"], | |
| 362 ["stdio", "http://build.chromium.org/p/chromium.webkitbuilders/WebKit%20
Win%20%28deps%29%28dbg%29%282%29/builds/7653/steps/archive_webkit_tests_results/
logs/stdio"], | |
| 363 ["stdio", "http://build.chromium.org/p/chromium.webkitbuilders/WebKit%20
Win%20%28deps%29%28dbg%29%282%29/builds/7653/steps/webkit_gpu_tests/logs/stdio"]
, | |
| 364 ["stdio", "http://build.chromium.org/p/chromium.webkitbuilders/WebKit%20
Win%20%28deps%29%28dbg%29%282%29/builds/7653/steps/archive_webkit_tests_gpu_resu
lts/logs/stdio"] | |
| 365 ], | |
| 366 "number": 7653, | |
| 367 "properties": [ | |
| 368 ["blamelist", ["asvitkine@chromium.org", "derat@chromium.org", "nirnimes
h@chromium.org"], "Build"], | |
| 369 ["branch", "src", "Build"], | |
| 370 ["buildername", "WebKit Win (deps)(dbg)(2)", "Builder"], | |
| 371 ["buildnumber", 7653, "Build"], | |
| 372 ["got_revision", "104939", "Source"], | |
| 373 ["gtest_filter", null, "Factory"], | |
| 374 ["mastername", "chromium.webkit", "master.cfg"], | |
| 375 ["project", "", "Build"], | |
| 376 ["repository", "svn://svn-mirror.golo.chromium.org/chrome/trunk", "Build
"], | |
| 377 ["revision", "104939", "Build"], | |
| 378 ["scheduler", "s1_chromium_dbg_dep", "Scheduler"], | |
| 379 ["slavename", "vm114-m1", "BuildSlave"] | |
| 380 ], | |
| 381 "reason": "downstream", | |
| 382 "results": 2, | |
| 383 "slave": "vm114-m1", | |
| 384 "sourceStamp": { | |
| 385 "branch": "src", | |
| 386 "changes": [{ | |
| 387 "at": "Tue 11 Oct 2011 12:18:40", | |
| 388 "branch": "src", | |
| 389 "category": null, | |
| 390 "comments": "Disable prefs.PrefsTest.testGeolocationPref on win\n\nT
BR=dennisjeffrey@chromium.org\nBUG=99865\nTEST=\n\nReview URL: http://codereview
.chromium.org/8234007", | |
| 391 "files": [{ | |
| 392 "name": "chrome/test/functional/PYAUTO_TESTS", | |
| 393 "url": null | |
| 394 }], | |
| 395 "number": 1397, | |
| 396 "project": "", | |
| 397 "properties": [], | |
| 398 "repository": "svn://svn-mirror.golo.chromium.org/chrome/trunk", | |
| 399 "rev": "104936", | |
| 400 "revision": "104936", | |
| 401 "revlink": "http://src.chromium.org/viewvc/chrome?view=rev&revision=
104936", | |
| 402 "when": 1318360720, | |
| 403 "who": "nirnimesh@chromium.org" | |
| 404 }, { | |
| 405 "at": "Tue 11 Oct 2011 12:23:11", | |
| 406 "branch": "src", | |
| 407 "category": null, | |
| 408 "comments": "aura: Get rid of some unneeded stubs.\n\nMost of these
are for dialogs that already had WebUI\nimplementations.\n\nBUG=99718\nTEST=buil
t with use_aura=1\n\nReview URL: http://codereview.chromium.org/8218027", | |
| 409 "files": [{ | |
| 410 "name": "chrome/browser/ui/login/login_prompt_ui.cc", | |
| 411 "url": null | |
| 412 }, { | |
| 413 "name": "chrome/browser/ui/views/stubs_aura.cc", | |
| 414 "url": null | |
| 415 }, { | |
| 416 "name": "chrome/chrome_browser.gypi", | |
| 417 "url": null | |
| 418 }, { | |
| 419 "name": "chrome/common/url_constants.cc", | |
| 420 "url": null | |
| 421 }, { | |
| 422 "name": "chrome/common/url_constants.h", | |
| 423 "url": null | |
| 424 }], | |
| 425 "number": 1398, | |
| 426 "project": "", | |
| 427 "properties": [], | |
| 428 "repository": "svn://svn-mirror.golo.chromium.org/chrome/trunk", | |
| 429 "rev": "104937", | |
| 430 "revision": "104937", | |
| 431 "revlink": "http://src.chromium.org/viewvc/chrome?view=rev&revision=
104937", | |
| 432 "when": 1318360991, | |
| 433 "who": "derat@chromium.org" | |
| 434 }, { | |
| 435 "at": "Tue 11 Oct 2011 12:34:10", | |
| 436 "branch": "src", | |
| 437 "category": null, | |
| 438 "comments": "Add Windows manifest for views_examples.\n\nThis allows
views_examples to use themed controls and fixes\na problem with combo box drop
down menus not being shown.\n\nManifest file copied from chrome/app/chrome.exe.m
anifest.\n\nBUG=none\nTEST=manual\n\nReview URL: http://codereview.chromium.org/
8227017", | |
| 439 "files": [{ | |
| 440 "name": "views/examples/views_examples.exe.manifest", | |
| 441 "url": null | |
| 442 }, { | |
| 443 "name": "views/views.gyp", | |
| 444 "url": null | |
| 445 }], | |
| 446 "number": 1400, | |
| 447 "project": "", | |
| 448 "properties": [], | |
| 449 "repository": "svn://svn-mirror.golo.chromium.org/chrome/trunk", | |
| 450 "rev": "104939", | |
| 451 "revision": "104939", | |
| 452 "revlink": "http://src.chromium.org/viewvc/chrome?view=rev&revision=
104939", | |
| 453 "when": 1318361650, | |
| 454 "who": "asvitkine@chromium.org" | |
| 455 }], | |
| 456 "hasPatch": false, | |
| 457 "project": "", | |
| 458 "repository": "svn://svn-mirror.golo.chromium.org/chrome/trunk", | |
| 459 "revision": "104939" | |
| 460 }, | |
| 461 "steps": [{ | |
| 462 "eta": null, | |
| 463 "expectations": [ | |
| 464 ["output", 1444, 1444.0] | |
| 465 ], | |
| 466 "isFinished": true, | |
| 467 "isStarted": true, | |
| 468 "logs": [ | |
| 469 ["stdio", "http://build.chromium.org/p/chromium.webkitbuilders/WebKi
t%20Win%20%28deps%29%28dbg%29%282%29/builds/7653/steps/svnkill/logs/stdio"] | |
| 470 ], | |
| 471 "name": "svnkill", | |
| 472 "results": [0, []], | |
| 473 "statistics": {}, | |
| 474 "step_number": 0, | |
| 475 "text": ["svnkill"], | |
| 476 "times": [1318364210.0697701, 1318364210.463649], | |
| 477 "urls": {} | |
| 478 }, { | |
| 479 "eta": null, | |
| 480 "expectations": [ | |
| 481 ["output", 2916, 2757.1580967830819] | |
| 482 ], | |
| 483 "isFinished": true, | |
| 484 "isStarted": true, | |
| 485 "logs": [ | |
| 486 ["stdio", "http://build.chromium.org/p/chromium.webkitbuilders/WebKi
t%20Win%20%28deps%29%28dbg%29%282%29/builds/7653/steps/update_scripts/logs/stdio
"] | |
| 487 ], | |
| 488 "name": "update_scripts", | |
| 489 "results": [0, []], | |
| 490 "statistics": {}, | |
| 491 "step_number": 1, | |
| 492 "text": ["update_scripts"], | |
| 493 "times": [1318364210.464299, 1318364234.741575], | |
| 494 "urls": {} | |
| 495 }, { | |
| 496 "eta": null, | |
| 497 "expectations": [ | |
| 498 ["output", 4544, 4543.9687499691299] | |
| 499 ], | |
| 500 "isFinished": true, | |
| 501 "isStarted": true, | |
| 502 "logs": [ | |
| 503 ["stdio", "http://build.chromium.org/p/chromium.webkitbuilders/WebKi
t%20Win%20%28deps%29%28dbg%29%282%29/builds/7653/steps/taskkill/logs/stdio"] | |
| 504 ], | |
| 505 "name": "taskkill", | |
| 506 "results": [0, []], | |
| 507 "statistics": {}, | |
| 508 "step_number": 2, | |
| 509 "text": ["taskkill"], | |
| 510 "times": [1318364234.742265, 1318364245.842006], | |
| 511 "urls": {} | |
| 512 }, { | |
| 513 "eta": null, | |
| 514 "expectations": [ | |
| 515 ["output", 1019773, 22826.104572568838] | |
| 516 ], | |
| 517 "isFinished": true, | |
| 518 "isStarted": true, | |
| 519 "logs": [ | |
| 520 ["stdio", "http://build.chromium.org/p/chromium.webkitbuilders/WebKi
t%20Win%20%28deps%29%28dbg%29%282%29/builds/7653/steps/update/logs/stdio"] | |
| 521 ], | |
| 522 "name": "update", | |
| 523 "results": [0, []], | |
| 524 "statistics": {}, | |
| 525 "step_number": 3, | |
| 526 "text": ["update", "r104939"], | |
| 527 "times": [1318364245.843008, 1318366370.946759], | |
| 528 "urls": {} | |
| 529 }, { | |
| 530 "eta": null, | |
| 531 "expectations": [ | |
| 532 ["output", 19829, 19620.437500003842] | |
| 533 ], | |
| 534 "isFinished": true, | |
| 535 "isStarted": true, | |
| 536 "logs": [ | |
| 537 ["stdio", "http://build.chromium.org/p/chromium.webkitbuilders/WebKi
t%20Win%20%28deps%29%28dbg%29%282%29/builds/7653/steps/extract_build/logs/stdio"
] | |
| 538 ], | |
| 539 "name": "extract_build", | |
| 540 "results": [1, []], | |
| 541 "statistics": {}, | |
| 542 "step_number": 4, | |
| 543 "text": ["extract_build", "warnings"], | |
| 544 "times": [1318366370.94771, 1318366404.552783], | |
| 545 "urls": {} | |
| 546 }, { | |
| 547 "eta": null, | |
| 548 "expectations": [ | |
| 549 ["output", 2685, 1320624.4817683753] | |
| 550 ], | |
| 551 "isFinished": true, | |
| 552 "isStarted": true, | |
| 553 "logs": [ | |
| 554 ["stdio", "http://build.chromium.org/p/chromium.webkitbuilders/WebKi
t%20Win%20%28deps%29%28dbg%29%282%29/builds/7653/steps/webkit_tests/logs/stdio"] | |
| 555 ], | |
| 556 "name": "webkit_tests", | |
| 557 "results": [2, ["webkit_tests"]], | |
| 558 "statistics": {}, | |
| 559 "step_number": 5, | |
| 560 "text": ["webkit_tests", "?? fixable", "(0 skipped)", "crashed or hung"]
, | |
| 561 "times": [1318366404.5537021, 1318366405.2564809], | |
| 562 "urls": {} | |
| 563 }, { | |
| 564 "eta": null, | |
| 565 "expectations": [ | |
| 566 ["output", 3736, 606747.58321854263] | |
| 567 ], | |
| 568 "isFinished": true, | |
| 569 "isStarted": true, | |
| 570 "logs": [ | |
| 571 ["stdio", "http://build.chromium.org/p/chromium.webkitbuilders/WebKi
t%20Win%20%28deps%29%28dbg%29%282%29/builds/7653/steps/archive_webkit_tests_resu
lts/logs/stdio"] | |
| 572 ], | |
| 573 "name": "archive_webkit_tests_results", | |
| 574 "results": [2, ["archive_webkit_tests_results"]], | |
| 575 "statistics": {}, | |
| 576 "step_number": 6, | |
| 577 "text": ["archived webkit_tests results", "failed"], | |
| 578 "times": [1318366405.2573731, 1318366406.505815], | |
| 579 "urls": { | |
| 580 "layout test results": "http://build.chromium.org/buildbot/layout_te
st_results/WebKit_Win__deps__dbg__2_\r/0\rNone" | |
| 581 } | |
| 582 }, { | |
| 583 "eta": null, | |
| 584 "expectations": [ | |
| 585 ["output", 2751, 124434.9266140602] | |
| 586 ], | |
| 587 "isFinished": true, | |
| 588 "isStarted": true, | |
| 589 "logs": [ | |
| 590 ["stdio", "http://build.chromium.org/p/chromium.webkitbuilders/WebKi
t%20Win%20%28deps%29%28dbg%29%282%29/builds/7653/steps/webkit_gpu_tests/logs/std
io"] | |
| 591 ], | |
| 592 "name": "webkit_gpu_tests", | |
| 593 "results": [2, ["webkit_gpu_tests"]], | |
| 594 "statistics": {}, | |
| 595 "step_number": 7, | |
| 596 "text": ["webkit_gpu_tests", "?? fixable", "(0 skipped)", "crashed or hu
ng"], | |
| 597 "times": [1318366406.506711, 1318366407.179585], | |
| 598 "urls": {} | |
| 599 }, { | |
| 600 "eta": null, | |
| 601 "expectations": [ | |
| 602 ["output", 3760, 35709.407800958375] | |
| 603 ], | |
| 604 "isFinished": true, | |
| 605 "isStarted": true, | |
| 606 "logs": [ | |
| 607 ["stdio", "http://build.chromium.org/p/chromium.webkitbuilders/WebKi
t%20Win%20%28deps%29%28dbg%29%282%29/builds/7653/steps/archive_webkit_tests_gpu_
results/logs/stdio"] | |
| 608 ], | |
| 609 "name": "archive_webkit_tests_gpu_results", | |
| 610 "results": [2, ["archive_webkit_tests_gpu_results"]], | |
| 611 "statistics": {}, | |
| 612 "step_number": 8, | |
| 613 "text": ["archived webkit_tests gpu results", "failed"], | |
| 614 "times": [1318366407.1804891, 1318366408.071501], | |
| 615 "urls": { | |
| 616 "layout test gpu results": "http://build.chromium.org/buildbot/layou
t_test_results/WebKit_Win__deps__dbg__2__-_GPU\r/0\rNone" | |
| 617 } | |
| 618 }], | |
| 619 "text": ["failed", "webkit_tests", "archive_webkit_tests_results", "webkit_g
pu_tests", "archive_webkit_tests_gpu_results"], | |
| 620 "times": [1318364210.066524, 1318366408.0732119] | |
| 621 }; | |
| 622 | |
| 623 var kExampleBuildInfoWithTaskKillWarning = { | |
| 624 "blame": ["asvitkine@chromium.org", "derat@chromium.org", "nirnimesh@chromiu
m.org"], | |
| 625 "builderName": "WebKit Win (deps)(dbg)(2)", | |
| 626 "currentStep": null, | |
| 627 "eta": null, | |
| 628 "logs": [ | |
| 629 ["stdio", "http://build.chromium.org/p/chromium.webkitbuilders/WebKit%20
Win%20%28deps%29%28dbg%29%282%29/builds/7653/steps/svnkill/logs/stdio"], | |
| 630 ], | |
| 631 "number": 7653, | |
| 632 "properties": [ | |
| 633 ["blamelist", ["asvitkine@chromium.org", "derat@chromium.org", "nirnimes
h@chromium.org"], "Build"], | |
| 634 ["branch", "src", "Build"], | |
| 635 ["buildername", "WebKit Win (deps)(dbg)(2)", "Builder"], | |
| 636 ["buildnumber", 7653, "Build"], | |
| 637 ["got_revision", "104939", "Source"], | |
| 638 ["gtest_filter", null, "Factory"], | |
| 639 ["mastername", "chromium.webkit", "master.cfg"], | |
| 640 ["project", "", "Build"], | |
| 641 ["repository", "svn://svn-mirror.golo.chromium.org/chrome/trunk", "Build
"], | |
| 642 ["revision", "104939", "Build"], | |
| 643 ["scheduler", "s1_chromium_dbg_dep", "Scheduler"], | |
| 644 ["slavename", "vm114-m1", "BuildSlave"] | |
| 645 ], | |
| 646 "reason": "downstream", | |
| 647 "results": 2, | |
| 648 "slave": "vm114-m1", | |
| 649 "sourceStamp": { | |
| 650 "branch": "src", | |
| 651 "changes": [{ | |
| 652 "at": "Tue 11 Oct 2011 12:18:40", | |
| 653 "branch": "src", | |
| 654 "category": null, | |
| 655 "comments": "Disable prefs.PrefsTest.testGeolocationPref on win\n\nT
BR=dennisjeffrey@chromium.org\nBUG=99865\nTEST=\n\nReview URL: http://codereview
.chromium.org/8234007", | |
| 656 "files": [{ | |
| 657 "name": "chrome/test/functional/PYAUTO_TESTS", | |
| 658 "url": null | |
| 659 }], | |
| 660 "number": 1397, | |
| 661 "project": "", | |
| 662 "properties": [], | |
| 663 "repository": "svn://svn-mirror.golo.chromium.org/chrome/trunk", | |
| 664 "rev": "104936", | |
| 665 "revision": "104936", | |
| 666 "revlink": "http://src.chromium.org/viewvc/chrome?view=rev&revision=
104936", | |
| 667 "when": 1318360720, | |
| 668 "who": "nirnimesh@chromium.org" | |
| 669 }], | |
| 670 "hasPatch": false, | |
| 671 "project": "", | |
| 672 "repository": "svn://svn-mirror.golo.chromium.org/chrome/trunk", | |
| 673 "revision": "104939" | |
| 674 }, | |
| 675 "steps": [{ | |
| 676 "eta": null, | |
| 677 "expectations": [["output",1776,1534.0625014267862]], | |
| 678 "isFinished": true, | |
| 679 "isStarted": true, | |
| 680 "logs": [["stdio","http://build.chromium.org/p/chromium.webkitbuilders/X
P%20Perf/builds/10268/steps/taskkill/logs/stdio"]], | |
| 681 "name": "taskkill", | |
| 682 "results": [1,[]], | |
| 683 "statistics": {}, | |
| 684 "step_number": 2, | |
| 685 "text": ["taskkill","warning"], | |
| 686 "times": [1339438214.177362,1339438222.555572], | |
| 687 "urls": {} | |
| 688 }], | |
| 689 "text": ["failed", "webkit_tests", "archive_webkit_tests_results", "webkit_g
pu_tests", "archive_webkit_tests_gpu_results"], | |
| 690 "times": [1318364210.066524, 1318366408.0732119] | |
| 691 }; | |
| 692 | |
| 693 asyncTest("buildersFailing", 3, function() { | |
| 694 var simulator = new NetworkSimulator(); | |
| 695 builders.clearBuildInfoCache(); | |
| 696 | |
| 697 var failingBuildInfoJSON = JSON.parse(JSON.stringify(kExampleBuildInfoJSON))
; | |
| 698 failingBuildInfoJSON.number = 11460; | |
| 699 failingBuildInfoJSON.steps[2].results[0] = 1; | |
| 700 | |
| 701 var requestedURLs = []; | |
| 702 simulator.json = function(url) | |
| 703 { | |
| 704 requestedURLs.push(url); | |
| 705 if (/\/json\/builders$/.exec(url)) | |
| 706 return Promise.resolve(kExampleBuilderStatusJSON); | |
| 707 else if (/WebKit%20Linux/.exec(url)) | |
| 708 return Promise.resolve(kExampleBuildInfoJSON); | |
| 709 else if (/WebKit%20Mac10\.6/.exec(url)) | |
| 710 return Promise.resolve(failingBuildInfoJSON); | |
| 711 else if (/WebKit%20ASAN/.exec(url)) | |
| 712 return Promise.resolve(failingBuildInfoJSON); | |
| 713 else { | |
| 714 ok(false, "Unexpected URL: " + url); | |
| 715 return Promise.reject("Unexpected URL: " + url); | |
| 716 }; | |
| 717 }; | |
| 718 | |
| 719 simulator.runTest(function() { | |
| 720 builders.buildersFailingNonLayoutTests().then(function(builderNameList)
{ | |
| 721 deepEqual(builderNameList, { | |
| 722 "WebKit Linux": [ | |
| 723 "webkit_gpu_tests" | |
| 724 ], | |
| 725 "WebKit Mac10.6": [ | |
| 726 "webkit_gpu_tests" | |
| 727 ], | |
| 728 "WebKit ASAN": [ | |
| 729 "webkit_gpu_tests" | |
| 730 ], | |
| 731 }); | |
| 732 }); | |
| 733 }).then(function() { | |
| 734 | |
| 735 deepEqual(requestedURLs, [ | |
| 736 "http://build.chromium.org/p/chromium.webkit/json/builders", | |
| 737 "http://build.chromium.org/p/chromium.webkit/json/builders/WebKit%20
Linux/builds/11461", | |
| 738 "http://build.chromium.org/p/chromium.webkit/json/builders/WebKit%20
Mac10.6/builds/11460", | |
| 739 "http://build.chromium.org/p/chromium.webkit/json/bu
ilders/WebKit%20ASAN/builds/11460", | |
| 740 ]); | |
| 741 start(); | |
| 742 }); | |
| 743 }); | |
| 744 | |
| 745 asyncTest("buildersFailing (run-webkit-tests crash)", 3, function() { | |
| 746 var simulator = new NetworkSimulator(); | |
| 747 builders.clearBuildInfoCache(); | |
| 748 | |
| 749 var builderStatusJSON = JSON.parse(JSON.stringify(kExampleBuilderStatusJSON)
); | |
| 750 delete builderStatusJSON['WebKit Mac10.6']; | |
| 751 builderStatusJSON['WebKit Linux'].cachedBuilds = [21460]; | |
| 752 builderStatusJSON['WebKit Linux'].currentBuilds = []; | |
| 753 | |
| 754 var failingBuildInfoJSON = JSON.parse(JSON.stringify(kExampleBuildInfoWithWe
bKitTestCrashJSON)); | |
| 755 failingBuildInfoJSON.number = 21460; | |
| 756 | |
| 757 var requestedURLs = []; | |
| 758 simulator.json = function(url) | |
| 759 { | |
| 760 requestedURLs.push(url); | |
| 761 if (/\/json\/builders$/.exec(url)) | |
| 762 return Promise.resolve(builderStatusJSON); | |
| 763 else if (/WebKit%20Linux/.exec(url)) | |
| 764 return Promise.resolve(failingBuildInfoJSON); | |
| 765 else if (/WebKit%20ASAN/.exec(url)) | |
| 766 return Promise.resolve(failingBuildInfoJSON); | |
| 767 else { | |
| 768 ok(false, "Unexpected URL: " + url); | |
| 769 return Promise.reject("Unexpected URL: " + url); | |
| 770 } | |
| 771 }; | |
| 772 | |
| 773 simulator.runTest(function() { | |
| 774 builders.buildersFailingNonLayoutTests().then(function(builderNameList)
{ | |
| 775 deepEqual(builderNameList, { | |
| 776 "WebKit Linux": [ | |
| 777 "webkit_tests", | |
| 778 "archive_webkit_tests_results", | |
| 779 "webkit_gpu_tests", | |
| 780 "archive_webkit_tests_gpu_results" | |
| 781 ], | |
| 782 "WebKit ASAN": [ | |
| 783 "webkit_tests", | |
| 784 "archive_webkit_tests_results", | |
| 785 "webkit_gpu_tests", | |
| 786 "archive_webkit_tests_gpu_results" | |
| 787 ], | |
| 788 }); | |
| 789 }); | |
| 790 }).then(function() { | |
| 791 deepEqual(requestedURLs, [ | |
| 792 "http://build.chromium.org/p/chromium.webkit/json/builders", | |
| 793 "http://build.chromium.org/p/chromium.webkit/json/builders/WebKit%20
Linux/builds/21460", | |
| 794 // FIXME: This looks wrong? Why is ASAN here and with the wrong bui
ld number? | |
| 795 "http://build.chromium.org/p/chromium.webkit/json/builders/WebKit%20
ASAN/builds/11460" | |
| 796 ]); | |
| 797 start(); | |
| 798 }); | |
| 799 }); | |
| 800 | |
| 801 asyncTest("buildersFailing (taskkill warning)", 3, function() { | |
| 802 var simulator = new NetworkSimulator(); | |
| 803 builders.clearBuildInfoCache(); | |
| 804 | |
| 805 var builderStatusJSON = JSON.parse(JSON.stringify(kExampleBuilderStatusJSON)
); | |
| 806 delete builderStatusJSON['WebKit Mac10.6']; | |
| 807 builderStatusJSON['WebKit Linux'].cachedBuilds = [21460]; | |
| 808 builderStatusJSON['WebKit Linux'].currentBuilds = []; | |
| 809 | |
| 810 var failingBuildInfoJSON = JSON.parse(JSON.stringify(kExampleBuildInfoWithTa
skKillWarning)); | |
| 811 failingBuildInfoJSON.number = 21460; | |
| 812 | |
| 813 var requestedURLs = []; | |
| 814 simulator.json = function(url) | |
| 815 { | |
| 816 requestedURLs.push(url); | |
| 817 if (/\/json\/builders$/.exec(url)) | |
| 818 return Promise.resolve(builderStatusJSON); | |
| 819 else if (/WebKit%20Linux/.exec(url)) | |
| 820 return Promise.resolve(failingBuildInfoJSON); | |
| 821 else if (/WebKit%20ASAN/.exec(url)) | |
| 822 return Promise.resolve(failingBuildInfoJSON); | |
| 823 else { | |
| 824 ok(false, "Unexpected URL: " + url); | |
| 825 return Promise.reject("Unexpected URL: " + url); | |
| 826 } | |
| 827 }; | |
| 828 | |
| 829 simulator.runTest(function() { | |
| 830 builders.buildersFailingNonLayoutTests().then(function(builderNameList)
{ | |
| 831 deepEqual(builderNameList, {}); | |
| 832 }); | |
| 833 }).then(function() { | |
| 834 | |
| 835 deepEqual(requestedURLs, [ | |
| 836 "http://build.chromium.org/p/chromium.webkit/json/builders", | |
| 837 "http://build.chromium.org/p/chromium.webkit/json/builders/WebKit%20
Linux/builds/21460", | |
| 838 "http://build.chromium.org/p/chromium.webkit/json/builders/WebKit%20
ASAN/builds/11460", | |
| 839 ]); | |
| 840 start(); | |
| 841 }); | |
| 842 }); | |
| 843 | |
| 844 })(); | |
| OLD | NEW |