Commit Graph

24 Commits

Author SHA1 Message Date
Eric Rahm
5ab7117b5c Bug 1395540 - Part 5: Enable DMD in automation. r=bc
This adds support running AWSY with DMD in automation via mozharness. We use
existence of dmd.py to detect whether or not dmd should be enabled.
Additionally sandboxing has to be disabled in order to avoid crashes on Windows
and OSX.

--HG--
extra : rebase_source : 1576dbb98bc2cff565ea5055daaec5a44aed88a8
2018-06-15 09:59:18 -07:00
Ryan Hunt
b00603123d Bug 1426499 - Add an error message for unzipping tp5n on windows. r=erahm
--HG--
extra : rebase_source : e6999c6a418acc3ff616d4e79977d08fb0e49187
2018-05-16 13:55:37 -05:00
Ryan Hunt
4846d7b517 Bug 1426499 - Disable windows content process sandbox when using DMD with AWSY. r=erahm
--HG--
extra : rebase_source : 9af460b07207c8bd2b0187b41ba65fe00c03871a
2018-05-17 13:46:29 -05:00
Eric Rahm
c8048bf57a Bug 1457243 - Part 1: Support zero values for awsy params in mach_commands. r=bc
--HG--
extra : rebase_source : cd9006c267e627ad4ab75eb997145cf4489dc21c
2018-05-09 16:31:52 -07:00
Emilio Cobos Álvarez
24cf27d33c Bug 1447611: Remove --enable-stylo and --enable-stylo-build-bindgen. r=froydnj
Will remove the prefs and stuff in a followup.

MozReview-Commit-ID: HVyfbHOEQYI
2018-03-21 19:13:26 +01:00
Csoregi Natalia
d6c6d38406 Backed out 4 changesets (bug 1447611) for mass failures due to --enable-stylo removal. CLOSED TREE
Backed out changeset c6193142bbcf (bug 1447611)
Backed out changeset 01ada1c5a95f (bug 1447611)
Backed out changeset 86c9fed44da2 (bug 1447611)
Backed out changeset bb84ac6e1468 (bug 1447611)
2018-03-21 19:01:07 +02:00
Emilio Cobos Álvarez
330ddd82bf Bug 1447611: Remove --enable-stylo and --enable-stylo-build-bindgen. r=froydnj
Will remove the prefs and stuff in a followup.

MozReview-Commit-ID: HVyfbHOEQYI
2018-03-21 17:24:41 +01:00
Emilio Cobos Álvarez
e9676561ce Bug 1446954: Remove support for running tests on automation without stylo configurations. r=froydnj
You can still run them on a --disable-stylo build, as long as that works
(presumably not for long).

I think I haven't missed anything, but please double-check.

MozReview-Commit-ID: 3BIAEjgTLo5
2018-03-20 11:29:08 +01:00
Bob Clary
120bb04de2 Bug 1437215 - Measure WebRender memory usage on Linux x86_64 using AWSY tests, r=jmaher 2018-02-21 05:52:04 -08:00
Mike Hommey
2b2a874b47 Bug 1420355 - Statically link DMD. r=njn
--HG--
extra : rebase_source : 8e7cf975d096116b666532f3fe8aa5a7f61b5725
2017-11-28 08:10:48 +09:00
Mike Hommey
1e631092c5 Bug 1420355 - Don't initialize DMD if the DMD environment variable is not given. r=njn
This makes things slightly more inconvenient (having to set two
environment variables instead of one for the simplest case) until a few
patches down the line, when DMD is statically linked, at which point it
will get down to one environment variable every time.

--HG--
extra : rebase_source : 08dc3c05318b572ae1026227d0369fa8bf21b20f
2017-11-28 08:10:07 +09:00
Csoregi Natalia
4ce8d0124c Backed out 7 changesets (bug 1420355) for mass failures on OS X and Android. r=backout on a CLOSED TREE
Backed out changeset a7ed89e13a4c (bug 1420355)
Backed out changeset fd6702e6e0a0 (bug 1420355)
Backed out changeset 0479dda078a2 (bug 1420355)
Backed out changeset e69357ccca9e (bug 1420355)
Backed out changeset 3742a4b69ba2 (bug 1420355)
Backed out changeset 451cd087922f (bug 1420355)
Backed out changeset d80b5c4e1dd0 (bug 1420355)
2017-11-29 03:08:46 +02:00
Mike Hommey
7c62087a43 Bug 1420355 - Statically link DMD. r=njn
--HG--
extra : rebase_source : 46800c9c0c5006a5a32f11abc209da27e65ae0f5
2017-11-28 08:10:48 +09:00
Mike Hommey
0a3b6c9813 Bug 1420355 - Don't initialize DMD if the DMD environment variable is not given. r=njn
This makes things slightly more inconvenient (having to set two
environment variables instead of one for the simplest case) until a few
patches down the line, when DMD is statically linked, at which point it
will get down to one environment variable every time.

