Граф коммитов

230 Коммитов

Автор SHA1 Сообщение Дата
Andrew Erickson 0a77ea61d7 Bug 1599342: add windows hostutils r=jmaher,gbrown
Differential Revision: https://phabricator.services.mozilla.com/D80523
2020-06-23 01:21:51 +00:00
Greg Tatum 593ab0604f Bug 1628073 - Move gecko profiler testing files to mozgeckoprofiler; r=sparky,perftest-reviewers,gbrown
I need to add symbolication support for the mochitest Gecko Profiler command line
option. These profiles also need to be symbolicated. Unfortunately, there is not
a common place where I could use these files. Talos and Raptor each had their
own copy of the snappy symbolication server.

This commit consolidates these packages into a re-usable mozbase package that can
be used in mochitests, and eventually in other places like xpcshell tests.

I stubbed out a test file, but it doesn't do anything quite yet. This commit makes
it so that the tests still work in Raptor and Talos, but doesn't add any features.
It also doesn't try too hard to make the files look like a mozbase package.

Differential Revision: https://phabricator.services.mozilla.com/D74289
2020-05-22 13:18:44 +00:00
Andrew Erickson b8a2dedab4 Bug 1634226: update host-utils r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D73183
2020-04-30 23:09:49 +00:00
Cosmin Sabou 53c2d5ebb9 Backed out 2 changesets (bug 1628527) for causing wpt failures and a spike in bug 1622119. CLOSED TREE
Backed out changeset d9dfb6439761 (bug 1628527)
Backed out changeset 8235287622a8 (bug 1628527)
2020-04-21 23:12:09 +03:00
Nicholas Nethercote 88cd51aa6d Bug 1628527 - Introduce explicit initialization and finalization of `fix-stacks`. r=erahm,perftest-reviewers,sparky,gbrown
Currently AWSY-with-DMD doesn't work on Windows. This is because `fix-stacks`
is initialized lazily, and by the time the initialization happens some file
descriptors for files are open, and that leads to some major Python2-on-Windows
sadness as described in the big comment in the commit.

To fix the problem, this commit adds an `init` function to `fix_stacks.py` so
that `fix-stacks` can be initialized eagerly, hopefully before any file
descriptors for files are open.

For `dmd.py`, other than fixing the AWSY problems, this has little effect,
because `fix-stacks` is always initialized.

For `utils.py`, which is used to process the output of most tests, this has a
more noticeable effect: the `fix-stacks` process is always spawned, rather than
being spawned only when needed. If no stack traces appear in the test output,
this means that `fix-stacks` is spawned unnecessarily. But it's cheap to spawn;
the expensive part only happens when stack traces start getting fixed. So I
think this change in behaviour is acceptable.

Furthermore, the commit adds a `finish` function to `fix_stacks.py`, so that
the `fix-stacks` process can be explicitly shut down. This has never been done
for processes spawned for any of the stack fixing scripts. It's never caused
problems on Linux/Mac, but it seems to be necessary on Windows to avoid
similar "this file is locked" problems with the test_dmd.js test.

The commit also renames some things to more standard Python style, e.g.
`json_mode` instead of `jsonMode`.

Finally, Android tests use `utils.py` from the repository but `fix_stacks.py`
from the Android host utils. Because the two scripts must be updated in tandem,
this commit also updates the Android host utils to a version that contains the
updated `fix_stacks.py`. Thanks to aerickson for packaging up the new Android
host utils and providing the change to the `hostutils.manifest` file.

Differential Revision: https://phabricator.services.mozilla.com/D69478
2020-04-20 22:43:25 +00:00
Andrew Erickson d49a8c8eb1 Bug 1623134: update linux hostutils r=gbrown
Not updating 32-bit because we're not building a test artifact for it any longer.

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

--HG--
extra : moz-landing-system : lando
2020-04-07 19:17:41 +00:00
Narcis Beleuzu 499a78bdb4 Backed out changeset b96f40ed2773 (bug 1623134) for mochitest failures on test_fetch_cors_sw_reroute.html. CLOSED TREE 2020-03-20 03:09:30 +02:00
Andrew Erickson 5f6d81aef0 Bug 1623134: update mac hostutils r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D67237

--HG--
extra : moz-landing-system : lando
2020-03-19 23:33:13 +00:00
Andrew Erickson b95018d119 Bug 1623134: update linux hostutils r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D67236

--HG--
extra : moz-landing-system : lando
2020-03-19 17:39:27 +00:00
Geoff Brown 9ff45f39cd Bug 1556051 - Remove 'mach android-emulator' support for 'x86-4.2' avd; r=aerickson
This is a really old avd, no longer used in automation; it is obsolete.

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

--HG--
extra : moz-landing-system : lando
2020-03-12 16:57:37 +00:00
Henrik Skupin 255a87c4a6 Bug 1573383 - [marionette] Remove firefox-puppeteer Python package. r=marionette-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D61687

