Bug 1627174 - Add a Treeherder job for running jit-tests with WarpBuilder enabled. r=sfink,iain,jmaher
authorJan de Mooij <jdemooij@mozilla.com>
Sat, 04 Apr 2020 08:26:57 +0000
changeset 522150 0bd0baa8a6775af4be4afeb829b99704dc0b7853
parent 522149 a3bc77baa5196e70bc4d1b2ed5db1024a528c03a
child 522151 e6f6fe2e28399990fe9b926c6b7519b3592c322d
push id112034
push userjdemooij@mozilla.com
push dateSat, 04 Apr 2020 08:28:23 +0000
treeherderautoland@0bd0baa8a677 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssfink, iain, jmaher
bugs1627174
milestone76.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 1627174 - Add a Treeherder job for running jit-tests with WarpBuilder enabled. r=sfink,iain,jmaher Note that it only runs jit-tests (not jsapi-tests and the slower jstests) and only two jit-test configurations. This makes the job very fast, I see it finish in just 12-13 minutes on Try. When this lands it should be green. For now it's tier 2 and only runs on central. When WarpBuilder gets closer to shipping we can consider changing that (and probably run more tests). Differential Revision: https://phabricator.services.mozilla.com/D69512
js/src/devtools/automation/autospider.sh
js/src/devtools/automation/variants/warpdebug
js/src/tests/lib/tests.py
taskcluster/ci/spidermonkey/linux.yml
deleted file mode 100755
--- a/js/src/devtools/automation/autospider.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/bash
-
-exec python2.7 "$(dirname $0)/autospider.py" "$@"
new file mode 100644
--- /dev/null
+++ b/js/src/devtools/automation/variants/warpdebug
@@ -0,0 +1,11 @@
+{
+    "configure-args": "--enable-rust-simd",
+    "debug": true,
+    "compiler": "clang",
+    "env": {
+        "JITTEST_EXTRA_ARGS": "--jitflags=warp"
+    },
+    "skip-tests": {
+        "all": ["jstests", "jsapitests"]
+    }
+}
--- a/js/src/tests/lib/tests.py
+++ b/js/src/tests/lib/tests.py
@@ -29,16 +29,21 @@ JITFLAGS = {
         ['--baseline-eager'],
         ['--no-blinterp', '--no-baseline', '--no-ion', '--more-compartments'],
     ],
     # used by jit_test.py
     'ion': [
         ['--baseline-eager'],
         ['--ion-eager', '--ion-offthread-compile=off', '--more-compartments']
     ],
+    # Used for testing WarpBuilder.
+    'warp': [
+        ['--warp'],
+        ['--warp', '--ion-eager', '--ion-offthread-compile=off']
+    ],
     # Run reduced variants on debug builds, since they take longer time.
     'debug': [
         [],  # no flags, normal baseline and ion
         ['--ion-eager', '--ion-offthread-compile=off',  # implies --baseline-eager
          '--more-compartments'],
         ['--baseline-eager'],
     ],
     # Cover cases useful for tsan. Note that we test --ion-eager without
--- a/taskcluster/ci/spidermonkey/linux.yml
+++ b/taskcluster/ci/spidermonkey/linux.yml
@@ -100,16 +100,28 @@ sm-smoosh-linux64/opt:
     fetches:
         toolchain:
             - linux64-clang
             - linux64-gcc
             - linux64-rust
             - linux64-cbindgen
     run-on-projects: ['try', 'central']
 
+sm-warp-linux64/debug:
+    description: "Spidermonkey WarpBuilder"
+    index:
+        job-name: sm-warp-linux64-debug
+    treeherder:
+        platform: linux64/debug
+        symbol: SM(warp)
+        tier: 2
+    run:
+        spidermonkey-variant: warpdebug
+    run-on-projects: ['try', 'mozilla-central']
+
 sm-nojit-linux64/opt:
     description: "Spidermonkey no JIT"
     index:
         job-name: sm-nojit-linux64-opt
     treeherder:
         symbol: SM(nojit)
         platform: linux64/opt
     run: