Bug 1626089 - Run two wpt processes in CI, r=jmaher

This runs wpt with --processes=2 in CI, excluding wdspec tests where this
causes obvious test failures and android where we can't have more than a
single instance. This should provide some speedup at the cost of possibly
increased instability. So following landing this it will be necessary to
look out for an increased rate of intermittents.

Differential Revision: https://phabricator.services.mozilla.com/D68885

--HG--
extra : moz-landing-system : lando
This commit is contained in:
James Graham 2020-04-08 10:52:04 +00:00
parent 3efe98996f
commit 76130a7bbf
9 changed files with 8 additions and 11 deletions

View File

@ -14,7 +14,6 @@ ADJUST_MOUSE_AND_SCREEN = False
config = {
"options": [
"--prefs-root=%(test_path)s/prefs",
"--processes=1",
"--config=%(test_path)s/wptrunner.ini",
"--ca-cert-path=%(test_path)s/tests/tools/certs/cacert.pem",
"--host-key-path=%(test_path)s/tests/tools/certs/web-platform.test.key",

View File

@ -8,7 +8,6 @@ import os
config = {
"options": [
"--prefs-root=%(test_path)s/prefs",
"--processes=1",
"--config=%(test_path)s/wptrunner.ini",
"--ca-cert-path=%(test_path)s/tests/tools/certs/cacert.pem",
"--host-key-path=%(test_path)s/tests/tools/certs/web-platform.test.key",

View File

@ -14,7 +14,6 @@ ADJUST_MOUSE_AND_SCREEN = False
config = {
"options": [
"--prefs-root=%(test_path)s/prefs",
"--processes=1",
"--config=%(test_path)s/wptrunner.ini",
"--ca-cert-path=%(test_path)s/tests/tools/certs/cacert.pem",
"--host-key-path=%(test_path)s/tests/tools/certs/web-platform.test.key",

View File

@ -18,7 +18,6 @@ ADJUST_MOUSE_AND_SCREEN = True
config = {
"options": [
"--prefs-root=%(test_path)s/prefs",
"--processes=1",
"--config=%(test_path)s/wptrunner.ini",
"--ca-cert-path=%(test_path)s/tests/tools/certs/cacert.pem",
"--host-key-path=%(test_path)s/tests/tools/certs/web-platform.test.key",

View File

@ -28,7 +28,6 @@ TASKBAR_AUTOHIDE_REG_PATH = {
config = {
"options": [
"--prefs-root=%(test_path)s/prefs",
"--processes=1",
"--config=%(test_path)s/wptrunner.ini",
"--ca-cert-path=%(test_path)s/tests/tools/certs/cacert.pem",
"--host-key-path=%(test_path)s/tests/tools/certs/web-platform.test.key",

View File

@ -7,7 +7,6 @@
config = {
"options": [
"--prefs-root=%(test_path)s/prefs",
"--processes=1",
"--config=%(test_path)s/wptrunner.ini",
"--ca-cert-path=%(test_path)s/tests/tools/certs/cacert.pem",
"--host-key-path=%(test_path)s/tests/tools/certs/web-platform.test.key",

View File

@ -9,7 +9,6 @@ import sys
config = {
"options": [
"--prefs-root=%(test_path)s/prefs",
"--processes=1",
"--config=%(test_path)s/wptrunner.ini",
"--ca-cert-path=%(test_path)s/tests/tools/certs/cacert.pem",
"--host-key-path=%(test_path)s/tests/tools/certs/web-platform.test.key",

View File

@ -226,6 +226,12 @@ class WebPlatformTest(TestingMixin, MercurialScript, CodeCoverageMixin, AndroidM
"--instrument-to-file=%s" % os.path.join(dirs["abs_blob_upload_dir"],
"wpt_instruments.txt")]
if self.is_android or "wdspec" in test_types:
processes = 1
else:
processes = 2
cmd.append("--processes=%s" % processes)
if self.is_android:
cmd += ["--device-serial=%s" % self.device_serial,
"--package-name=%s" % self.query_package_name()]

View File

@ -1,13 +1,11 @@
[bundle.https.html]
expected:
if (os == "win") and (processor == "x86_64") and not debug and webrender and not fission: ["OK", "TIMEOUT"]
if (os == "win") and (processor == "x86") and not debug: TIMEOUT
if (os == "win") and (processor == "x86_64") and not debug: ["OK", "TIMEOUT"]
[not negotiating BUNDLE creates two separate ice and dtls transports]
expected: FAIL
[bundles on the first transport and closes the second]
expected:
if (os == "win") and (processor == "x86_64") and not debug and webrender and not fission: ["FAIL", "TIMEOUT"]
if (os == "win") and (processor == "x86") and not debug: TIMEOUT
if (os == "win") and (processor == "x86") and not debug: [FAIL, TIMEOUT]
FAIL