Commit Graph
9 Commits
Author SHA1 Message Date
Mike Hommey 1cc1400b6f Bug 1356683 - Use new tooltool wrapper in AWSY jobs. r=chmanchester 2017-04-12 18:01:46 +09:00
Bob Clary 6603788e65 Bug 1352054 - Support mach awsy-test on Windows, r=erahm, jmaher. 2017-04-20 16:07:07 -07:00
Mike Hommey 187e7f6ebc Bug 1355731 - Move tooltool to mozbuild.action. r=gps 2017-02-22 17:20:41 +09:00
Bob Clary 312fbd6746 Bug 1344805 - Get AWSY running on Windows, r=jmaher,pyang,erahm. 2017-03-29 01:47:47 -07:00
Bob Clary 189599cf29 Bug 1344813 - Only start as many web servers as required, r=jmaher,pyang,erahm. 2017-03-29 01:47:46 -07:00
Bob Clary 3c0fff7d1e Bug 1344813 - remove template urls from awsy, r=jmaher,pyang,erahm. 2017-03-29 01:47:46 -07:00
Bob Clary 2356558941 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
Bob Clary f4b08a6530 Bug 1344813 - prepare awsy for mach command, r=jmaher,pyang.
* parse_about_memory.py
  - remove extraneous data variable.
* test_memory_usage.py
  - get webRootDir, resultsDir from testvars to support mach command.
  - standardize directories.
  - catch exceptions thrown by marionette when closing tabs.
* awsy_script.py
  - change to use webRootDir, resultsDir and to pass to test_memory_usage.py
    in additional testvars.json file.
  - standardize directories.
  - set strict=False in StructuredOutputParser in order to prevent ascii
    encoding errors due to marionette loading csdn.net and outputing non-ascii
    to stdout.
2017-03-29 01:47:45 -07:00
Paul Yang e79cba1c31 Bug 1272113: Adding awsy package into m-c r=erahm
MozReview-Commit-ID: GVtHMiipWBT
2017-03-11 02:33:19 +08:00