Changeset 187605 in webkit


Ignore:
Timestamp:
Jul 30, 2015, 1:57:36 PM (10 years ago)
Author:
ap@apple.com
Message:

Replace Google App Engine with AppScale
https://bugs.webkit.org/show_bug.cgi?id=147178

Patch by Aakash Jain <aakash_jain@apple.com> on 2015-07-30
Reviewed by Daniel Bates.

Tools:

  • BuildSlaveSupport/build.webkit.org-config/master.cfg:

(RunWebKitTests):

  • BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/garden-o-matic.html:
  • BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/builders_unittests.js:
  • BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui.js:
  • BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications_unittests.js:
  • BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/results.js:

(.):

  • BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BubbleQueueServer.js:

(BubbleQueueServer):

  • BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/WebKitTestHistory.js:

(TestHistory):

  • BuildSlaveSupport/build.webkit.org-config/templates/root.html:
  • QueueStatusServer/app.yaml: We must explicitly define threadsafe property when using the Python 2.7 runtime. We set threadsafe to be false because the status server code was written to be run in AppEngine's CGI environment and AppEngine's CGI programming model handles requests serially per section "Concurrent Requests and WSGI" of <https://cloud.google.com/appengine/docs/python/python25/migrate27>.
  • TestResultServer/app.yaml: Ditto
  • Scripts/webkitpy/common/config/urls.py:
  • TestResultServer/main.py:
  • TestResultServer/static-dashboards/dashboard_base.js:
  • TestResultServer/static-dashboards/loader.js:

Websites/bugs.webkit.org:

  • code-review.js:
  • template/en/default/attachment/edit.html.tmpl:
  • template/en/default/attachment/list.html.tmpl:
  • template/en/default/attachment/reviewform.html.tmpl:

LayoutTests:

  • fast/harness/results.html:
