Bug 1336479 - Add 32-bit linux QR builds. r?kmoir draft
authorKartikaya Gupta <kgupta@mozilla.com>
Wed, 08 Feb 2017 15:02:45 -0500
changeset 480675 5b019f9298985d8084f7da0c94b6945d97e7d8e1
parent 480674 81b2c23729752a47fe698b2d2cdc6e20c74e1a7e
child 480676 b0ae0c8bb86d634e12f6e5546257d04ba0d580a7
push id44623
push userkgupta@mozilla.com
push dateWed, 08 Feb 2017 20:04:12 +0000
reviewerskmoir
bugs1336479
milestone54.0a1
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',
+}