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

45159 Коммитов

Автор SHA1 Сообщение Дата
Henrik Skupin 80d2efc4d6 Bug 1632391 - [raptor] Give enough time to sync the shutdown flags. r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D72133
2020-04-29 05:29:52 +00:00
Henrik Skupin 5b204a623f Bug 1632391 - [raptor] Fix timeout handling when shutting down the application. r=perftest-reviewers,sparky
Sleeping a second and increasing the elapsed time by 1,
doesn't mean that exactly a second has been passed-by.

For a better timeout handling the end time has to be
calculated first, and then checked against.

Differential Revision: https://phabricator.services.mozilla.com/D72132
2020-04-29 05:29:43 +00:00
Myeongjun Go e5d2c2720f Bug 1532365 - Add a Raptor manifest unit test for use_live_sites r=sparky,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D72677
2020-04-28 22:30:40 +00:00
Marian Raiciof 37cad3c37a Bug 1609373 - Update raptor branch for upstream changes on 2020 branch r=perftest-reviewers,whimboo,sparky,Bebe,AlexandruIonescu
- changed test URL to match the dev server
- changed output.py in several places to fix new test names, dict keys, to cover all tests
- added amazonaws.com to manifest.json file to fix the loading issue for benchmark.js file
- added all raptor tests
- changed the constants for measure and alert_on

Differential Revision: https://phabricator.services.mozilla.com/D62546
2020-04-28 19:49:41 +00:00
Tarek Ziadé 33f1eee4d5 Bug 1633437 - Support for test metadata r=acreskey
This patch adds support for tests metadata. A test script parser is added as
well as a new "doc" flavor that can be used to display the script info in the
command line. This parser will be the basis for building automated docs and
scripts verifications if we want to do this.

Differential Revision: https://phabricator.services.mozilla.com/D72800
2020-04-28 17:07:14 +00:00
James Graham 5bf8846dd2 Bug 1631938 - Fix host substitution in CSP test, r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D72213
2020-04-28 11:56:55 +00:00
James Graham 6aa8a80978 Bug 1631348 - Be more efficient looking for a wpt manifest to download, r=ahal
Instead of going through every commit, look for a "base_ref" which is
actually a base revision i.e. one that's on a remote head. Then look
for this commit on inbound or central. This should cover all cases except
for when a branch is based on something that was fetched from try in
such a way as to create a remote ref. However that's pretty rare and we
fall back to useful behaviour in that case.

Differential Revision: https://phabricator.services.mozilla.com/D71935
2020-04-27 14:55:08 +00:00
Gregory Mierzwinski c909a79d87 Bug 1632616 - Download and install google chrome through tooltool. r=aerickson,perftest-reviewers,Bebe
This patch changes how Google Chrome for Android is deployed. Rather than relying on automatic updates, we will use tooltool to download the APK and install it ourselves. Some changes were done in taskcluster to remove a hack that was put in place to disable interal tooltool downloads (the issue is resolved now).

A tooltool manifest is added for this, and to keep ourselves organized, all manifests (including the playback ones) are moved into a folder called `tooltool-manifests`.

Differential Revision: https://phabricator.services.mozilla.com/D72198
2020-04-28 09:23:21 +00:00
Csoregi Natalia 1b3a4cf0fe Backed out changeset 9f796abfd8ca (bug 1629789) for causing issues on fixSymbols. CLOSED TREE 2020-04-28 14:47:30 +03:00
Nicholas Nethercote 9d10f25a39 Bug 1629789 - Suppress `fix-stacks` errors on web platform tests. r=erahm,jgraham
Because the web platform test harness doesn't recognize them and annotates them
with `CRITICAL`, which is disconcerting, even though those errors are typically
not harmful.

Differential Revision: https://phabricator.services.mozilla.com/D71485
2020-04-28 09:28:15 +00:00
Joel Maher be86ad93c9 Bug 1632873 - mark wpt html/user-activation/ tests as backlog. r=jgraham
I assume these are backlog and not not-implemented

run html/user-activation/ tests as backlog (tier-2)

Differential Revision: https://phabricator.services.mozilla.com/D72802
2020-04-28 09:58:21 +00:00
Bob Clary d3c30177b9 Bug 1633297 - Handle I/O Errors when reading temperatures in raptor, r=perftest-reviewers,AlexandruIonescu.
Depends on D72577

Differential Revision: https://phabricator.services.mozilla.com/D72578
2020-04-28 09:04:58 +00:00
Bob Clary 80ab483d5d Bug 1633302 - Remote android tests must use root=True appropriately when dealing with app created files, r=gbrown.
Depends on D72576

Differential Revision: https://phabricator.services.mozilla.com/D72577
2020-04-27 15:45:59 +00:00
Bob Clary 1559eee282 Bug 1633301 - [mozdevice] ADBDevice.rm should raise an error if the target was not deleted, r=gbrown.
Depends on D72575

