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

4065 Коммитов

Автор SHA1 Сообщение Дата
Makoto Kato 0f09630e38 Bug 1599340 - Remote mochitest should consider host's suffix for ssltunnel. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D80588
2020-06-24 04:46:38 +00:00
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
tkhan b4821a1c8e Bug 1602668 - Enables xorigin iframe mode for mochitest-plain. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D70360
2020-06-22 19:10:30 +00:00
Agi Sferro ad8f58b686 Bug 1646508 - Add --setenv to |mach geckoview-junit|. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D80077
2020-06-18 19:42:00 +00:00
Coroiu Cristina d84bb71c40 Backed out changeset 8b56bdf1ba13 (bug 1646508) for gv-junit failures on a CLOSED TREE 2020-06-18 21:06:41 +03:00
Agi Sferro 41a329b57f Bug 1646508 - Add --setenv to |mach geckoview-junit|. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D80077
2020-06-18 16:22:04 +00:00
Gijs Kruitbosch 222e2d1158 Bug 1644863 - fix trailing whitespace in cross-tree tests, r=emilio,marionette-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D79202
2020-06-17 22:45:31 +00:00
Dave Townsend e07f989e6c Bug 1620358: Gather telemetry on toolbar state. r=Gijs,zombie
Differential Revision: https://phabricator.services.mozilla.com/D78393
2020-06-16 21:06:15 +00:00
Greg Tatum f2fbbef862 Bug 1644942 - Fix broken --tag command for mochitests; r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D79305
2020-06-11 15:53:45 +00:00
Geoff Brown 21fcb0c7bd Bug 1644165 - [mochitest] Guard against missing 'message' in 'log' messages; r=bc
Avoids infrequent intermittent failure.

Differential Revision: https://phabricator.services.mozilla.com/D79168
2020-06-10 19:34:30 +00:00
Johann Hofmann 157f7e64a5 Bug 1515073 - Part 4 - Add test for skipping pages without user interaction on back-forward. r=Gijs
Depends on D27587

Differential Revision: https://phabricator.services.mozilla.com/D27588
2020-06-09 14:50:25 +00:00
Greg Tatum 8dd17bbdd0 Bug 1644114 - Only symbolicate mochitests profiles when using --profiler; r=gbrown
This commit fixes an issue where the test harness can't find the profile to symbolicate.
MOZ_PROFILER_SHUTDOWN can take a relative address, which is relative to the CWD of the
Firefox binary. Rather than try to make this work, this patch instead outputs a message
suggesting that the user use the official flags. I did this because it was an easier
patch, but also I'm not sure what the user-intent is behind doing shutdown profiling
on their own.

Differential Revision: https://phabricator.services.mozilla.com/D78805
2020-06-09 04:32:19 +00:00
Geoff Brown cc5e996863 Bug 1643400 - Tolerate more log formats when searching for mochitest summary counts; r=bc
Differential Revision: https://phabricator.services.mozilla.com/D78401
2020-06-05 15:14:50 +00:00
Ricky Stewart 7f3fa0551b Bug 1641991 - Remove deprecated mochitest mach commands r=ahal
These commands were removed 5 years ago (with the exception of robocop, which was removed about a year ago). We're way past the point where anyone would glean useful info from keeping the stubs here with an error message.

Differential Revision: https://phabricator.services.mozilla.com/D77536
2020-05-29 20:43:05 +00:00
Masatoshi Kimura b9a2ffc214 Bug 1482279 - Stop using Cu.forcePermissiveCOWs() in SpecialPowers. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D74641
2020-05-31 03:41:03 +00:00
Rob Wu 66a434b9be Bug 1641541 - Remove generated SpecialPowers and mochikit addon at end of test r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D77249
2020-05-29 17:38:04 +00:00
Bob Clary 48722e157f Bug 1638175 - split valgrind args using shlex.split rather than str.split, r=gbrown.
Differential Revision: https://phabricator.services.mozilla.com/D77475
2020-05-29 15:48:45 +00:00
Andrei Cristian Petcu 5d95cff3bb Bug 249801 - Add a module to export logins to a CSV file. r=MattN,fluent-reviewers
The menu item is hidden until it requests re-authentication via Master Password.

Differential Revision: https://phabricator.services.mozilla.com/D75716
2020-05-29 07:14:03 +00:00
Magnus Melin 4e45f2ae87 Bug 1638333 - BrowserTestUtilsChild.jsm: handleEvent - don't assume the load event target is from a document. r=Yoric
In the case of a <body> location won't be set.

Differential Revision: https://phabricator.services.mozilla.com/D76137
2020-05-27 11:06:12 +00:00
Aaron Klotz 637ed6291c Bug 1640757: Use "-e testFile" to specify a junit test filter; r=gbrown
* We add a new command line option, `test-filter-file`, which allows the user
  to specify a line-delimited list of tests to run;