--HG--
extra : moz-landing-system : lando
2020-02-13 19:50:42 +00:00
Mike Hommey 623de66503 Bug 1525218 - Use minidump_stackwalk toolchain artifacts instead of tooltool packages. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D59936

--HG--
extra : moz-landing-system : lando
2020-02-06 08:39:54 +00:00
Sebastian Hengst 8f821d77ab Backed out 3 changesets (bug 1525218) for breaking fenix, reference-browser speedometer tasks. a=backout
Backed out changeset 76036ce90611 (bug 1525218)
Backed out changeset 9c66ecb1f66c (bug 1525218)
Backed out changeset eb4b265deb5e (bug 1525218)

--HG--
extra : rebase_source : 5f1b01bd44628efff2a7e0f28a62a7ad673a73c0
2020-01-20 11:19:46 +01:00
Mike Hommey 5378c2e839 Bug 1525218 - Use minidump_stackwalk toolchain artifacts instead of tooltool packages. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D59936

--HG--
extra : moz-landing-system : lando
2020-01-15 14:20:30 +00:00
Andrew Erickson e5fe115b16 Bug 1593785: update 4.3 emulator to have larger disk r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D56258

--HG--
extra : moz-landing-system : lando
2019-12-09 19:26:35 +00:00
Geoff Brown 9e59579c39 Bug 1601076 - Fix some broken BUG_COMPONENTS in moz.build files; r=jmaher
Some of these were obvious typos. Others probably reflect once-correct components
that have been combined, split, or otherwise obsoleted; for these I've tried to
use the component associated with the bugs for recent changes to the affected files.

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

--HG--
extra : moz-landing-system : lando
2019-12-04 13:55:45 +00:00
Andrew Erickson 955ab61048 Bug 1503785: use new minidump_stackwalk r=bc
Use the new minidump_stackwalk that incorporates libcurl3 and libcurl4 compatibility. See https://bugzilla.mozilla.org/show_bug.cgi?id=1582574.

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

--HG--
extra : moz-landing-system : lando
2019-10-08 21:59:03 +00:00
Andrew Erickson c39e023148 Bug 1585422: update mac hostutils r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D48125

--HG--
extra : moz-landing-system : lando
2019-10-03 22:08:45 +00:00
Andrew Erickson 67a949f0bb Bug 1585422: update linux hostutils r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D47997

--HG--
extra : moz-landing-system : lando
2019-10-03 14:42:40 +00:00
Junior Hsu a0fc2962a8 Bug 1571573 - P2 remove downloading node from tooltool r=tomprince,ahal
Differential Revision: https://phabricator.services.mozilla.com/D44899

--HG--
extra : moz-landing-system : lando
2019-09-09 17:54:36 +00:00
Gregory Mierzwinski 92d5021daf Bug 1567954 - Part 1: Initialize Mozpower module and implement PowerBase class. r=perftest-reviewers,ahal,rwood
This patch initializes the Mozpower module and implements the PowerBase class. This class is used as a base for subclasses that implement power measurement tooling for various OS and CPU combinations.

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

--HG--
extra : moz-landing-system : lando
2019-08-01 20:36:00 +00:00
Nick Alexander 07f31a8dc3 Bug 1564282 - Pre: Make it easier to work with mozbase in Raptor locally. r=ahal
This is the equivalent of .pth in virtualenv declarations.  It sets up
a .egg file with a `sys.path` addition, as far as I can tell.

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

--HG--
extra : moz-landing-system : lando
2019-07-25 00:46:36 +00:00
Narcis Beleuzu acffe94058 Backed out 1 changesets (bug 1564282) for raptor failures. CLOSED TREE
Backed out changeset 7e617d055160 (bug 1564282)
2019-07-24 02:28:40 +03:00
Nick Alexander 3437fc2557 Bug 1564282 - Pre: Make it easier to work with mozbase in Raptor locally. r=ahal
This is the equivalent of .pth in virtualenv declarations.  It sets up
a .egg file with a `sys.path` addition, as far as I can tell.

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