Location:
trunk
Files:
23 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r187596 r187605  
     12015-07-30  Aakash Jain  <aakash_jain@apple.com>
     2
     3        Replace Google App Engine with AppScale
     4        https://bugs.webkit.org/show_bug.cgi?id=147178
     5
     6        Reviewed by Daniel Bates.
     7
     8        * fast/harness/results.html:
     9
    1102015-07-30  Joonghun Park  <jh718.park@samsung.com>
    211
  • trunk/LayoutTests/fast/harness/results.html

    r181579 r187605  
    634634    }
    635635
    636     return 'http://webkit-test-results.appspot.com/dashboards/flakiness_dashboard.html#showAllRuns=true&tests=' + encodeURIComponent(testList);
     636    return 'http://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&tests=' + encodeURIComponent(testList);
    637637}
    638638
  • trunk/Tools/BuildSlaveSupport/build.webkit.org-config/master.cfg

    r183390 r187605  
    324324               "--build-number", WithProperties("%(buildnumber)s"),
    325325               "--master-name", "webkit.org",
    326                "--test-results-server", "webkit-test-results.appspot.com",
     326               "--test-results-server", "webkit-test-results.webkit.org",
    327327               "--exit-after-n-crashes-or-timeouts", "50",
    328328               "--exit-after-n-failures", "500",
  • trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/garden-o-matic.html

    r173924 r187605  
    3535                                         img-src 'self' https://ajax.googleapis.com https://build.webkit.org;
    3636                                         media-src 'self' https://build.webkit.org;
    37                                          frame-src 'self' https://build.webkit.org https://webkit-test-results.appspot.com;
     37                                         frame-src 'self' https://build.webkit.org https://webkit-test-results.webkit.org;
    3838                                         connect-src 'self' https://trac.webkit.org https://build.webkit.org">
    3939<title>Garden-O-Matic</title>
  • trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/builders_unittests.js

    r173877 r187605  
    285285        "statistics": {},
    286286        "step_number": 5,
    287         "text": ["webkit_tests", "2014 fixable", "(370 skipped)", "failed 1", "<div class=\"BuildResultInfo\">", "<a href=\"http://webkit-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>"],
     287        "text": ["webkit_tests", "2014 fixable", "(370 skipped)", "failed 1", "<div class=\"BuildResultInfo\">", "<a href=\"http://webkit-test-results.webkit.org/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>"],
    288288        "times": [1312444452.306695, 1312444768.888266],
    289289        "urls": {}
     
    321321        "statistics": {},
    322322        "step_number": 7,
    323         "text": ["webkit_gpu_tests", "148 fixable", "(24 skipped)", "failed 1", "<div class=\"BuildResultInfo\">", "<a href=\"http://webkit-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>"],
     323        "text": ["webkit_gpu_tests", "148 fixable", "(24 skipped)", "failed 1", "<div class=\"BuildResultInfo\">", "<a href=\"http://webkit-test-results.webkit.org/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>"],
    324324        "times": [1312444781.444903, 1312444966.856074],
    325325        "urls": {}
     
    911911        "statistics": {},
    912912        "step_number": 5,
    913         "text": ["webkit_tests", "2014 fixable", "(370 skipped)", "failed 1", "<div class=\"BuildResultInfo\">", "<a href=\"http://webkit-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>"],
     913        "text": ["webkit_tests", "2014 fixable", "(370 skipped)", "failed 1", "<div class=\"BuildResultInfo\">", "<a href=\"http://webkit-test-results.webkit.org/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>"],
    914914        "times": [1312444452.306695, 1312444768.888266],
    915915        "urls": {}
     
    947947        "statistics": {},
    948948        "step_number": 7,
    949         "text": ["webkit_gpu_tests", "148 fixable", "(24 skipped)", "failed 1", "<div class=\"BuildResultInfo\">", "<a href=\"http://webkit-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>"],
     949        "text": ["webkit_gpu_tests", "148 fixable", "(24 skipped)", "failed 1", "<div class=\"BuildResultInfo\">", "<a href=\"http://webkit-test-results.webkit.org/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>"],
    950950        "times": [1312444781.444903, 1312444966.856074],
    951951        "urls": {}
  • trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui.js

    r173924 r187605  
    4848{
    4949    var testsParameter = opt_testNameList ? opt_testNameList.join(',') : '';
    50     return 'https://webkit-test-results.appspot.com/dashboards/flakiness_dashboard.html#tests=' + encodeURIComponent(testsParameter);
     50    return 'https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#tests=' + encodeURIComponent(testsParameter);
    5151}
    5252
  • trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications_unittests.js

    r148132 r187605  
    8080    var failingTest = new ui.notifications.FailingTestGroup('test', ['test.html']);
    8181    equal(failingTest.tagName, 'LI');
    82     equal(failingTest.innerHTML, '<a href="http://webkit-test-results.appspot.com/dashboards/flakiness_dashboard.html#tests=test.html" target="_blank">test</a>');
     82    equal(failingTest.innerHTML, '<a href="http://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#tests=test.html" target="_blank">test</a>');
    8383});
    8484
     
    131131            '<div class="problem">' +
    132132                '<ul class="effects">' +
    133                     '<li><a href="http://webkit-test-results.appspot.com/dashboards/flakiness_dashboard.html#tests=test" target="_blank">test</a></li>' +
     133                    '<li><a href="http://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#tests=test" target="_blank">test</a></li>' +
    134134                '</ul>' +
    135135                '<ul class="actions">' +
     
    154154            '<div class="problem">' +
    155155                '<ul class="effects">' +
    156                     '<li><a href="http://webkit-test-results.appspot.com/dashboards/flakiness_dashboard.html#tests=test" target="_blank">test</a></li>' +
     156                    '<li><a href="http://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#tests=test" target="_blank">test</a></li>' +
    157157                '</ul>' +
    158158                '<ul class="actions">' +
     
    179179            '<div class="problem">' +
    180180                '<ul class="effects">' +
    181                     '<li><a href="http://webkit-test-results.appspot.com/dashboards/flakiness_dashboard.html#tests=test" target="_blank">test</a></li>' +
     181                    '<li><a href="http://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#tests=test" target="_blank">test</a></li>' +
    182182                '</ul>' +
    183183                '<ul class="actions">' +
     
    219219            '<div class="problem">' +
    220220                '<ul class="effects">' +
    221                     '<li><a href="http://webkit-test-results.appspot.com/dashboards/flakiness_dashboard.html#tests=foo" target="_blank">foo</a></li>' +
    222                     '<li><a href="http://webkit-test-results.appspot.com/dashboards/flakiness_dashboard.html#tests=test" target="_blank">test</a></li>' +
     221                    '<li><a href="http://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#tests=foo" target="_blank">foo</a></li>' +
     222                    '<li><a href="http://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#tests=test" target="_blank">test</a></li>' +
    223223                '</ul>' +
    224224                '<ul class="actions">' +
     
    264264            '<div class="problem">' +
    265265                '<ul class="effects">' +
    266                     '<li><a href="http://webkit-test-results.appspot.com/dashboards/flakiness_dashboard.html#tests=foo" target="_blank">foo</a></li>' +
    267                     '<li><a href="http://webkit-test-results.appspot.com/dashboards/flakiness_dashboard.html#tests=test" target="_blank">test</a></li>' +
     266                    '<li><a href="http://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#tests=foo" target="_blank">foo</a></li>' +
     267                    '<li><a href="http://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#tests=test" target="_blank">test</a></li>' +
    268268                '</ul>' +
    269269                '<ul class="actions">' +
     
    305305            '<div class="problem">' +
    306306                '<ul class="effects">' +
    307                     '<li><a href="http://webkit-test-results.appspot.com/dashboards/flakiness_dashboard.html#tests=path%2Fto%2Ftest1.html%2Cpath%2Fto%2Ftest2.html%2Cpath%2Fto%2Ftest3.html%2Cpath%2Fto%2Ftest4.html" target="_blank">path/to (4 tests)</a></li>' +
    308                     '<li><a href="http://webkit-test-results.appspot.com/dashboards/flakiness_dashboard.html#tests=path%2Fanother%2Ftest.html" target="_blank">path/another/test.html</a></li>' +
     307                    '<li><a href="http://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#tests=path%2Fto%2Ftest1.html%2Cpath%2Fto%2Ftest2.html%2Cpath%2Fto%2Ftest3.html%2Cpath%2Fto%2Ftest4.html" target="_blank">path/to (4 tests)</a></li>' +
     308                    '<li><a href="http://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#tests=path%2Fanother%2Ftest.html" target="_blank">path/another/test.html</a></li>' +
    309309                '</ul>' +
    310310                '<ul class="actions">' +
  • trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/results.js

    r173924 r187605  
    208208        // FIXME: Is this safe? In practice, there's no meaningful harm that can come from
    209209        // a malicious page sending us heightChanged commands, so it doesn't really matter.
    210         if (event.origin !== 'null' && event.origin != 'https://webkit-test-results.appspot.com') {
     210        if (event.origin !== 'null' && event.origin != 'https://webkit-test-results.webkit.org') {
    211211            console.log('Invalid origin: ' + event.origin);
    212212            return;
  • trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BubbleQueueServer.js

    r179144 r187605  
    3939    BaseObject.call(this);
    4040
    41     this.baseURL = "https://webkit-queues.appspot.com/";
     41    this.baseURL = "https://webkit-queues.webkit.org/";
    4242    this.queues = {};
    4343
  • trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/WebKitTestHistory.js

    r173924 r187605  
    2626TestHistory = function()
    2727{
    28     this._baseURL = "https://webkit-test-results.appspot.com/dashboards/flakiness_dashboard.html";
     28    this._baseURL = "https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html";
    2929};
    3030
  • trunk/Tools/BuildSlaveSupport/build.webkit.org-config/templates/root.html

    r185745 r187605  
    3838<h2>Tests and Performance</h2>
    3939<ul>
    40   <li><a href="https://webkit-test-results.appspot.com/dashboards/flakiness_dashboard.html">Flakiness dashboard</a> (External site)</li>
     40  <li><a href="https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html">Flakiness dashboard</a> (External site)</li>
    4141  <li><a href="LeaksViewer">Leaks Viewer</a></li>
    4242  <li><a href="TestFailures">Test Failures</a></li>
     
    4646<h2>Status</h2>
    4747<ul>
    48     <li><a href="https://webkit-queues.appspot.com/">Early Warning System and Commit Queue Status</a> (External site)</li>
     48    <li><a href="https://webkit-queues.webkit.org/">Early Warning System and Commit Queue Status</a> (External site)</li>
    4949</ul>
    5050
  • trunk/Tools/ChangeLog

    r187596 r187605  
     12015-07-30  Aakash Jain  <aakash_jain@apple.com>
     2
     3        Replace Google App Engine with AppScale
     4        https://bugs.webkit.org/show_bug.cgi?id=147178
     5
     6        Reviewed by Daniel Bates.
     7
     8        * BuildSlaveSupport/build.webkit.org-config/master.cfg:
     9        (RunWebKitTests):
     10        * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/garden-o-matic.html:
     11        * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/builders_unittests.js:
     12        * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui.js:
     13        * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications_unittests.js:
     14        * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/results.js:
     15        (.):
     16        * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BubbleQueueServer.js:
     17        (BubbleQueueServer):
     18        * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/WebKitTestHistory.js:
     19        (TestHistory):
     20        * BuildSlaveSupport/build.webkit.org-config/templates/root.html:
     21        * QueueStatusServer/app.yaml: We must explicitly define threadsafe property when using the Python 2.7 runtime. We set threadsafe to be false because the status server code was written to be run in AppEngine's CGI environment and AppEngine's CGI programming model handles requests serially per section "Concurrent Requests and WSGI" of <https://cloud.google.com/appengine/docs/python/python25/migrate27>.
     22        * TestResultServer/app.yaml: Ditto
     23        * Scripts/webkitpy/common/config/urls.py:
     24        * TestResultServer/main.py:
     25        * TestResultServer/static-dashboards/dashboard_base.js:
     26        * TestResultServer/static-dashboards/loader.js:
     27
    1282015-07-30  Joonghun Park  <jh718.park@samsung.com>
    229
  • trunk/Tools/QueueStatusServer/app.yaml

    r178465 r187605  
    11application: webkit-queues
    22version: 178455 # SVN revision of last major change
    3 runtime: python
     3runtime: python27
     4threadsafe: false
    45api_version: 1
    56
  • trunk/Tools/Scripts/webkitpy/common/config/urls.py

    r173877 r187605  
    5555svn_server_realm = "<http://svn.webkit.org:80> Mac OS Forge"
    5656
    57 statusserver_default_host = "webkit-queues.appspot.com"
     57statusserver_default_host = "webkit-queues.webkit.org"
    5858
    5959def parse_bug_id(string):
  • trunk/Tools/TestResultServer/app.yaml

    r182606 r187605  
    11application: webkit-test-results
    22version: 182606
    3 runtime: python
     3runtime: python27
     4threadsafe: false
    45api_version: 1
    56
  • trunk/Tools/TestResultServer/main.py

    r90674 r187605  
    2929# Request a modern Django
    3030from google.appengine.dist import use_library
    31 use_library('django', '1.1')
     31use_library('django', '1.3')
    3232
    3333from google.appengine.ext import webapp
  • trunk/Tools/TestResultServer/static-dashboards/dashboard_base.js

    r157359 r187605  
    7373var ONE_WEEK_SECONDS = ONE_DAY_SECONDS * 7;
    7474
    75 // These should match the testtype uploaded to webkit-test-results.appspot.com.
    76 // See http://webkit-test-results.appspot.com/testfile.
     75// These should match the testtype uploaded to webkit-test-results.webkit.org.
     76// See http://webkit-test-results.webkit.org/testfile.
    7777var TEST_TYPES = [
    7878    'layout-tests'
  • trunk/Tools/TestResultServer/static-dashboards/loader.js

    r182606 r187605  
    3232(function() {
    3333
    34 var TEST_RESULTS_SERVER = 'https://webkit-test-results.appspot.com/';
     34var TEST_RESULTS_SERVER = 'https://webkit-test-results.webkit.org/';
    3535
    3636function pathToBuilderResultsFile(builderName) {
  • trunk/Websites/bugs.webkit.org/ChangeLog

    r173253 r187605  
     12015-07-30  Aakash Jain  <aakash_jain@apple.com>
     2
     3        Replace Google App Engine with AppScale
     4        https://bugs.webkit.org/show_bug.cgi?id=147178
     5
     6        Reviewed by Daniel Bates.
     7
     8        * code-review.js:
     9        * template/en/default/attachment/edit.html.tmpl:
     10        * template/en/default/attachment/list.html.tmpl:
     11        * template/en/default/attachment/reviewform.html.tmpl:
     12
    1132014-09-03  David Kilzer  <ddkilzer@apple.com>
    214
  • trunk/Websites/bugs.webkit.org/code-review.js

    r174783 r187605  
    537537
    538538  window.addEventListener('message', function(e) {
    539     if (e.origin != 'https://webkit-queues.appspot.com')
     539    if (e.origin != 'https://webkit-queues.webkit.org')
    540540      return;
    541541
     
    547547
    548548  function handleStatusBubbleLoad(e) {
    549     e.target.contentWindow.postMessage('containerMetrics', 'https://webkit-queues.appspot.com');
     549    e.target.contentWindow.postMessage('containerMetrics', 'https://webkit-queues.webkit.org');
    550550  }
    551551
     
    581581      statusBubble = document.createElement('iframe');
    582582      statusBubble.className = 'statusBubble';
    583       statusBubble.src  = 'https://webkit-queues.appspot.com/status-bubble/' + attachment_id;
     583      statusBubble.src  = 'https://webkit-queues.webkit.org/status-bubble/' + attachment_id;
    584584      statusBubble.scrolling = 'no';
    585585      // Can't append the HTML because we need to set the onload handler before appending the iframe to the DOM.
  • trunk/Websites/bugs.webkit.org/template/en/default/attachment/edit.html.tmpl

    r174778 r187605  
    265265
    266266        <div class="statusBubble">
    267           <iframe src="https://webkit-queues.appspot.com/status-bubble/[% attachment.id %]"
     267          <iframe src="https://webkit-queues.webkit.org/status-bubble/[% attachment.id %]"
    268268                  style="width: 400px; height: 40px; border: none;" scrolling="no">
    269269          </iframe>
  • trunk/Websites/bugs.webkit.org/template/en/default/attachment/list.html.tmpl

    r174778 r187605  
    158158          [% IF attachment.ispatch %]
    159159          <div class="statusBubble">
    160             <iframe src="https://webkit-queues.appspot.com/status-bubble/[% attachment.id %]"
     160            <iframe src="https://webkit-queues.webkit.org/status-bubble/[% attachment.id %]"
    161161                    style="width: 600px; height: 20px; border: none;" scrolling="no">
    162162            </iframe>
  • trunk/Websites/bugs.webkit.org/template/en/default/attachment/reviewform.html.tmpl

    r174785 r187605  
    9595    <td>
    9696      <div class="statusBubble" style="margin-left: 30px;">
    97         <iframe src="https://webkit-queues.appspot.com/status-bubble/[% attachment.id %]"
     97        <iframe src="https://webkit-queues.webkit.org/status-bubble/[% attachment.id %]"
    9898                style="width: 400px; height: 20px; border: none;" scrolling="no">
    9999        </iframe>
Note: See TracChangeset for help on using the changeset viewer.