Differential Revision: https://phabricator.services.mozilla.com/D72576
2020-04-27 15:47:04 +00:00
Bob Clary 5fcb5f9c63 Bug 1632959 - Use /data/local/tmp/tests/raptor for test root instead of /sdcard/raptor, r=whimboo,perftest-reviewers,sparky.
Depends on D72574

Differential Revision: https://phabricator.services.mozilla.com/D72575
2020-04-27 13:54:26 +00:00
Csoregi Natalia b073baab86 Backed out 30 changesets (bug 1556556, bug 1631568) for multiple mochitest failures. CLOSED TREE
Backed out changeset edd529f7a9c5 (bug 1631568)
Backed out changeset 1cc0881e244b (bug 1631568)
Backed out changeset ed3c1e85d5e3 (bug 1556556)
Backed out changeset 38ffc6215bbf (bug 1556556)
Backed out changeset 03c2c25d8023 (bug 1556556)
Backed out changeset 9c717eb067b8 (bug 1556556)
Backed out changeset 98e26bc98b85 (bug 1556556)
Backed out changeset 05a6a581e755 (bug 1556556)
Backed out changeset 867946cf05bb (bug 1556556)
Backed out changeset 20d72a334530 (bug 1556556)
Backed out changeset 2c62e61d9054 (bug 1556556)
Backed out changeset 62a223d057d2 (bug 1556556)
Backed out changeset 2c5d55a1f0b1 (bug 1556556)
Backed out changeset 700447945b4e (bug 1556556)
Backed out changeset 93190ae4f5ff (bug 1556556)
Backed out changeset a7bd34d961bb (bug 1556556)
Backed out changeset fccd1d3c7189 (bug 1556556)
Backed out changeset 24056e47183d (bug 1556556)
Backed out changeset 204881474cc1 (bug 1556556)
Backed out changeset 387320881876 (bug 1556556)
Backed out changeset be8f5eb58460 (bug 1556556)
Backed out changeset 629c58a9166b (bug 1556556)
Backed out changeset 4312b2b5dda8 (bug 1556556)
Backed out changeset d11dbf6403a5 (bug 1556556)
Backed out changeset 95c54c023779 (bug 1556556)
Backed out changeset 80fcb7e71188 (bug 1556556)
Backed out changeset d75a4ecb0d47 (bug 1556556)
Backed out changeset 903c4de34e7a (bug 1556556)
Backed out changeset f15334a3e803 (bug 1556556)
Backed out changeset 9553e99137ea (bug 1556556)
2020-04-28 12:43:11 +03:00
Botond Ballo 3aed1ee626 Bug 1556556 - Update test expectations for tests which are now passing. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D69642
2020-04-28 01:43:09 +00:00
Botond Ballo 444afd7fd4 Bug 1556556 - Update test expectations for elementTiming.html. r=mstange
This test is failing due to the rounding error described in bug 1627365.
As this is a web platform test, it seems inappropriate to modify the
test itself upstream to avoid a Firefox-specific rounding error.

Differential Revision: https://phabricator.services.mozilla.com/D69641
2020-04-28 01:43:02 +00:00
Florin Strugariu 6d34b7e399 Bug 1633391 - Remove tp6-facebook-old test and replace the recording in tp6-facebook desktop tests r=perftest-reviewers,davehunt
Differential Revision: https://phabricator.services.mozilla.com/D72648
2020-04-27 13:27:48 +00:00
Mats Palmgren 32769d9cf6 Bug 1607954 part 3 - [css-grid][css-align] Add tentative tests and update devtools support files for Masonry layout. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D67063
2020-04-28 01:24:37 +00:00
jayati 0881978969 Bug 1620438 - Remove references to extensions.webservice.discoverURL. r=robwu,remote-protocol-reviewers,marionette-reviewers,perftest-reviewers,whimboo,sparky
Differential Revision: https://phabricator.services.mozilla.com/D71203
2020-04-27 14:36:04 +00:00
Andreea Pavel 3b0cf47a63 Bug 1632931 - update mac expectancy for getcredential-rk-passing.https.html r=egao
Differential Revision: https://phabricator.services.mozilla.com/D72747
2020-04-27 20:24:36 +00:00
Edwin Takahashi 9804646f41 Bug 1608837 - add tests from web-platform-tests manifests into list of supported tests r=ahal
This change will permit the `TestResolver` to add web-platform-tests into the list of supported tests.

Changes:
  - add web-platform-test test objects to the list of supported tests.
  - adjust value of attributes name, manifest, manifest_relpath.