--HG--
extra : moz-landing-system : lando
2019-07-23 21:58:23 +00:00
Narcis Beleuzu 4db8112c33 Backed out 2 changesets (bug 1561939) as per nalexander`s request.
Backed out changeset 2833ba67a5b9 (bug 1561939)
Backed out changeset 3125e12eee29 (bug 1561939)
2019-07-24 00:41:43 +03:00
Nick Alexander 3316f7167c Bug 1561939 - Pre: Make it easier to work with mozbase in Raptor locally. r=ahal
This is the equivalent of .pth in virtualenv declarations.  It sets up
a .egg file with a `sys.path` addition, as far as I can tell.

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

--HG--
extra : moz-landing-system : lando
2019-07-23 20:27:29 +00:00
Geoff Brown 9352ea1aa6 Bug 1551262 - Remove mach support for jimdb; r=snorp
If there is still value to this -- if you know of anyone using jimdb via mach, etc -- I am
happy to throw this away, but otherwise, would like to clean it up.

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

--HG--
extra : moz-landing-system : lando
2019-05-13 20:52:29 +00:00
Andrew Erickson 25d6c79cb6 Bug 1548918: update linux hostutils (try build) r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D30123

--HG--
extra : moz-landing-system : lando
2019-05-09 17:39:05 +00:00
Andrew Erickson f1289eb10e Bug 1546453: Increase android x86 7.0 emulator's data partition size r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D28568

--HG--
extra : moz-landing-system : lando
2019-04-24 02:17:39 +00:00
Andrew Erickson a9f0a3f921 Bug 1545617: update mac host-utils r=bc,gbrown
Differential Revision: https://phabricator.services.mozilla.com/D28249

--HG--
extra : moz-landing-system : lando
2019-04-23 08:26:12 +00:00
Andrew Erickson 8f8f9f07f5 Bug 1545617: update linux host-utils r=bc,gbrown
Source push: https://treeherder.mozilla.org/#/jobs?repo=mozilla-central&revision=74dc09642c222e18634f4f13e7b0bd6b7f91cbc2

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

--HG--
extra : moz-landing-system : lando
2019-04-22 19:53:30 +00:00
Henrik Skupin ddc6537052 Bug 1532919 - [marionette] Remove outdated browsermob-proxy mixin from marionette harness package. r=ato
The development of the package has been moved to:
https://github.com/AutomatedTester/browsermob-proxy-py

The in-tree version is outdated, and no longer developed.

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

--HG--
extra : moz-landing-system : lando
2019-03-07 12:26:43 +00:00
Tarek Ziadé 9ed1006ca9 Bug 1528992 - extract raptor mitmproxy integration - r=rwood,Bebe,gbrown
This patch moves testing/raptor/raptor/playback into its own testing package in testing/mozbase/mozproxy
so we can use the proxy in other places than Raptor.

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

--HG--
rename : testing/raptor/raptor/playback/__init__.py => testing/mozbase/mozproxy/mozproxy/__init__.py
rename : testing/raptor/raptor/playback/base.py => testing/mozbase/mozproxy/mozproxy/backends/base.py
rename : testing/raptor/raptor/playback/mitmproxy.py => testing/mozbase/mozproxy/mozproxy/backends/mitm.py
rename : testing/raptor/raptor/playback/mitmproxy-rel-bin-linux64.manifest => testing/mozbase/mozproxy/mozproxy/backends/mitmproxy-rel-bin-linux64.manifest
rename : testing/raptor/raptor/playback/mitmproxy-rel-bin-osx.manifest => testing/mozbase/mozproxy/mozproxy/backends/mitmproxy-rel-bin-osx.manifest
rename : testing/raptor/raptor/playback/mitmproxy-rel-bin-win.manifest => testing/mozbase/mozproxy/mozproxy/backends/mitmproxy-rel-bin-win.manifest
rename : testing/raptor/raptor/playback/mitmproxy_requirements.txt => testing/mozbase/mozproxy/mozproxy/backends/mitmproxy_requirements.txt
extra : moz-landing-system : lando
2019-03-06 17:13:21 +00:00
Andrew Erickson 3ac01a4eb3 Bug 1530546: updating hostutils for linux, round 2.1 r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D21766

--HG--
extra : moz-landing-system : lando
2019-03-04 18:44:22 +00:00
Andrew Erickson 8b5599fc98 Bug 1530546: update mac hostutils r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D21575

--HG--
extra : moz-landing-system : lando
2019-02-28 21:55:13 +00:00
Ciure Andrei 109f80ff56 Backed out changeset 46def7f1496f (bug 1530546) for perma failing test_progress_events_for_gzip_data.html CLOSED TREE 2019-02-27 21:10:25 +02:00
Andrew Erickson 08ddc1cd25 Bug 1530546: updating hostutils for linux, round 2 r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D21318

--HG--
extra : moz-landing-system : lando
2019-02-27 16:10:27 +00:00
Geoff Brown c7ff34b4e5 Bug 1519588 - Update tooltool manifests for Android avd definitions; r=me,a=test-only
AVDs are identical to previous version, except that the config.ini files are updated
with a larger size for the /data partition.

--HG--
extra : rebase_source : 4eb406a33e47593bb7e7ff9dc34142516012d7ea
2019-01-22 15:05:19 -07:00
Edwin Gao 0f390a7703 Bug 1514075 - added updated hostutils for macOS r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D16111

--HG--
extra : moz-landing-system : lando
2019-01-09 22:59:12 +00:00
Edwin Gao df57ce81ca Bug 1514075 - update Android hostutils with Firefox 66.0a1 r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D15310

--HG--
extra : moz-landing-system : lando
2018-12-24 21:18:59 +00:00
Mike Hommey 106d32bce6 Bug 1512706 - Update minidump_stackwalk used for tests. r=RyanVM
The minidump_stackwalk used for tests ifs picked up from tooltool, and
it looks like the tooltool manifests haven't been updated in 2 years.

As it turns out, this old version is not capable of, at least, stack
walk over crashes originated in LTOed rust code on Windows, while
breakpad trunk, as well as the slightly oldest version we have in-tree
do.

While ideally, we'd go with building minidump_stackwalk as a taskcluster
toolchain artifact, or during the build, but that involves significantly
more work, while we should fix the stack traces of crashes that  people
_do_ get as early as possible.

The tooltool artifacts linked in the updated manifests were generated
the following way:
- Revert the last two changes that happened to minidump_stackwalk.cc
  between 2016 and now (they don't matter for functionality and get in
  the way of the rest below).
- Apply the changes betwen the version of minidump_stackwalk.cc from
  2016 and
https://hg.mozilla.org/users/tmielczarek_mozilla.com/stackwalk-http/raw-file/51e4725ffad4/stackwalk.cc
- Pick the http_symbol_supplier.cc and http_symbol_supplier.h files from
  the same repo as stackwalk.cc above.
- Add the necessary build system bits to build it off the Gecko tree,
  along with the in-tree breakpad code.
- Build it for linux, linux64, macosx64, win32-mingw.

The patch doing all the above is:
https://hg.mozilla.org/try/rev/64491336dc7fca7a1c00ae8c66619b01563bbe4e
The push to build it on the aforementioned platforms:
https://hg.mozilla.org/try/rev/4b621a67ca0bd6cf8954566e180d23e1ba8a9f83

A win64-mingw variant was also built, but is not being used, keeping
things in line with what we currently are using.  We may want to follow
up with an update to use that win64 variant on 64-bits testers.

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

--HG--
extra : moz-landing-system : lando
2018-12-10 22:51:50 +00:00
Raphael Pierzina 7a5affcbeb Bug 1501973 - Create requirements file for archived telemetry tests; r=ahal
Depends on D9769

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

--HG--
extra : moz-landing-system : lando
2018-10-26 15:59:31 +00:00
Raphael Pierzina 38f4cd91a3 Bug 1488468 - Update requirements files for telemetry tests; r=davehunt
Depends on D7905

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

--HG--
rename : testing/config/telemetry_tests_requirements.txt => testing/config/telemetry_tests_source_requirements.txt
extra : moz-landing-system : lando
2018-10-05 19:16:47 +00:00
David Heiberg c9661e61a3 Bug 1476661 - Ensure H2 dependencies are packaged alongside wptserve where needed, r=jgraham
MozReview-Commit-ID: 5tbXeHsvNI5
2018-08-09 11:38:37 +01:00
Tudor-Gabriel Vîjială 98358f2a2a Bug 1474342 - Remove ccov.manifest files. r=marco
MozReview-Commit-ID: wE6PfW1jvA

--HG--
extra : rebase_source : b414165d56a72c5f920c722b6ea2faae0b77aedd
2018-07-11 11:03:47 +01:00
Marco Castelluccio 031b837e9a Bug 1474246 - Update grcov to version 0.2.3. r=calixte
--HG--
extra : rebase_source : f2e465849f6b8db4ce64925de859d125c54febee
2018-07-09 11:29:09 +02:00
Geoff Brown 7f5366e434 Bug 1463909 - Update android-4.3 avd for 'mach android-emulator'; r=me,a=test-only
The new avd is compatible with emulator 27.2.9 as well as earlier versions such
as 27.1.12.
2018-07-06 14:17:59 -06:00
Marco Castelluccio 4e2f73b382 Bug 1471166 - Update grcov to v0.1.40, stop zipping gcda files. r=jmaher
--HG--
extra : rebase_source : 21fcf27d2abc3c31d522b8a3d3b4a416c47313c5
2018-06-27 00:26:44 +01:00
Henrik Skupin 894f69b8b2 Bug 1470414 - Clean-up moz.build files for BUG_COMPONENT in testing/. r=ahal
MozReview-Commit-ID: F5vHc4G13v6

--HG--
extra : rebase_source : 1c6c8de55def6026da467d589ec3a8b511986125
2018-06-22 13:32:05 +02:00
Margareta Eliza Balazs 38873b16e7 Backed out changeset 52e86ed85e54 (bug 1470414) for bustage in ./config/tests/test_mozbuild_reading.py::TestMozbuildReading on a CLOSED TREE 2018-06-25 17:29:18 +03:00