--HG--
extra : rebase_source : 08dc3c05318b572ae1026227d0369fa8bf21b20f
2017-11-28 08:10:07 +09:00
Eric Rahm
4ee0f7aef5 Bug 1395540 - Part 4: Fix the DMD stacks. r=njn
This runs the DMD files through the DMD stack fixer so that we end up with
usable stacks instead of just offsets into libxul.

--HG--
extra : rebase_source : 486a9e0f97e9a0b5374784c8c5986449a7c12478
2017-09-21 14:41:44 -07:00
Eric Rahm
eb23156a98 Bug 1395540 - Part 2: Add support for dumping DMD reports. r=bc
This updates `test_memory_usage.py` to handle generating DMD reports.

--HG--
extra : rebase_source : e61a89d6b81602548aac2af847c9b417185e4eab
2017-09-21 12:15:45 -07:00
Eric Rahm
18943cf448 Bug 1395540 - Part 1: Add support for --dmd to awsy. r=bc
This adds a '--dmd' param to the |mach awsy-test| command. It checks that the
build is in fact a DMD build and then adds the appropriate env vars to run with
DMD enabled.

--HG--
extra : rebase_source : 944fbe847ea22d4980f79333c0d86c0c490cefea
2017-09-20 18:35:10 -07:00
J. Ryan Stinnett
2b8c3809c2 Bug 1393234 - Add --disable-stylo for AWSY. r=jmaher
MozReview-Commit-ID: Ap1BbJja358

--HG--
extra : rebase_source : 344b53eed4c1d25978ded238d5720b013e1515b0
2017-08-24 17:48:58 -05:00
Bob Clary
8d2f89877e Bug 1378526 - Measure Stylo memory usage using AWSY tests, r=erahm, kmoir. 2017-08-01 15:59:22 -07:00
Eric Rahm
9ccb00f361 Bug 1386407 - Part 2: Use prefs.json when testing locally. r=bc
We specify '--preferences' in `awsy_script.py`, but weren't doing so for
local testing. This uses 'conf/prefs.json' by default, but lets the user
override that by specifying '--preferences'.

MozReview-Commit-ID: 5j7a1LA4e8a
2017-08-01 15:55:45 -07:00
Mike Hommey
b40c223d77 Bug 1356683 - Use new tooltool wrapper in AWSY jobs. r=chmanchester
--HG--
extra : rebase_source : d6886900951d0b26a43c6b5e1ff2dcb2cee5c81c
2017-04-12 18:01:46 +09:00
Bob Clary
42eac0f31a Bug 1352054 - Support mach awsy-test on Windows, r=erahm, jmaher. 2017-04-20 16:07:07 -07:00
Mike Hommey
4d1881e4dd Bug 1355731 - Move tooltool to mozbuild.action. r=gps
--HG--
rename : taskcluster/docker/recipes/tooltool.py => python/mozbuild/mozbuild/action/tooltool.py
extra : rebase_source : 6278d8692956a67f37fd788df894657d6eeb53e8
2017-02-22 17:20:41 +09:00
Bob Clary
62e02ee002 Bug 1344813 - Implement AWSY as a marionette-based mach command, r=jmaher,pyang,erahm.
usage: mach [global arguments] awsy-test [command arguments]

mach awsy-test runs the in-tree version of the Are We Slim Yet
(AWSY) tests.

awsy-test is implemented as a marionette test and marionette
test arguments also apply although they are not necessary
since reasonable defaults will be chosen.

The AWSY specific arguments can be found in the Command
Arguments for AWSY section below.

awsy-test will automatically download the tp5n.zip talos
pageset from tooltool and install it under
topobjdir/_tests/awsy/html. You can specify your own page set
by specifying --web-root and --page-manifest.

The results of the test will be placed in the results
directory specified by the --results argument.

Command Arguments for AWSY:
  --web-root WEBROOTDIR
                        Path to web server root directory. If not specified,
                        defaults to topobjdir/_tests/awsy/html.
  --page-manifest PAGEMANIFEST
                        Path to page manifest text file containing a list of
                        urls to test. The urls must be served from localhost.
                        If not specified, defaults to
                        page_load_test/tp5b/tp5n.manifest under the web root.
  --results RESULTSDIR  Path to results directory. If not specified, defaults
                        to the parent directory of the web root.
  --quick               Set --entities=3, --iterations=1, --per-tab-pause=1,
                        --settle-wait-time=1 for a quick test. Overrides any
                        explicit argument settings.
  --entities ENTITIES   Number of urls to load. Defaults to the total number
                        of urls.
  --max-tabs MAXTABS    Maximum number of tabs to open. Defaults to 30.
  --iterations ITERATIONS
                        Number of times to run through the test suite.
                        Defaults to 5.
  --per-tab-pause PERTABPAUSE
                        Seconds to wait in between opening tabs. Defaults to
                        10.
  --settle-wait-time SETTLEWAITTIME
                        Seconds to wait for things to settled down. Defaults
                        to 30.
2017-03-29 01:47:46 -07:00