Differential Revision: https://phabricator.services.mozilla.com/D70727
2020-04-27 20:33:45 +00:00
Jan-Ivar Bruaroey 4c6caa0c3d Bug 1624181 - Omit getDisplayMedia() function on android to aid feature detection. r=dminor,snorp,webidl,smaug
Differential Revision: https://phabricator.services.mozilla.com/D72030
2020-04-27 15:05:29 +00:00
Joel Maher 18ac0dd2f1 Bug 1632822 - create webrender list of crashtests to have focused tests on android phones. r=bc
create webrender list of crashtests to have focused tests on android phones

Differential Revision: https://phabricator.services.mozilla.com/D72570
2020-04-27 18:06:47 +00:00
Byron Campen [:bwc] ae12cfb266 Bug 1629565: Another test we should probably have. Passes. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D72245
2020-04-24 19:27:20 +00:00
Byron Campen [:bwc] aa441132b7 Bug 1629565: Test-cases for transitioning to "new" gathering state. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D72241
2020-04-27 16:44:27 +00:00
Byron Campen [:bwc] d3aad2af3d Bug 1629565: Test that we do not transition to "gathering" on rollback if we were already done gathering. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D72239
2020-04-27 16:43:40 +00:00
Byron Campen [:bwc] 0e6e49d74d Bug 1629565: Test that we do not transition to "gathering" on a simple reoffer. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D72236
2020-04-27 16:42:49 +00:00
Byron Campen [:bwc] 3f2ac1a3c0 Bug 1629565: Test-case for bug. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D72234
2020-04-24 19:23:20 +00:00
Henrik Skupin 9f8c78de2f Bug 1619481 - [marionette] IdlePromise should not hang when underlying window gets closed. r=marionette-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D72109
2020-04-27 14:26:19 +00:00
Gregory Mierzwinski 8ac3b2e5f0 Bug 1632993 - Add the removed -live suffix in youtube-playback tests. r=perftest-reviewers,Marian
This patch re-adds the `-live` suffix to raptor-youtube-playback tests only.

Differential Revision: https://phabricator.services.mozilla.com/D72453
2020-04-27 13:16:59 +00:00
Tooru Fujisawa 68c7f2f41e Bug 1628784 - Pass TOPSRCDIR environment variable to jsapi-tests, in order to read test files. r=Yoric
Differential Revision: https://phabricator.services.mozilla.com/D71255
2020-04-27 11:37:13 +00:00
Andrew Creskey b22c676006 Bug 1632225 - Add Fenix and Geckoview_Example applink tests r=tarek,sparky
Initial mach perftest for fenix, gve, fennec cold process applink.

Key metric is processLaunchToNavStart, although the standard navigation metrics are also captured.

Differential Revision: https://phabricator.services.mozilla.com/D72160
2020-04-26 20:00:40 +00:00
Sylvestre Ledru 7f26dcf1b6 Bug 1617369 - Reformat recent rust changes with rustfmt r=emilio
Done with:
./mach lint -l rustfmt --fix
with
rustfmt 1.4.12-stable (a828ffe 2020-03-11)

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D72527
2020-04-25 21:21:32 +00:00
Razvan Maries b03c3ae11a Bug 1551615 - Disabled clearkey-mp4-playback-temporary-multikey-sequential-readyState.https.html and clearkey-mp4-update-disallowed-input.https.html on Linux. r=intermittent-reviewers,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D72515
2020-04-25 08:50:18 +00:00
Bastien Orivel 8052061256 Bug 1606281 - Part 1: Update warp to 0.2. r=jgraham,webdriver-reviewers
Pretty straightforward update. This duplicates the tokio stack because
audioipc hasn't been updated yet.  (https://github.com/djg/audioipc-2/issues/97)

Differential Revision: https://phabricator.services.mozilla.com/D71462
2020-04-20 15:27:31 +00:00
Andreea Pavel 950ecc7ea1 Bug 1626493 - update mac expectancy for mix-of-ids.https.html r=egao
Differential Revision: https://phabricator.services.mozilla.com/D72073
2020-04-25 06:25:46 +00:00
Andreea Pavel 213a6f092a Bug 1629700 - Update expectancy for manifest-utf8-with-bom.https.html on mac r=egao
Differential Revision: https://phabricator.services.mozilla.com/D72074
2020-04-25 06:16:04 +00:00
Edwin Takahashi 674090e5d1 Bug 1608837 - add updated runtime files with web-platform-tests data r=ahal
Changes:
  - pull web-platform-tests runtime data for all platforms.

Differential Revision: https://phabricator.services.mozilla.com/D71610
2020-04-24 20:53:43 +00:00
Henrik Skupin 88e6dd92b0 Bug 1627434 - [raptor] Cache current tab id to support Fennec for background tests. r=perftest-reviewers,sparky
When Raptor moves Fennec into the background querying for
the active tab doesn't return any value. To fix that the
current tab id can be cached, which also doesn't require
us to always have to query for the current tab when updating
or closing it.

