Bug 1336479 - Add 32-bit linux QR builds. r=kmoir
authorKartikaya Gupta <kgupta@mozilla.com>
Wed, 08 Feb 2017 15:02:45 -0500
changeset 341508 1f92f4ebcd71d859264200a58326d8f5f420ecca
parent 341447 1bbeb6d96dac4e1322373d029863ddcb9895cae9
child 341509 4109dedc365308db121cab39cf4ca34383c048bb
push id31335
push usercbook@mozilla.com
push dateThu, 09 Feb 2017 10:23:41 +0000
treeherdermozilla-central@70debab47688 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskmoir
bugs1336479
milestone54.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1336479 - Add 32-bit linux QR builds. r=kmoir MozReview-Commit-ID: 3zOp1fQFdxt
browser/config/mozconfigs/linux32/debug-qr
browser/config/mozconfigs/linux32/opt-qr
taskcluster/ci/build/linux.yml
taskcluster/taskgraph/transforms/gecko_v2_whitelist.py
testing/mozharness/configs/builds/releng_sub_linux_configs/32_qr_debug.py
testing/mozharness/configs/builds/releng_sub_linux_configs/32_qr_opt.py
new file mode 100644
--- /dev/null
+++ b/browser/config/mozconfigs/linux32/debug-qr
@@ -0,0 +1,3 @@
+. "$topsrcdir/browser/config/mozconfigs/linux32/debug"
+
+ac_add_options --enable-webrender
new file mode 100644
--- /dev/null
+++ b/browser/config/mozconfigs/linux32/opt-qr
@@ -0,0 +1,3 @@
+. "$topsrcdir/browser/config/mozconfigs/linux32/nightly"
+
+ac_add_options --enable-webrender
--- a/taskcluster/ci/build/linux.yml
+++ b/taskcluster/ci/build/linux.yml
@@ -421,8 +421,61 @@ linux64-qr/opt:
             - builds/releng_base_linux_64_builds.py
             - balrog/production.py
         script: "mozharness/scripts/fx_desktop_build.py"
         secrets: true
         custom-build-variant-cfg: qr-opt
         tooltool-downloads: public
         need-xvfb: true
     run-on-projects: [ 'mozilla-central', 'graphics' ]
+
+linux-qr/opt:
+    description: "Linux32 Opt QuantumRender"
+    index:
+        product: firefox
+        job-name: linux-qr-opt
+    treeherder:
+        platform: linux32-qr/opt
+        symbol: tc(B)
+        tier: 2
+    worker-type: aws-provisioner-v1/gecko-{level}-b-linux
+    worker:
+        implementation: docker-worker
+        max-run-time: 36000
+    run:
+        using: mozharness
+        actions: [get-secrets build check-test generate-build-stats update]
+        config:
+            - builds/releng_base_linux_32_builds.py
+            - balrog/production.py
+        script: "mozharness/scripts/fx_desktop_build.py"
+        secrets: true
+        custom-build-variant-cfg: qr-opt
+        tooltool-downloads: public
+        need-xvfb: true
+    run-on-projects: [ 'graphics' ]
+
+linux-qr/debug:
+    description: "Linux32 Debug QuantumRender"
+    index:
+        product: firefox
+        job-name: linux-qr-debug
+    treeherder:
+        platform: linux32-qr/debug
+        symbol: tc(B)
+        tier: 2
+    worker-type: aws-provisioner-v1/gecko-{level}-b-linux
+    worker:
+        implementation: docker-worker
+        max-run-time: 36000
+    coalesce-name: dbg_linux32
+    run:
+        using: mozharness
+        actions: [get-secrets build check-test generate-build-stats update]
+        config:
+            - builds/releng_base_linux_32_builds.py
+            - balrog/production.py
+        script: "mozharness/scripts/fx_desktop_build.py"
+        secrets: true
+        custom-build-variant-cfg: qr-debug
+        tooltool-downloads: public
+        need-xvfb: true
+    run-on-projects: [ 'graphics' ]
--- a/taskcluster/taskgraph/transforms/gecko_v2_whitelist.py
+++ b/taskcluster/taskgraph/transforms/gecko_v2_whitelist.py
@@ -45,16 +45,18 @@ JOB_NAME_WHITELIST = set([
     'linux64-qr-opt',
     'linux64-st-an-opt',
     'linux64-stylo-debug',
     'linux64-stylo-opt',
     'linux64-valgrind-opt',
     'linux-debug',
     'linux-opt',
     'linux-pgo',
+    'linux-qr-debug',
+    'linux-qr-opt',
     'linux32-nightly-opt',
     'linux32-l10n-opt',
     'linux32-nightly-l10n-opt',
     'linux64-add-on-devel',
     'macosx64-clang-tidy',
     'macosx64-debug',
     'macosx64-opt',
     'macosx64-qr-debug',
new file mode 100644
--- /dev/null
+++ b/testing/mozharness/configs/builds/releng_sub_linux_configs/32_qr_debug.py
@@ -0,0 +1,45 @@
+import os
+
+MOZ_OBJDIR = 'obj-firefox'
+
+config = {
+    'default_actions': [
+        'clobber',
+        'clone-tools',
+        'checkout-sources',
+        'setup-mock',
+        'build',
+        'upload-files',
+        'sendchange',
+        'check-test',
+        # 'generate-build-stats',
+        'update',  # decided by query_is_nightly()
+    ],
+    'debug_build': True,
+    'stage_platform': 'linux-debug',
+    'enable_signing': False,
+    'enable_talos_sendchange': False,
+    #### 32 bit build specific #####
+    'env': {
+        'MOZBUILD_STATE_PATH': os.path.join(os.getcwd(), '.mozbuild'),
+        'MOZ_AUTOMATION': '1',
+        'DISPLAY': ':2',
+        'HG_SHARE_BASE_DIR': '/builds/hg-shared',
+        'MOZ_OBJDIR': MOZ_OBJDIR,
+        'MOZ_CRASHREPORTER_NO_REPORT': '1',
+        'CCACHE_DIR': '/builds/ccache',
+        'CCACHE_COMPRESS': '1',
+        'CCACHE_UMASK': '002',
+        'LC_ALL': 'C',
+        # 32 bit specific
+        'PATH': '/tools/buildbot/bin:/usr/local/bin:/usr/lib/ccache:/bin:\
+/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/tools/git/bin:/tools/python27/bin:\
+/tools/python27-mercurial/bin:/home/cltbld/bin',
+        'LD_LIBRARY_PATH': '/tools/gcc-4.3.3/installed/lib:\
+%s/dist/bin' % (MOZ_OBJDIR,),
+        'XPCOM_DEBUG_BREAK': 'stack-and-abort',
+        'TINDERBOX_OUTPUT': '1',
+    },
+    'src_mozconfig': 'browser/config/mozconfigs/linux32/debug-qr',
+    #######################
+}
new file mode 100644
--- /dev/null
+++ b/testing/mozharness/configs/builds/releng_sub_linux_configs/32_qr_opt.py
@@ -0,0 +1,7 @@
+import os
+
+MOZ_OBJDIR = 'obj-firefox'
+
+config = {
+    'src_mozconfig': 'browser/config/mozconfigs/linux32/opt-qr',
+}