Home | History | Annotate | Download | only in scripts
      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 (at) 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\nChanged By: abarth (at) webkit.org\nComments: Fix types.  Sadly, main.js has no test coverage.  (I need to think\nabout how to test this part of the code.)\n\n* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/main.js:Properties: \n\n\n", "Files:\n LayoutTests/ChangeLog\n LayoutTests/platform/mac/fast/box-shadow/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/repaint/shadow-multiple-vertical-expected.png\nAt: Thu 04 Aug 2011 00:50:38\nChanged By: abarth (at) webkit.org\nComments: Update baselines after <http://trac.webkit.org/changeset/92340>.\n\n* platform/mac/fast/box-shadow/inset-box-shadows-expected.png:\n* platform/mac/fast/repaint/shadow-multiple-horizontal-expected.png:\n* platform/mac/fast/repaint/shadow-multiple-strict-horizontal-expected.png:\n* platform/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%20Linux/builds/11461/steps/update_scripts/logs/stdio"],
     98         ["stdio", "http://build.chromium.org/p/chromium.webkitbuilders/WebKit%20Linux/builds/11461/steps/update/logs/stdio"],
     99         ["stdio", "http://build.chromium.org/p/chromium.webkitbuilders/WebKit%20Linux/builds/11461/steps/compile/logs/stdio"],
    100         ["stdio", "http://build.chromium.org/p/chromium.webkitbuilders/WebKit%20Linux/builds/11461/steps/test_shell_tests/logs/stdio"],
    101         ["stdio", "http://build.chromium.org/p/chromium.webkitbuilders/WebKit%20Linux/builds/11461/steps/webkit_unit_tests/logs/stdio"],
    102         ["stdio", "http://build.chromium.org/p/chromium.webkitbuilders/WebKit%20Linux/builds/11461/steps/webkit_tests/logs/stdio"],
    103         ["stdio", "http://build.chromium.org/p/chromium.webkitbuilders/WebKit%20Linux/builds/11461/steps/archive_webkit_tests_results/logs/stdio"],
    104         ["stdio", "http://build.chromium.org/p/chromium.webkitbuilders/WebKit%20Linux/builds/11461/steps/webkit_gpu_tests/logs/stdio"],
    105         ["stdio", "http://build.chromium.org/p/chromium.webkitbuilders/WebKit%20Linux/builds/11461/steps/archive_webkit_tests_gpu_results/logs/stdio"]
    106     ],
    107     "number": 11461,
    108     "properties": [
    109         ["blamelist", ["abarth (at) 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* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/main.js:",
    131                 "files": ["Tools/BuildSlaveSupport/build.webkit.org-config/public_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 (at) webkit.org"
    139             }, {
    140                 "branch": "trunk",
    141                 "category": null,
    142                 "comments": "Update baselines after <http://trac.webkit.org/changeset/92340>.\n\n* platform/mac/fast/box-shadow/inset-box-shadows-expected.png:\n* platform/mac/fast/repaint/shadow-multiple-horizontal-expected.png:\n* platform/mac/fast/repaint/shadow-multiple-strict-horizontal-expected.png:\n* platform/mac/fast/repaint/shadow-multiple-strict-vertical-expected.png:\n* platform/mac/fast/repaint/shadow-multiple-vertical-expected.png:",
    143                 "files": ["LayoutTests/ChangeLog", "LayoutTests/platform/mac/fast/box-shadow/inset-box-shadows-expected.png", "LayoutTests/platform/mac/fast/repaint/shadow-multiple-horizontal-expected.png", "LayoutTests/platform/mac/fast/repaint/shadow-multiple-strict-horizontal-expected.png", "LayoutTests/platform/mac/fast/repaint/shadow-multiple-strict-vertical-expected.png", "LayoutTests/platform/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 (at) 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 need to think\nabout how to test this part of the code.)\n\n* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/main.js:",
    165             "files": ["Tools/BuildSlaveSupport/build.webkit.org-config/public_html/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 (at) webkit.org"
    173         }, {
    174             "branch": "trunk",
    175             "category": null,
    176             "comments": "Update baselines after <http://trac.webkit.org/changeset/92340>.\n\n* platform/mac/fast/box-shadow/inset-box-shadows-expected.png:\n* platform/mac/fast/repaint/shadow-multiple-horizontal-expected.png:\n* platform/mac/fast/repaint/shadow-multiple-strict-horizontal-expected.png:\n* platform/mac/fast/repaint/shadow-multiple-strict-vertical-expected.png:\n* platform/mac/fast/repaint/shadow-multiple-vertical-expected.png:",
    177             "files": ["LayoutTests/ChangeLog", "LayoutTests/platform/mac/fast/box-shadow/inset-box-shadows-expected.png", "LayoutTests/platform/mac/fast/repaint/shadow-multiple-horizontal-expected.png", "LayoutTests/platform/mac/fast/repaint/shadow-multiple-strict-horizontal-expected.png", "LayoutTests/platform/mac/fast/repaint/shadow-multiple-strict-vertical-expected.png", "LayoutTests/platform/mac/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 (at) 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/WebKit%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/WebKit%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/WebKit%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/WebKit%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/WebKit%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/WebKit%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/dashboards/flakiness_dashboard.html#master=ChromiumWebkit&tests=fast/box-shadow/box-shadow-clipped-slices.html\">", "<abbr title=\"fast/box-shadow/box-shadow-clipped-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/WebKit%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_test_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/WebKit%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/dashboards/flakiness_dashboard.html#master=ChromiumWebkit&tests=compositing/scaling/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/WebKit%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/layout_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 (at) chromium.org", "derat (at) chromium.org", "nirnimesh (at) chromium.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%20Win%20%28deps%29%28dbg%29%282%29/builds/7653/steps/svnkill/logs/stdio"],
    357         ["stdio", "http://build.chromium.org/p/chromium.webkitbuilders/WebKit%20Win%20%28deps%29%28dbg%29%282%29/builds/7653/steps/update_scripts/logs/stdio"],
    358         ["stdio", "http://build.chromium.org/p/chromium.webkitbuilders/WebKit%20Win%20%28deps%29%28dbg%29%282%29/builds/7653/steps/taskkill/logs/stdio"],
    359         ["stdio", "http://build.chromium.org/p/chromium.webkitbuilders/WebKit%20Win%20%28deps%29%28dbg%29%282%29/builds/7653/steps/update/logs/stdio"],
    360         ["stdio", "http://build.chromium.org/p/chromium.webkitbuilders/WebKit%20Win%20%28deps%29%28dbg%29%282%29/builds/7653/steps/extract_build/logs/stdio"],
    361         ["stdio", "http://build.chromium.org/p/chromium.webkitbuilders/WebKit%20Win%20%28deps%29%28dbg%29%282%29/builds/7653/steps/webkit_tests/logs/stdio"],
    362         ["stdio", "http://build.chromium.org/p/chromium.webkitbuilders/WebKit%20Win%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%20Win%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%20Win%20%28deps%29%28dbg%29%282%29/builds/7653/steps/archive_webkit_tests_gpu_results/logs/stdio"]
    365     ],
    366     "number": 7653,
    367     "properties": [
    368         ["blamelist", ["asvitkine (at) chromium.org", "derat (at) chromium.org", "nirnimesh (at) 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\nTBR=dennisjeffrey (at) 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 (at) 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=built 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 (at) 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.manifest.\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 (at) 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/WebKit%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/WebKit%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/WebKit%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/WebKit%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/WebKit%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/WebKit%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/WebKit%20Win%20%28deps%29%28dbg%29%282%29/builds/7653/steps/archive_webkit_tests_results/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_test_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/WebKit%20Win%20%28deps%29%28dbg%29%282%29/builds/7653/steps/webkit_gpu_tests/logs/stdio"]
    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 hung"],
    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/WebKit%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/layout_test_results/WebKit_Win__deps__dbg__2__-_GPU\r/0\rNone"
    617         }
    618     }],
    619     "text": ["failed", "webkit_tests", "archive_webkit_tests_results", "webkit_gpu_tests", "archive_webkit_tests_gpu_results"],
    620     "times": [1318364210.066524, 1318366408.0732119]
    621 };
    622 
    623 var kExampleBuildInfoWithTaskKillWarning = {
    624     "blame": ["asvitkine (at) chromium.org", "derat (at) chromium.org", "nirnimesh (at) chromium.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%20Win%20%28deps%29%28dbg%29%282%29/builds/7653/steps/svnkill/logs/stdio"],
    630     ],
    631     "number": 7653,
    632     "properties": [
    633         ["blamelist", ["asvitkine (at) chromium.org", "derat (at) chromium.org", "nirnimesh (at) 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\nTBR=dennisjeffrey (at) 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 (at) 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/XP%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_gpu_tests", "archive_webkit_tests_gpu_results"],
    690     "times": [1318364210.066524, 1318366408.0732119]
    691 };
    692 
    693 
    694 var kExamplePerfBuilderStatusJSON =  {
    695     "WebKit Linux": {
    696         "basedir": "WebKit_Linux",
    697         "cachedBuilds": [11459, 11460, 11461, 11462],
    698         "category": "6webkit linux latest",
    699         "currentBuilds": [11462],
    700         "pendingBuilds": 0,
    701         "slaves": ["vm124-m1"],
    702         "state": "building"
    703     },
    704     "Mac10.6 Perf": {
    705         "basedir": "Mac10_6_Perf",
    706         "cachedBuilds": [11459, 11460, 11461, 11462],
    707         "category": "6webkit linux latest",
    708         "currentBuilds": [11461, 11462],
    709         "pendingBuilds": 0,
    710         "slaves": ["vm124-m1"],
    711         "state": "building"
    712     },
    713 };
    714 
    715 var kExamplePerfBuildInfoJSON = {
    716     "blame": ["abarth (at) webkit.org"],
    717     "builderName": "Mac10.6 Perf",
    718     "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\nChanged By: abarth (at) webkit.org\nComments: Fix types.  Sadly, main.js has no test coverage.  (I need to think\nabout how to test this part of the code.)\n\n* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/main.js:Properties: \n\n\n", "Files:\n LayoutTests/ChangeLog\n LayoutTests/platform/mac/fast/box-shadow/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/repaint/shadow-multiple-vertical-expected.png\nAt: Thu 04 Aug 2011 00:50:38\nChanged By: abarth (at) webkit.org\nComments: Update baselines after <http://trac.webkit.org/changeset/92340>.\n\n* platform/mac/fast/box-shadow/inset-box-shadows-expected.png:\n* platform/mac/fast/repaint/shadow-multiple-horizontal-expected.png:\n* platform/mac/fast/repaint/shadow-multiple-strict-horizontal-expected.png:\n* platform/mac/fast/repaint/shadow-multiple-strict-vertical-expected.png:\n* platform/mac/fast/repaint/shadow-multiple-vertical-expected.png:Properties: \n\n\n"],
    719     "currentStep": null,
    720     "eta": null,
    721     "logs": [
    722         ["stdio", "http://build.chromium.org/p/chromium.webkitbuilders/WebKit%20Linux/builds/11461/steps/update_scripts/logs/stdio"],
    723         ["stdio", "http://build.chromium.org/p/chromium.webkitbuilders/WebKit%20Linux/builds/11461/steps/update/logs/stdio"],
    724         ["stdio", "http://build.chromium.org/p/chromium.webkitbuilders/WebKit%20Linux/builds/11461/steps/compile/logs/stdio"],
    725         ["stdio", "http://build.chromium.org/p/chromium.webkitbuilders/WebKit%20Linux/builds/11461/steps/test_shell_tests/logs/stdio"],
    726         ["stdio", "http://build.chromium.org/p/chromium.webkitbuilders/WebKit%20Linux/builds/11461/steps/webkit_unit_tests/logs/stdio"],
    727         ["stdio", "http://build.chromium.org/p/chromium.webkitbuilders/WebKit%20Linux/builds/11461/steps/webkit_tests/logs/stdio"],
    728         ["stdio", "http://build.chromium.org/p/chromium.webkitbuilders/WebKit%20Linux/builds/11461/steps/archive_webkit_tests_results/logs/stdio"],
    729         ["stdio", "http://build.chromium.org/p/chromium.webkitbuilders/WebKit%20Linux/builds/11461/steps/webkit_gpu_tests/logs/stdio"],
    730         ["stdio", "http://build.chromium.org/p/chromium.webkitbuilders/WebKit%20Linux/builds/11461/steps/archive_webkit_tests_gpu_results/logs/stdio"]
    731     ],
    732     "number": 11461,
    733     "properties": [
    734         ["blamelist", ["abarth (at) webkit.org"], "Build"],
    735         ["branch", "trunk", "Build"],
    736         ["buildername", "WebKit Linux", "Build"],
    737         ["buildnumber", 11461, "Build"],
    738         ["got_revision", "95395", "Source"],
    739         ["got_webkit_revision", "92358", "Source"],
    740         ["gtest_filter", null, "Factory"],
    741         ["mastername", "chromium.webkit", "master.cfg"],
    742         ["revision", "92358", "Build"],
    743         ["scheduler", "s6_webkit_rel", "Scheduler"],
    744         ["slavename", "vm124-m1", "BuildSlave"]
    745     ],
    746     "reason": "",
    747     "requests": [{
    748         "builderName": "WebKit Linux",
    749         "builds": [11461],
    750         "source": {
    751             "branch": "trunk",
    752             "changes": [{
    753                 "branch": "trunk",
    754                 "category": null,
    755                 "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* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/main.js:",
    756                 "files": ["Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/main.js", "Tools/ChangeLog"],
    757                 "number": 43707,
    758                 "properties": [],
    759                 "repository": "",
    760                 "revision": "92357",
    761                 "revlink": "http://trac.webkit.org/changeset/92357",
    762                 "when": 1312444238.855081,
    763                 "who": "abarth (at) webkit.org"
    764             }, {
    765                 "branch": "trunk",
    766                 "category": null,
    767                 "comments": "Update baselines after <http://trac.webkit.org/changeset/92340>.\n\n* platform/mac/fast/box-shadow/inset-box-shadows-expected.png:\n* platform/mac/fast/repaint/shadow-multiple-horizontal-expected.png:\n* platform/mac/fast/repaint/shadow-multiple-strict-horizontal-expected.png:\n* platform/mac/fast/repaint/shadow-multiple-strict-vertical-expected.png:\n* platform/mac/fast/repaint/shadow-multiple-vertical-expected.png:",
    768                 "files": ["LayoutTests/ChangeLog", "LayoutTests/platform/mac/fast/box-shadow/inset-box-shadows-expected.png", "LayoutTests/platform/mac/fast/repaint/shadow-multiple-horizontal-expected.png", "LayoutTests/platform/mac/fast/repaint/shadow-multiple-strict-horizontal-expected.png", "LayoutTests/platform/mac/fast/repaint/shadow-multiple-strict-vertical-expected.png", "LayoutTests/platform/mac/fast/repaint/shadow-multiple-vertical-expected.png"],
    769                 "number": 43708,
    770                 "properties": [],
    771                 "repository": "",
    772                 "revision": "92358",
    773                 "revlink": "http://trac.webkit.org/changeset/92358",
    774                 "when": 1312444238.855538,
    775                 "who": "abarth (at) webkit.org"
    776             }],
    777             "hasPatch": false,
    778             "revision": "92358"
    779         },
    780         "submittedAt": 1312444298.989818
    781     }],
    782     "results": 2,
    783     "slave": "vm124-m1",
    784     "sourceStamp": {
    785         "branch": "trunk",
    786         "changes": [{
    787             "branch": "trunk",
    788             "category": null,
    789             "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* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/main.js:",
    790             "files": ["Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/main.js", "Tools/ChangeLog"],
    791             "number": 43707,
    792             "properties": [],
    793             "repository": "",
    794             "revision": "92357",
    795             "revlink": "http://trac.webkit.org/changeset/92357",
    796             "when": 1312444238.855081,
    797             "who": "abarth (at) webkit.org"
    798         }, {
    799             "branch": "trunk",
    800             "category": null,
    801             "comments": "Update baselines after <http://trac.webkit.org/changeset/92340>.\n\n* platform/mac/fast/box-shadow/inset-box-shadows-expected.png:\n* platform/mac/fast/repaint/shadow-multiple-horizontal-expected.png:\n* platform/mac/fast/repaint/shadow-multiple-strict-horizontal-expected.png:\n* platform/mac/fast/repaint/shadow-multiple-strict-vertical-expected.png:\n* platform/mac/fast/repaint/shadow-multiple-vertical-expected.png:",
    802             "files": ["LayoutTests/ChangeLog", "LayoutTests/platform/mac/fast/box-shadow/inset-box-shadows-expected.png", "LayoutTests/platform/mac/fast/repaint/shadow-multiple-horizontal-expected.png", "LayoutTests/platform/mac/fast/repaint/shadow-multiple-strict-horizontal-expected.png", "LayoutTests/platform/mac/fast/repaint/shadow-multiple-strict-vertical-expected.png", "LayoutTests/platform/mac/fast/repaint/shadow-multiple-vertical-expected.png"],
    803             "number": 43708,
    804             "properties": [],
    805             "repository": "",
    806             "revision": "92358",
    807             "revlink": "http://trac.webkit.org/changeset/92358",
    808             "when": 1312444238.855538,
    809             "who": "abarth (at) webkit.org"
    810         }],
    811         "hasPatch": false,
    812         "revision": "92358"
    813     },
    814     "steps": [{
    815         "eta": null,
    816         "expectations": [
    817             ["output", 2297, 2300.6571014083784]
    818         ],
    819         "isFinished": true,
    820         "isStarted": true,
    821         "logs": [
    822             ["stdio", "http://build.chromium.org/p/chromium.webkitbuilders/WebKit%20Linux/builds/11461/steps/update_scripts/logs/stdio"]
    823         ],
    824         "name": "update_scripts",
    825         "results": [0, []],
    826         "statistics": {},
    827         "step_number": 0,
    828         "text": ["update_scripts"],
    829         "times": [1312444299.102834, 1312444309.270324],
    830         "urls": {}
    831     }, {
    832         "eta": null,
    833         "expectations": [
    834             ["output", 20453, 17580.5002389645]
    835         ],
    836         "isFinished": true,
    837         "isStarted": true,
    838         "logs": [
    839             ["stdio", "http://build.chromium.org/p/chromium.webkitbuilders/WebKit%20Linux/builds/11461/steps/update/logs/stdio"]
    840         ],
    841         "name": "update",
    842         "results": [0, []],
    843         "statistics": {},
    844         "step_number": 1,
    845         "text": ["update", "r95395", "webkit r92358"],
    846         "times": [1312444309.270763, 1312444398.468139],
    847         "urls": {}
    848     }, {
    849         "eta": null,
    850         "expectations": [
    851             ["output", 17316, 2652.4850499589456]
    852         ],
    853         "isFinished": true,
    854         "isStarted": true,
    855         "logs": [
    856             ["stdio", "http://build.chromium.org/p/chromium.webkitbuilders/WebKit%20Linux/builds/11461/steps/compile/logs/stdio"]
    857         ],
    858         "name": "compile",
    859         "results": [0, []],
    860         "statistics": {},
    861         "step_number": 2,
    862         "text": ["compile"],
    863         "times": [1312444398.46855, 1312444441.68838],
    864         "urls": {}
    865     }, {
    866         "eta": null,
    867         "expectations": [
    868             ["output", 91980, 92002.12628325251]
    869         ],
    870         "isFinished": true,
    871         "isStarted": true,
    872         "logs": [
    873             ["stdio", "http://build.chromium.org/p/chromium.webkitbuilders/WebKit%20Linux/builds/11461/steps/test_shell_tests/logs/stdio"]
    874         ],
    875         "name": "test_shell_tests",
    876         "results": [0, []],
    877         "statistics": {},
    878         "step_number": 3,
    879         "text": ["test_shell_tests", "1 disabled", "2 flaky"],
    880         "times": [1312444441.688756, 1312444451.74908],
    881         "urls": {}
    882     }, {
    883         "eta": null,
    884         "expectations": [
    885             ["output", 20772, 20772.638503443086]
    886         ],
    887         "isFinished": true,
    888         "isStarted": true,
    889         "logs": [
    890             ["stdio", "http://build.chromium.org/p/chromium.webkitbuilders/WebKit%20Linux/builds/11461/steps/webkit_unit_tests/logs/stdio"]
    891         ],
    892         "name": "webkit_unit_tests",
    893         "results": [0, []],
    894         "statistics": {},
    895         "step_number": 4,
    896         "text": ["webkit_unit_tests", "1 disabled"],
    897         "times": [1312444451.749574, 1312444452.306143],
    898         "urls": {}
    899     }, {
    900         "eta": null,
    901         "expectations": [
    902             ["output", 2477406, 2498915.6146275494]
    903         ],
    904         "isFinished": true,
    905         "isStarted": true,
    906         "logs": [
    907             ["stdio", "http://build.chromium.org/p/chromium.webkitbuilders/WebKit%20Linux/builds/11461/steps/webkit_tests/logs/stdio"]
    908         ],
    909         "name": "webkit_tests",
    910         "results": [2, ["webkit_tests"]],
    911         "statistics": {},
    912         "step_number": 5,
    913         "text": ["webkit_tests", "2014 fixable", "(370 skipped)", "failed 1", "<div class=\"BuildResultInfo\">", "<a href=\"http://test-results.appspot.com/dashboards/flakiness_dashboard.html#master=ChromiumWebkit&tests=fast/box-shadow/box-shadow-clipped-slices.html\">", "<abbr title=\"fast/box-shadow/box-shadow-clipped-slices.html\">box-shadow-clipped-slices.html</abbr>", "</a>", "</div>"],
    914         "times": [1312444452.306695, 1312444768.888266],
    915         "urls": {}
    916     }, {
    917         "eta": null,
    918         "expectations": [
    919             ["output", 2668845, 2672746.372363254]
    920         ],
    921         "isFinished": true,
    922         "isStarted": true,
    923         "logs": [
    924             ["stdio", "http://build.chromium.org/p/chromium.webkitbuilders/WebKit%20Linux/builds/11461/steps/archive_webkit_tests_results/logs/stdio"]
    925         ],
    926         "name": "dummy_perf_test_1",
    927         "results": [0, []],
    928         "statistics": {},
    929         "step_number": 6,
    930         "text": ["archived webkit_tests results"],
    931         "times": [1312444768.888746, 1312444781.444399],
    932         "urls": {
    933             "results": "http://dummyurl1"
    934         }
    935     }, {
    936         "eta": null,
    937         "expectations": [
    938             ["output", 210958, 208138.4965182993]
    939         ],
    940         "isFinished": true,
    941         "isStarted": true,
    942         "logs": [
    943             ["stdio", "http://build.chromium.org/p/chromium.webkitbuilders/WebKit%20Linux/builds/11461/steps/webkit_gpu_tests/logs/stdio"]
    944         ],
    945         "name": "webkit_gpu_tests",
    946         "results": [2, ["webkit_gpu_tests"]],
    947         "statistics": {},
    948         "step_number": 7,
    949         "text": ["webkit_gpu_tests", "148 fixable", "(24 skipped)", "failed 1", "<div class=\"BuildResultInfo\">", "<a href=\"http://test-results.appspot.com/dashboards/flakiness_dashboard.html#master=ChromiumWebkit&tests=compositing/scaling/tiled-layer-recursion.html\">", "<abbr title=\"compositing/scaling/tiled-layer-recursion.html\">tiled-layer-recursion.html</abbr>", "</a>", "</div>"],
    950         "times": [1312444781.444903, 1312444966.856074],
    951         "urls": {}
    952     }, {
    953         "eta": null,
    954         "expectations": [
    955             ["output", 148825, 147822.1074277072]
    956         ],
    957         "isFinished": true,
    958         "isStarted": true,
    959         "logs": [
    960             ["stdio", "http://build.chromium.org/p/chromium.webkitbuilders/WebKit%20Linux/builds/11461/steps/archive_webkit_tests_gpu_results/logs/stdio"]
    961         ],
    962         "name": "dummy_perf_test_2",
    963         "results": [0, []],
    964         "statistics": {},
    965         "step_number": 8,
    966         "text": ["archived webkit_tests gpu results"],
    967         "times": [1312444966.856575, 1312444970.458655],
    968         "urls": {
    969             "results": "http://dummyurl2"
    970         }
    971     }],
    972     "text": ["failed", "webkit_tests", "webkit_gpu_tests"],
    973     "times": [1312444299.10216, 1312444970.459138]
    974 };
    975 
    976 test("buildersFailing", 3, function() {
    977     var simulator = new NetworkSimulator();
    978     builders.clearBuildInfoCache();
    979 
    980     var failingBuildInfoJSON = JSON.parse(JSON.stringify(kExampleBuildInfoJSON));
    981     failingBuildInfoJSON.number = 11460;
    982     failingBuildInfoJSON.steps[2].results[0] = 1;
    983 
    984     var requestedURLs = [];
    985     simulator.get = function(url, callback)
    986     {
    987         requestedURLs.push(url);
    988         simulator.scheduleCallback(function() {
    989             if (/\/json\/builders$/.exec(url))
    990                 callback(kExampleBuilderStatusJSON);
    991             else if (/WebKit%20Linux/.exec(url))
    992                 callback(kExampleBuildInfoJSON);
    993             else if (/WebKit%20Mac10\.6/.exec(url))
    994                 callback(failingBuildInfoJSON);
    995             else if (/WebKit%20ASAN/.exec(url))
    996                 callback(failingBuildInfoJSON);
    997             else {
    998                 ok(false, "Unexpected URL: " + url);
    999                 callback();
   1000             }
   1001         });
   1002     };
   1003 
   1004     simulator.runTest(function() {
   1005         builders.buildersFailingNonLayoutTests(function(builderNameList) {
   1006             deepEqual(builderNameList, {
   1007                 "WebKit Linux": [
   1008                     "webkit_gpu_tests"
   1009                 ],
   1010                 "WebKit Mac10.6": [
   1011                     "webkit_gpu_tests"
   1012                 ]
   1013             });
   1014         });
   1015     });
   1016 
   1017     deepEqual(requestedURLs, [
   1018       "http://build.chromium.org/p/chromium.webkit/json/builders",
   1019       "http://build.chromium.org/p/chromium.webkit/json/builders/WebKit%20Linux/builds/11461",
   1020       "http://build.chromium.org/p/chromium.webkit/json/builders/WebKit%20Mac10.6/builds/11460",
   1021     ]);
   1022 });
   1023 
   1024 test("buildersFailing (run-webkit-tests crash)", 3, function() {
   1025     var simulator = new NetworkSimulator();
   1026     builders.clearBuildInfoCache();
   1027 
   1028     var builderStatusJSON = JSON.parse(JSON.stringify(kExampleBuilderStatusJSON));
   1029     delete builderStatusJSON['WebKit Mac10.6'];
   1030     builderStatusJSON['WebKit Linux'].cachedBuilds = [21460];
   1031     builderStatusJSON['WebKit Linux'].currentBuilds = [];
   1032 
   1033     var failingBuildInfoJSON = JSON.parse(JSON.stringify(kExampleBuildInfoWithWebKitTestCrashJSON));
   1034     failingBuildInfoJSON.number = 21460;
   1035 
   1036     var requestedURLs = [];
   1037     simulator.get = function(url, callback)
   1038     {
   1039         requestedURLs.push(url);
   1040         simulator.scheduleCallback(function() {
   1041             if (/\/json\/builders$/.exec(url))
   1042                 callback(builderStatusJSON);
   1043             else if (/WebKit%20Linux/.exec(url))
   1044                 callback(failingBuildInfoJSON);
   1045             else {
   1046                 ok(false, "Unexpected URL: " + url);
   1047                 callback();
   1048             }
   1049         });
   1050     };
   1051 
   1052     simulator.runTest(function() {
   1053         builders.buildersFailingNonLayoutTests(function(builderNameList) {
   1054             deepEqual(builderNameList, {
   1055                 "WebKit Linux": [
   1056                     "webkit_tests",
   1057                     "archive_webkit_tests_results",
   1058                     "webkit_gpu_tests",
   1059                     "archive_webkit_tests_gpu_results"
   1060                 ]
   1061             });
   1062         });
   1063     });
   1064 
   1065     deepEqual(requestedURLs, [
   1066       "http://build.chromium.org/p/chromium.webkit/json/builders",
   1067       "http://build.chromium.org/p/chromium.webkit/json/builders/WebKit%20Linux/builds/21460",
   1068     ]);
   1069 });
   1070 
   1071 test("buildersFailing (taskkill warning)", 3, function() {
   1072     var simulator = new NetworkSimulator();
   1073     builders.clearBuildInfoCache();
   1074 
   1075     var builderStatusJSON = JSON.parse(JSON.stringify(kExampleBuilderStatusJSON));
   1076     delete builderStatusJSON['WebKit Mac10.6'];
   1077     builderStatusJSON['WebKit Linux'].cachedBuilds = [21460];
   1078     builderStatusJSON['WebKit Linux'].currentBuilds = [];
   1079 
   1080     var failingBuildInfoJSON = JSON.parse(JSON.stringify(kExampleBuildInfoWithTaskKillWarning));
   1081     failingBuildInfoJSON.number = 21460;
   1082 
   1083     var requestedURLs = [];
   1084     simulator.get = function(url, callback)
   1085     {
   1086         requestedURLs.push(url);
   1087         simulator.scheduleCallback(function() {
   1088             if (/\/json\/builders$/.exec(url))
   1089                 callback(builderStatusJSON);
   1090             else if (/WebKit%20Linux/.exec(url))
   1091                 callback(failingBuildInfoJSON);
   1092             else {
   1093                 ok(false, "Unexpected URL: " + url);
   1094                 callback();
   1095             }
   1096         });
   1097     };
   1098 
   1099     simulator.runTest(function() {
   1100         builders.buildersFailingNonLayoutTests(function(builderNameList) {
   1101             deepEqual(builderNameList, {});
   1102         });
   1103     });
   1104 
   1105     deepEqual(requestedURLs, [
   1106       "http://build.chromium.org/p/chromium.webkit/json/builders",
   1107       "http://build.chromium.org/p/chromium.webkit/json/builders/WebKit%20Linux/builds/21460",
   1108     ]);
   1109 });
   1110 
   1111 test("builders.perfBuilders", 2, function() {
   1112     var simulator = new NetworkSimulator();
   1113     builders.clearBuildInfoCache();
   1114 
   1115     var builderStatusJSON = JSON.parse(JSON.stringify(kExamplePerfBuilderStatusJSON));
   1116     var failingBuildInfoJSON = JSON.parse(JSON.stringify(kExamplePerfBuildInfoJSON));
   1117 
   1118     var requestedURLs = [];
   1119     simulator.get = function(url, callback)
   1120     {
   1121         requestedURLs.push(url);
   1122         simulator.scheduleCallback(function() {
   1123             if (/\/json\/builders$/.exec(url))
   1124                 callback(builderStatusJSON);
   1125             else if (/Mac10.6%20Perf/.exec(url))
   1126                 callback(failingBuildInfoJSON);
   1127             else
   1128                 callback();
   1129         });
   1130     };
   1131 
   1132     simulator.runTest(function() {
   1133         builders.perfBuilders(function(builderNameList) {
   1134             deepEqual(builderNameList, {
   1135                 "dummy_perf_test_1": [
   1136                     {
   1137                         "builder": "Mac10.6 Perf",
   1138                         "url": "http://dummyurl1"
   1139                     }
   1140                 ],
   1141                 "dummy_perf_test_2": [
   1142                     {
   1143                         "builder": "Mac10.6 Perf",
   1144                         "url": "http://dummyurl2"
   1145                     }
   1146                 ]
   1147             });
   1148         });
   1149     });
   1150 });
   1151 
   1152 })();
   1153