Differential Revision: https://phabricator.services.mozilla.com/D72033
2020-04-24 19:50:10 +00:00
Henrik Skupin 6637db11c1 Bug 1627434 - [raptor] Only create a new initial tab when tests require it. r=perftest-reviewers,Bebe
Differential Revision: https://phabricator.services.mozilla.com/D72032
2020-04-23 11:45:29 +00:00
Chris AtLee b246a1493c Bug 1632601: Create test archives for jsreftest and jittest r=ahal
Split out jsreftest and jittest files into their own packages, removing them
from the common package.

This speeds up extracting files from the common test archive for
non-jsreftest/jittest suites.

Also, remove some files from the web-platform test archive that are already
present in the common archive.

Differential Revision: https://phabricator.services.mozilla.com/D72192
2020-04-24 20:18:58 +00:00
Gregory Mierzwinski 9df7446173 Bug 1632865 - Add Raptor live site tests to whitelist and immediately disable playback. r=perftest-reviewers,Bebe
This patch adds the new live site tests to the whitelist so that they can run. It also moves the playback settings back to where it was (before any test name changes) and adds some comments to make sure we're aware of this in the future.

Differential Revision: https://phabricator.services.mozilla.com/D72394
2020-04-24 15:28:27 +00:00
Joel Maher f8875234b3 Bug 1621095 - add reftest-qr to run focused webrender reftests on android phones. r=bc
add reftest-qr to run focused webrender reftests on android phones.

Differential Revision: https://phabricator.services.mozilla.com/D72312
2020-04-24 18:54:51 +00:00
Bob Clary 8f29aea032 Bug 1631671 - force Android pgo tests to use test_root /sdcard/tests, r=gbrown.
Depends on D71722

Differential Revision: https://phabricator.services.mozilla.com/D72375
2020-04-24 15:39:00 +00:00
Bob Clary 844410de42 Bug 1631671 - [mozdevice] Handle Scoped storage in Android 10+, r=gbrown.
On a local Pixel 2 running Android 10, launching Geckoview test app via the
shell with the profile on external storage hangs and causes an ADBTimeoutError.
Using a profile in /data/local/tests does not exhibit this behavior.

In addition, attempting to push a directory tree directly to internal
storage can fail with "remote secure_mkdirs failed" errors when pushing
directories containing subdirectories to internal storage on /data.

The subdirectories were created with insufficient permissions for the
contents of the directories to be pushed. We can work around this problem
by catching the failure and falling back to using adb push to push the
source directory tree to a temporary location on the sdcard which does
not exhibit the error and then copying the temporary location to the
desired final destination.

These changes are necessary due to the change in Scoped Storage [1]
in Android 10 and later.

Since storing profiles on the sdcard is no longer supported the choices
for possible test roots has been reduced to using internal storage.
Since geckoview expects to be able to store content under /data/local/tmp
the default test root has been changed to /data/local/tmp/tests.

By default, the test root will be shared by all instances of ADBDevice
unless the share_test_root argument is set to False in the initializer.
This allows the test root to be defined globally with out requiring
each instance of ADBDevice to be modified.

The test_root default initial value should be None, not empty string.
The ADBDevice.test_root property is now read/write to support the new
shared test_root functionality.

Android emulators have exhibited an intermittent failure to clear logcat.
A ride-along change to retry the log clearing is included.

adb pull can fail if not all of the files have permission to be read.
This situation can appear when a profile is located on internal storage
and an app such as geckoview writes files to it. They will be readable
only by the app until the permissions are changed. Work around this
by calling chmod -R on any thing that is to be pulled from the device.


Bump mozdevice version to 3.1.2.

[1] https://developer.android.com/training/data-storage#scoped-storage

Differential Revision: https://phabricator.services.mozilla.com/D71722
2020-04-24 17:48:50 +00:00
Edwin Takahashi 594a2443cb Bug 1608837 - modify writeruntimes to output web-platform-tests runtime metrics r=ahal
Modify `writeruntimes` script to support the querying and writing of web-platform-test related runtimes. These are already stored on ActiveData, so it is simply a matter of querying them.

Changes:
  - obtain the full list of web-platform-tests runtimes using ActiveData's destination/output clause.
  - normalize the paths by prefixing `testing/web-platform` in front of the returned test paths and limiting the paths to depth of 1.

Differential Revision: https://phabricator.services.mozilla.com/D67554
2020-04-22 17:36:25 +00:00
Erik Nordin 83744c8b4d Bug 1626005 - Fix crash when non-constructed sheets call replace() r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D71399
2020-04-24 17:42:22 +00:00
sagudev 84e60a5d6c Bug 1322254 - Remove network.disable.ipc.security pref r=valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D71914
2020-04-24 17:42:35 +00:00