Changeset 94485 in webkit


Ignore:
Timestamp:
Sep 3, 2011 1:25:33 AM (13 years ago)
Author:
abarth@webkit.org
Message:

garden-o-matic shows "ghost" failures that are already fixed
https://bugs.webkit.org/show_bug.cgi?id=67535

Reviewed by Eric Seidel.

About 10% of writes fail to stick on test-results.appspot.com. This
patch causes us to fetch the full_results.json blob directly from
build.chromium.org rather than relying upon AppEngine.

Unforuntately, we still need to get historical information from
AppEngine. That will take several patches to fix becuase I need to
change the bots to write the full_results.json file to the
build-specific directory in addition to the zip file.

  • BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/base.js:
  • BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/model.js:
  • BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/results.js:
Location:
trunk/Tools
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/base.js

    r94314 r94485  
    125125};
    126126
     127base.parseJSONP = function(jsonp)
     128{
     129    var startIndex = jsonp.indexOf('(') + 1;
     130    var endIndex = jsonp.lastIndexOf(')');
     131    return JSON.parse(jsonp.substr(startIndex, endIndex - startIndex));
     132}
     133
    127134base.RequestTracker = function(requestsInFlight, callback, args)
    128135{
  • trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/model.js

    r94314 r94485  
    116116}
    117117
    118 /*
    119     Assumes SVN-style, consecutive revision scheme.
    120 */
    121118model.commitDataListForRevisionRange = function(fromRevision, toRevision)
    122119{
  • trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/results.js

    r94314 r94485  
    3131var kTestResultsQuery = kTestResultsServer + 'testfile?'
    3232var kTestType = 'layout-tests';
    33 var kResultsName = 'full_results.json';
    3433var kMasterName = 'ChromiumWebkit';
    3534
    3635var kLayoutTestResultsServer = 'http://build.chromium.org/f/chromium/layout_test_results/';
    3736var kLayoutTestResultsPath = '/results/layout-test-results/';
     37var kResultsName = 'full_results.json';
    3838
    3939var PASS = 'PASS';
     
    176176};
    177177
    178 function resultsSummaryURL(builderName, testName)
    179 {
    180     return kTestResultsQuery + $.param(resultsParameters(builderName, testName));
     178function resultsSummaryURL(builderName, resultsName)
     179{
     180    return resultsDirectoryURL(builderName) + resultsName;
    181181}
    182182
     
    537537results.fetchResultsForBuilder = function(builderName, callback)
    538538{
    539     net.jsonp(resultsSummaryURL(builderName, kResultsName), function(resultsTree) {
    540         callback(resultsTree);
     539    net.get(resultsSummaryURL(builderName, kResultsName), function(jsonp) {
     540        callback(base.parseJSONP(jsonp));
    541541    });
    542542};
  • trunk/Tools/ChangeLog

    r94483 r94485  
     12011-09-03  Adam Barth  <abarth@webkit.org>
     2
     3        garden-o-matic shows "ghost" failures that are already fixed
     4        https://bugs.webkit.org/show_bug.cgi?id=67535
     5
     6        Reviewed by Eric Seidel.
     7
     8        About 10% of writes fail to stick on test-results.appspot.com.  This
     9        patch causes us to fetch the full_results.json blob directly from
     10        build.chromium.org rather than relying upon AppEngine.
     11
     12        Unforuntately, we still need to get historical information from
     13        AppEngine.  That will take several patches to fix becuase I need to
     14        change the bots to write the full_results.json file to the
     15        build-specific directory in addition to the zip file.
     16
     17        * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/base.js:
     18        * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/model.js:
     19        * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/results.js:
     20
    1212011-09-03  Sheriff Bot  <webkit.review.bot@gmail.com>
    222
Note: See TracChangeset for help on using the changeset viewer.