* When there multiple `test_filters` specified, we accumulate them into a
  temporary test filter file in the line-delimited format;
* We push that file to the device and specify it to `am instrument`;
* A single `test_filter` is still passed directly on the command line.

Differential Revision: https://phabricator.services.mozilla.com/D76873
2020-05-26 19:34:10 +00:00
Geoff Brown c01036cf03 Bug 1624857 - Resolve intermittent mochitest AttributeError on with_traceback; r=bc
Differential Revision: https://phabricator.services.mozilla.com/D76874
2020-05-26 19:26:05 +00:00
Tim Huang 3bfc60d466 Bug 1640259 - Add EPERM(Operation not permitted) as an expected error in isPidAlive() check. r=ahal
We could hit this error if we open and close too many processes during
the test. This could happen when Fission is enabled. The pid number
could roll back to 1 if the pid is counted over than 32767 in linux. If
this happened, we might check the pid which is opened by others. For
example, we open and close the pid 1000 and after that the pid rolls back
to 1  and the pid 1000 has been used by other process for any reasons.
If this happens, we would hit this error during killing zombie processes
in the end of the test.

To resolve this, we can add EPERM as an expected error since this
indicates that this pid has been used by other process, so the pid of the
original process is no longer alive.

Differential Revision: https://phabricator.services.mozilla.com/D76692
2020-05-26 19:23:29 +00:00
Andrew McCreight bc30b464c9 Bug 1640974 - Remove unused --enable-cpow-warnings option. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D76872
2020-05-26 19:16:28 +00:00
Kershaw Chang 8ac1a956ac Bug 1602832 - P6: Make sure we don't launch socket process for xpcshell http server r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D76664
2020-05-26 14:30:54 +00:00
Butkovits Atila f167b5c275 Backed out 6 changesets (bug 1602832) for causing perma failure at test_trr_case_sensitivity.js. CLOSED TREE
Backed out changeset 0e9c378df995 (bug 1602832)
Backed out changeset 534fedb3836e (bug 1602832)
Backed out changeset db012c05d64e (bug 1602832)
Backed out changeset ca0c207dca21 (bug 1602832)
Backed out changeset bea1f3aeea49 (bug 1602832)
Backed out changeset 2d54acd78124 (bug 1602832)
2020-05-26 13:09:07 +03:00
Kershaw Chang 8def6e94e6 Bug 1602832 - P6: Make sure we don't launch socket process for xpcshell http server r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D76664
2020-05-26 08:35:54 +00:00
Gijs Kruitbosch 2f983e6cfa Bug 1638373 - remove Cu.isCrossProcessWrapper now that CPOWs are dead, r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D76597
2020-05-24 23:38:17 +00:00
egao 8e54528b9d Bug 1637463 - support loading of runtime information for a specific suite r=ahal
Changes:
  - permit existing code in chunking.py and mochitests/runtests.py to load manifest runtime information specifict to the suite

Differential Revision: https://phabricator.services.mozilla.com/D75592
2020-05-24 00:24:05 +00:00
Mihai Alexandru Michis 74ff68a9a5 Backed out 3 changesets (bug 1637463) for causing bc jobs to timeout.
CLOSED TREE

Backed out changeset 93efb53380c2 (bug 1637463)
Backed out changeset 5c8ccda5f1b1 (bug 1637463)
Backed out changeset a5fc1b604238 (bug 1637463)
2020-05-23 02:35:26 +03:00
Mihai Alexandru Michis 37ef8a125d Backed out changeset a845717e4d10 (bug 1482279) for causing multiple failures.
CLOSED TREE
2020-05-23 02:22:20 +03:00
Masatoshi Kimura 0701e89b7e Bug 1482279 - Stop using Cu.forcePermissiveCOWs() in SpecialPowers. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D74641
2020-05-22 21:46:25 +00:00
egao d40fc31a1b Bug 1637463 - support loading of runtime information for a specific suite r=ahal
Changes:
  - permit existing code in chunking.py and mochitests/runtests.py to load manifest runtime information specifict to the suite

Differential Revision: https://phabricator.services.mozilla.com/D75592
2020-05-22 18:31:47 +00:00
Greg Tatum 2947314809 Bug 1628073 - Move the view_gecko_profile_from_mochitest function; r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D75577
2020-05-22 13:20:23 +00:00
Greg Tatum c5ee06d110 Bug 1628073 - Use mozlog in the mozgeckoprofiler; r=gbrown
This patch changes over all of the logging to use the structured mozlog package.
I also ensured that the messages were logged in a way to be useful for end users
of mochitests. This means there were a few small changes in methods in order to
accommodate the logging. The behavior outside of logging should be the same.

