Bug 1571969. Stop running all the QR tests as virtual-with-gpu. r=jmaher
authorJeff Muizelaar <jrmuizel@gmail.com>
Sun, 18 Aug 2019 12:59:49 +0000
changeset 488639 a5710687f9b44562f9ee54907ce81beb386da41b
parent 488638 2b1d674933e94625813b29ea9e4d940ed0f081bf
child 488640 c4f020146cf861d73392c67e1f68ca494e0c7770
child 488673 d230d193b5774c5c9af469bec406976748fb06e8
push id36449
push usernerli@mozilla.com
push dateSun, 18 Aug 2019 21:51:44 +0000
treeherdermozilla-central@a5710687f9b4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjmaher
bugs1571969
milestone70.0a1
first release with
nightly linux32
a5710687f9b4 / 70.0a1 / 20190818215144 / files
nightly linux64
a5710687f9b4 / 70.0a1 / 20190818215144 / files
nightly mac
a5710687f9b4 / 70.0a1 / 20190818215144 / files
nightly win32
a5710687f9b4 / 70.0a1 / 20190818215144 / files
nightly win64
a5710687f9b4 / 70.0a1 / 20190818215144 / files
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
releases
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1571969. Stop running all the QR tests as virtual-with-gpu. r=jmaher This uses the layers.d3d11.enable-blacklist pref to allow running WebRender on WARP. Differential Revision: https://phabricator.services.mozilla.com/D42255
taskcluster/ci/test/mochitest.yml
taskcluster/ci/test/reftest.yml
taskcluster/ci/test/web-platform.yml
taskcluster/taskgraph/transforms/tests.py
testing/talos/talos/xtalos/xperf_whitelist.json
testing/web-platform/meta/2dcontext/fill-and-stroke-styles/2d.gradient.interpolate.colouralpha.html.ini
testing/web-platform/meta/2dcontext/fill-and-stroke-styles/2d.gradient.interpolate.overlap.html.ini
testing/web-platform/meta/2dcontext/path-objects/2d.path.arc.selfintersect.1.html.ini
testing/web-platform/meta/2dcontext/path-objects/2d.path.rect.zero.3.html.ini
--- a/taskcluster/ci/test/mochitest.yml
+++ b/taskcluster/ci/test/mochitest.yml
@@ -53,20 +53,16 @@ mochitest:
     tier:
         by-test-platform:
             windows10-aarch64.*: 2
             default: default
     instance-size:
         by-test-platform:
             android-em.*: xlarge
             default: default
-    virtualization:
-        by-test-platform:
-            windows10-64(?:-pgo|-shippable)?-qr/.*: virtual-with-gpu
-            default: virtual
     chunks:
         by-test-platform:
             android-em-4.*\/debug: 60
             android-em-4.*\/(?:opt|pgo)?: 24
             android-em-7.*: 3
             linux.*/debug: 16
             linux64-asan/opt: 10
             linux64-.*cov/opt: 10
@@ -124,20 +120,16 @@ mochitest-browser-chrome:
         by-test-platform:
             linux64-.*cov/opt: 7200
             windows10-64-ccov/debug: 7200
             windows10-aarch64/*: 7200
             macosx.*64-ccov/debug: 10800
             linux.*/debug: 5400
             windows10-64-qr/debug: 5400
             default: 3600
-    virtualization:
-        by-test-platform:
-            windows10-64(?:-pgo|-shippable)?-qr/.*: virtual-with-gpu
-            default: virtual
     mozharness:
         mochitest-flavor: browser
         chunked: true
     # Bug 1281241: migrating to m3.large instances
     instance-size: default
     allow-software-gl-layers: false
 
 browser-instrumentation:
@@ -313,20 +305,16 @@ mochitest-media:
             windows10-aarch64/opt: ['try', 'mozilla-central']
             default: built-projects
     variants:
         by-test-platform:
             android.*: []
             linux64/debug: ['fission', 'serviceworker', 'socketprocess']
             default: ['fission', 'socketprocess']
     loopback-video: true
-    virtualization:
-        by-test-platform:
-            windows10-64(?:-pgo|-shippable)?-qr/.*: virtual-with-gpu
-            default: virtual
     instance-size:
         by-test-platform:
             android-em.*: xlarge
             default: large
     chunks:
         by-test-platform:
             android-em-7.*: 1
             windows10-64.*: 1
--- a/taskcluster/ci/test/reftest.yml
+++ b/taskcluster/ci/test/reftest.yml
@@ -48,20 +48,16 @@ job-defaults:
 
 crashtest:
     description: "Crashtest run"
     treeherder-symbol: R(C)
     instance-size:
         by-test-platform:
             android-em.*: xlarge
             default: default
-    virtualization:
-        by-test-platform:
-            windows10-64(?:-pgo|-shippable)?-qr/.*: virtual-with-gpu
-            default: virtual
     chunks:
         by-test-platform:
             android-em-4.*\/debug: 10
             android-em-4.*\/(?:opt|pgo)?: 4
             android-em-7.*: 1
             default: 1
     e10s: true
     max-run-time:
--- a/taskcluster/ci/test/web-platform.yml
+++ b/taskcluster/ci/test/web-platform.yml
@@ -9,20 +9,16 @@ job-defaults:
     max-run-time:
         by-test-platform:
             android-em-7.0-x86_64/debug: 7200
             default: 5400
     variants:
         by-test-platform:
             linux64/debug: ['fission', 'serviceworker']
             default: ['fission']
-    virtualization:
-        by-test-platform:
-            windows10-64(?:-pgo|-shippable)?-qr/.*: virtual-with-gpu
-            default: virtual
     mozharness:
         script: web_platform_tests.py
         config:
             by-test-platform:
                 windows.*:
                     - web_platform_tests/prod_config_windows_taskcluster.py
                 macosx.*:
                     - web_platform_tests/prod_config_mac.py
@@ -76,16 +72,20 @@ web-platform-tests:
             - --test-type=testharness
 
 web-platform-tests-reftests:
     description: "Web platform reftest run"
     suite:
         name: web-platform-tests-reftests
     schedules-component: web-platform-tests-reftests
     treeherder-symbol: W(Wr)
+    virtualization:
+        by-test-platform:
+            windows10-64(?:-pgo|-shippable)?-qr/.*: virtual-with-gpu
+            default: virtual
     chunks:
         by-test-platform:
             .*-ccov/debug: 8
             linux64(-qr|-asan)/.*: 6
             linux64(-shippable|-devedition)?/opt: 3
             macosx10.*-64/debug: 6
             windows.*-(32|64)(-qr)?/debug: 5
             android.*: 6
--- a/taskcluster/taskgraph/transforms/tests.py
+++ b/taskcluster/taskgraph/transforms/tests.py
@@ -1201,18 +1201,21 @@ def allow_software_gl_layers(config, tes
 @transforms.add
 def enable_webrender(config, tests):
     """
     Handle the "webrender" property by passing a flag to mozharness if it is
     enabled.
     """
     for test in tests:
         if test.get('webrender'):
-            test['mozharness'].setdefault('extra-options', [])\
-                              .append("--enable-webrender")
+            extra_options = test['mozharness'].setdefault('extra-options', [])
+            extra_options.append("--enable-webrender")
+            # We only want to 'setpref' on tests that have a profile
+            if not test['attributes']['unittest_category'] in ['cppunittest', 'gtest', 'raptor']:
+                extra_options.append("--setpref=layers.d3d11.enable-blacklist=false")
 
         yield test
 
 
 @transforms.add
 def set_schedules_for_webrender_android(config, tests):
     """android-hw has limited resources, we need webrender on phones"""
     for test in tests:
--- a/testing/talos/talos/xtalos/xperf_whitelist.json
+++ b/testing/talos/talos/xtalos/xperf_whitelist.json
@@ -117,16 +117,28 @@
     "maxbytes": 65536
   },
   "c:\\windows\\system32\\audioses.dll": {
     "mincount": 4,
     "maxcount": 4,
     "minbytes": 16384,
     "maxbytes": 32768
   },
+  "c:\\windows\\system32\\d3d10warp.dll": {
+    "mincount": 6,
+    "maxcount": 6,
+    "minbytes": 81920,
+    "maxbytes": 81920
+  },
+  "c:\\windows\\system32\\d3d11.dll": {
+    "mincount": 10,
+    "maxcount": 10,
+    "minbytes": 139264,
+    "maxbytes": 139264
+  },
   "c:\\windows\\system32\\dwrite.dll": {
     "mincount": 4,
     "maxcount": 4,
     "minbytes": 16384,
     "maxbytes": 90112
   },
   "c:\\windows\\system32\\dxgi.dll": {
     "mincount": 2,
deleted file mode 100644
--- a/testing/web-platform/meta/2dcontext/fill-and-stroke-styles/2d.gradient.interpolate.colouralpha.html.ini
+++ /dev/null
@@ -1,5 +0,0 @@
-[2d.gradient.interpolate.colouralpha.html]
-  [Canvas test: 2d.gradient.interpolate.colouralpha]
-    expected:
-      if (os == "win") and webrender: FAIL
-      PASS
deleted file mode 100644
--- a/testing/web-platform/meta/2dcontext/fill-and-stroke-styles/2d.gradient.interpolate.overlap.html.ini
+++ /dev/null
@@ -1,5 +0,0 @@
-[2d.gradient.interpolate.overlap.html]
-  [Canvas test: 2d.gradient.interpolate.overlap]
-    expected:
-      if (os == "win") and webrender: FAIL
-      PASS
deleted file mode 100644
--- a/testing/web-platform/meta/2dcontext/path-objects/2d.path.arc.selfintersect.1.html.ini
+++ /dev/null
@@ -1,5 +0,0 @@
-[2d.path.arc.selfintersect.1.html]
-  [arc() with lineWidth > 2*radius is drawn sensibly]
-    expected:
-      if (os == "win") and webrender: FAIL
-      PASS
deleted file mode 100644
--- a/testing/web-platform/meta/2dcontext/path-objects/2d.path.rect.zero.3.html.ini
+++ /dev/null
@@ -1,5 +0,0 @@
-[2d.path.rect.zero.3.html]
-  [Canvas test: 2d.path.rect.zero.3]
-    expected:
-      if (os == "win") and webrender: FAIL
-      PASS