Add WPE release bots
authorclopez@igalia.com <clopez@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 11 May 2017 16:29:48 +0000 (16:29 +0000)
committerclopez@igalia.com <clopez@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 11 May 2017 16:29:48 +0000 (16:29 +0000)
https://bugs.webkit.org/show_bug.cgi?id=171973

Reviewed by Žan Doberšek.

This adds a WPE Release Build bot (64-bit) and a WPE Release Test bot.
It also adds a new WPE buildbot category.

* BuildSlaveSupport/build.webkit.org-config/config.json:
* BuildSlaveSupport/build.webkit.org-config/master.cfg:
(InstallWpeDependencies):
(appendCustomBuildFlags):
(Factory.__init__):
(loadBuilderConfig):
* BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py:
* BuildSlaveSupport/build.webkit.org-config/templates/root.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@216678 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/BuildSlaveSupport/build.webkit.org-config/config.json
Tools/BuildSlaveSupport/build.webkit.org-config/master.cfg
Tools/BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py
Tools/BuildSlaveSupport/build.webkit.org-config/templates/root.html
Tools/ChangeLog

index 9e7fe2f..4c2ed25 100644 (file)
 
                     { "name": "jsconly-linux-szeged-slave-1", "platform": "jsc-only" },
                     { "name": "jsconly-linux-szeged-slave-2", "platform": "jsc-only" },
-                    { "name": "jsconly-linux-szeged-slave-3", "platform": "jsc-only" }
+                    { "name": "jsconly-linux-szeged-slave-3", "platform": "jsc-only" },
 
+                    { "name": "wpe-linux-bot-1", "platform": "wpe" },
+                    { "name": "wpe-linux-bot-2", "platform": "wpe" }
                   ],
 
     "builders":   [ { "name": "Apple Sierra Debug (Build)", "type": "Build", "builddir": "sierra-debug",
                       "platform": "jsc-only", "configuration": "release", "architectures": ["armv7"],
                       "SVNMirror": "svn://webkit.inf.u-szeged.hu/webkit/",
                       "slavenames": ["jsconly-linux-szeged-slave-3"]
+                    },
+                    {
+                      "name": "WPE Linux 64-bit Release (Build)", "type": "Build", "builddir": "wpe-linux-64-release",
+                      "platform": "wpe", "configuration": "release", "architectures": ["x86_64"],
+                      "triggers": ["wpe-linux-64-release-tests"],
+                      "slavenames": ["wpe-linux-bot-1"]
+                    },
+                   {
+                      "name": "WPE Linux 64-bit Release (Tests)", "type": "Test", "builddir": "wpe-linux-64-release-tests",
+                      "platform": "wpe", "configuration": "release", "architectures": ["x86_64"],
+                      "slavenames": ["wpe-linux-bot-2"]
                     }
                   ],
 
                       "builderNames": ["GTK Linux 32-bit Release", "GTK Linux 64-bit Release (Build)", "GTK Linux 64-bit Debug (Build)", "GTK Linux ARM Release",
                                        "GTK Linux 64-bit Release Debian Stable (Build)", "GTK Linux 64-bit Release Ubuntu LTS (Build)",
                                        "JSCOnly Linux AArch64 Release", "JSCOnly Linux ARMv7 Thumb2 Release", "JSCOnly Linux ARMv7 Traditional Release",
-                                       "WinCairo 64-Bit Release"]
+                                       "WinCairo 64-Bit Release", "WPE Linux 64-bit Release (Build)"]
                     },
                     { "type": "PlatformSpecificScheduler", "platform": "mac-elcapitan", "branch": "trunk", "treeStableTimer": 45.0,
                       "builderNames": ["Apple El Capitan Release (Build)", "Apple El Capitan Debug (Build)", "Apple El Capitan LLINT CLoop (BuildAndTest)", "Apple El Capitan 32-bit JSC (BuildAndTest)", "Apple El Capitan Release (32-bit Build)", "Apple El Capitan CMake Debug (Build)"]
                     },
                     { "type": "Triggerable", "name": "gtk-linux-64-release-wayland-tests",
                       "builderNames": ["GTK Linux 64-bit Release Wayland (Tests)"]
+                    },
+                    { "type": "Triggerable", "name": "wpe-linux-64-release-tests",
+                      "builderNames": ["WPE Linux 64-bit Release (Tests)"]
                     }
                   ]
 }
index e9967e2..163af6c 100644 (file)
@@ -183,8 +183,15 @@ class InstallGtkDependencies(shell.ShellCommand):
     command = ["perl", "./Tools/Scripts/update-webkitgtk-libs"]
     haltOnFailure = True
 
+class InstallWpeDependencies(shell.ShellCommand):
+    name = "jhbuild"
+    description = ["updating wpe dependencies"]
+    descriptionDone = ["updated wpe dependencies"]
+    command = ["perl", "./Tools/Scripts/update-webkitwpe-libs"]
+    haltOnFailure = True
+
 def appendCustomBuildFlags(step, platform, fullPlatform):
-    if platform not in ('gtk', 'wincairo', 'ios', 'jsc-only'):
+    if platform not in ('gtk', 'wincairo', 'ios', 'jsc-only', 'wpe'):
         return
     if fullPlatform.startswith('ios-simulator'):
         platform = 'ios-simulator'
@@ -811,6 +818,8 @@ class Factory(factory.BuildFactory):
             self.addStep(InstallWin32Dependencies())
         if platform == "gtk" and additionalArguments != ["--default-cmake-features"]:
             self.addStep(InstallGtkDependencies())
+        if platform == "wpe":
+            self.addStep(InstallWpeDependencies())
 
 
 class BuildFactory(Factory):
@@ -1020,6 +1029,8 @@ def loadBuilderConfig(c):
             builder["category"] = 'AppleWin'
         elif platform.startswith('gtk'):
             builder["category"] = 'GTK'
+        elif platform.startswith('wpe'):
+            builder["category"] = 'WPE'
         else:
             builder["category"] = 'misc'
 
index fb25134..3423e10 100755 (executable)
@@ -463,6 +463,9 @@ expected_build_steps = {
     'GTK Linux ARM Release' : ['configure build', 'svn', 'kill old processes', 'delete WebKitBuild directory', 'delete stale build files', 'jhbuild', 'compile-webkit', 'jscore-test', 'webkitpy-test', 'webkitperl-test', 'bindings-generation-tests', 'builtins-generator-tests', 'dashboard-tests', 'API tests'],
 
     'WinCairo 64-Bit Release' : ['configure build', 'svn', 'kill old processes', 'delete WebKitBuild directory', 'delete stale build files', 'compile-webkit'],
+
+    'WPE Linux 64-bit Release (Build)' : ['configure build', 'svn', 'kill old processes', 'delete WebKitBuild directory', 'delete stale build files', 'jhbuild', 'compile-webkit', 'archive-built-product', 'upload', 'trigger'],
+    'WPE Linux 64-bit Release (Tests)' : ['configure build', 'svn', 'kill old processes', 'delete WebKitBuild directory', 'delete stale build files', 'jhbuild', 'download-built-product', 'extract-built-product', 'jscore-test', 'layout-test', 'webkitpy-test', 'webkitperl-test', 'bindings-generation-tests', 'builtins-generator-tests', 'dashboard-tests', 'archive-test-results', 'upload', 'MasterShellCommand'],
 }
 
 
index 42e7e5e..b3a51c8 100644 (file)
 <h2>Buildbot Pages</h2>
 <ul>
   <li><a href="console">Console</a> - <a href="console?category=AppleMac">Apple Mac</a>, <a href="console?category=AppleWin">Apple Windows</a>, <a href="console?category=iOS">iOS</a>,
-  <a href="console?category=GTK">GTK+</a>
+  <a href="console?category=GTK">GTK+</a>, <a href="console?category=WPE">WPE</a>
   and <a href="console?category=misc">miscellaneous</a></li>
   <li><a href="waterfall">Waterfall Display</a>, a time-oriented summary of recent buildbot activity
   - <a href="waterfall?category=AppleMac">Apple Mac</a>, <a href="waterfall?category=AppleWin">Apple Windows</a>, <a href="waterfall?category=iOS">iOS</a>,
-  <a href="waterfall?category=GTK">GTK+</a>
+  <a href="waterfall?category=GTK">GTK+</a>, <a href="waterfall?category=WPE">WPE</a>
   and <a href="waterfall?category=misc">miscellaneous</a></li>
   <li><a href="one_box_per_builder">Latest Build</a> for each builder is here.</li>
   <li><a href="one_line_per_build">Recent Builds</a> are summarized here, one per line.</li>
index 17f9f01..7dff4cf 100644 (file)
@@ -1,3 +1,22 @@
+2017-05-11  Carlos Alberto Lopez Perez  <clopez@igalia.com>
+
+        Add WPE release bots
+        https://bugs.webkit.org/show_bug.cgi?id=171973
+
+        Reviewed by Žan Doberšek.
+
+        This adds a WPE Release Build bot (64-bit) and a WPE Release Test bot.
+        It also adds a new WPE buildbot category.
+
+        * BuildSlaveSupport/build.webkit.org-config/config.json:
+        * BuildSlaveSupport/build.webkit.org-config/master.cfg:
+        (InstallWpeDependencies):
+        (appendCustomBuildFlags):
+        (Factory.__init__):
+        (loadBuilderConfig):
+        * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py:
+        * BuildSlaveSupport/build.webkit.org-config/templates/root.html:
+
 2017-05-09  Sam Weinig  <sam@webkit.org>
 
         Remove support for legacy Notifications