Differential Revision: https://phabricator.services.mozilla.com/D74291
2020-05-22 13:19:27 +00:00
Greg Tatum ced168b874 Bug 1628073 - Hook up symbolication to mochitests; r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D74290
2020-05-22 13:19:04 +00:00
Greg Tatum 9f54341166 Bug 1628073 - Add CLI flags to mochitests for the profiler; r=gbrown
This commit adds the option to profile a mochitest run, and then open
the profile automatically in the users browser.

Differential Revision: https://phabricator.services.mozilla.com/D70090
2020-05-22 13:17:37 +00:00
Kris Maglione 58a72e8979 Bug 1638988: Add SpecialPowers.spawnChrome. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D75832
2020-05-18 21:00:51 +00:00
Narcis Beleuzu abc58ec081 Backed out changeset 4123014cf744 (bug 1633101) for Linting failure on runtests.py . CLOSED TREE 2020-05-14 02:14:18 +03:00
egao e29bcc19ec Bug 1633101 - consolidate pulseaudio initialization process on linux and migrate to x64 fontconfig package r=jmaher
Changes:

While the ubuntu1804 migration work was taking place, `pulseaudio` related pieces of code were sprinkled across a wide variety of modules.

Now that things have settled down, remove and streamline `pulseaudio` initialization so that there are less places for this to go wrong.

Differential Revision: https://phabricator.services.mozilla.com/D74809
2020-05-13 21:46:55 +00:00
Razvan Maries e218f74304 Backed out 2 changesets (bug 1633101) for perma failures at test_getUserMedia_basicAudio_loopback.html. CLOSED TREE
Backed out changeset b85aebbd6fcc (bug 1633101)
Backed out changeset fd6537bc153f (bug 1633101)
2020-05-13 03:47:10 +03:00
Edwin Takahashi eea3ca3ae8 Bug 1633101 - remove redundant pulseaudio initializations for linux tests r=jmaher
Changes:

While the ubuntu1804 migration work was taking place, `pulseaudio` related pieces of code were sprinkled across a wide variety of modules.

Now that things have settled down, remove and streamline `pulseaudio` initialization so that there are less places for this to go wrong.

Differential Revision: https://phabricator.services.mozilla.com/D74809
2020-05-12 20:59:43 +00:00
Razvan Maries 7bb5a72350 Backed out changeset ce270ccc8290 (bug 1633101) for perma failures at test_getUserMedia_basicAudio_loopback.html. CLOSED TREE 2020-05-12 23:55:42 +03:00
Ricky Stewart d46a834068 Bug 1635873 - Create virtualenv in `mach mochitest` r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D74684
2020-05-12 18:50:49 +00:00
Edwin Takahashi fe77d08974 Bug 1633101 - remove redundant pulseaudio initializations for linux tests r=jmaher
Changes:

While the ubuntu1804 migration work was taking place, `pulseaudio` related pieces of code were sprinkled across a wide variety of modules.

Now that things have settled down, remove and streamline `pulseaudio` initialization so that there are less places for this to go wrong.

Differential Revision: https://phabricator.services.mozilla.com/D74809
2020-05-12 12:20:45 +00:00
Etienne Bruines 2dcc34270a Bug 1635806 - [testing] Expose eventName in BrowserTestUtils.waitForContentEvent r=ahal
This should make it easier to write tests for race-conditions, as
the resolving value now indicates which event was received.

This required updating a test which for some reason asserted
undefined being the resolving value, as a way of "testing" if the
Promise resolved at all. Since await already throws Errors when it
is rejected, and the test throws a timeout if it doesn't resolve in
time, this assertion was removed. It did not add any value.

Differential Revision: https://phabricator.services.mozilla.com/D74124
2020-05-11 21:29:05 +00:00
Kashav Madan 55da00290c Bug 1601685 - Update the BrowserTestUtils.browserLoaded() comment, r=kmag
The implementation was updated in bug 1578465, but the comment wasn't updated.

Differential Revision: https://phabricator.services.mozilla.com/D74689
2020-05-11 19:00:12 +00:00
Bogdan Tara 8bc4e35c9b Backed out changeset ea9641bad8d6 (bug 1635806) for browser_fullscreen-contextmenu-esc.js failures CLOSED TREE 2020-05-09 09:38:52 +03:00
Etienne Bruines e657c47ebe Bug 1635806 - [testing] Expose eventName in BrowserTestUtils.waitForContentEvent r=ahal
This should make it easier to write tests for race-conditions, as
the resolving value now indicates which event was received.

Differential Revision: https://phabricator.services.mozilla.com/D74124
2020-05-07 18:49:26 +00:00
Florian Quèze fa2f59b3f7 Bug 1630982 - Terminate browser-chrome mochitests with an exit(0), r=gbrown,dthayer.
Differential Revision: https://phabricator.services.mozilla.com/D71336
2020-05-07 17:34:30 +00:00
Dorel Luca d9c6949cf6 Backed out changeset b77388326b1b (bug 1630982) for causing leaks on mochitest jobs. CLOSED TREE 2020-05-07 13:49:20 +03:00