Commit Graph

132 Commits

Author SHA1 Message Date
Mark Banner
c2dd8e3266 Bug 1829618 - Enable Prettier on json files (automatic fixes). r=perftest-reviewers,webcompat-reviewers,extension-reviewers,andi,desktop-theme-reviewers,pip-reviewers,devtools-reviewers,sync-reviewers,mossop,denschub,dao,sparky,robwu,geckoview-reviewers,owlish
Differential Revision: https://phabricator.services.mozilla.com/D176336
2023-05-09 16:14:51 +00:00
Greg Mierzwinski
ccda1fd340 Bug 1831544 - Remove youtube scenario from the condprof tasks. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D177375
2023-05-08 13:48:34 +00:00
Mark Banner
c34e52e484 Bug 1825739 - Replace generic ESLint disable statements with specific and prettier ones in testing. r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D174226
2023-04-03 10:23:52 +00:00
Lata
5528bda290 Bug 1823612 - Remove usage of marionette.log.level from Log.sys.mjs. r=whimboo,webdriver-reviewers,perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D173207
2023-03-29 15:21:16 +00:00
Joel Maher
cebd6cf8ff Bug 1813390 - do not include 'cache' in condprof artifacts. r=sparky
Differential Revision: https://phabricator.services.mozilla.com/D173338
2023-03-23 12:57:53 +00:00
Andrew Halberstadt
577c4dacfe Bug 1811850 - [lint] Fix ruff errors resulting from new configuration, r=webdriver-reviewers,perftest-reviewers,whimboo,sparky,firefox-build-system-reviewers,ahochheiden
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D172359
2023-03-20 13:06:28 +00:00
Cristian Tuns
c1b52fd95e Backed out 5 changesets (bug 1811850) for causing linting bustages(bugzilla) CLOSED TREE
Backed out changeset e8fcfc7f8108 (bug 1811850)
Backed out changeset f8950d716c9e (bug 1811850)
Backed out changeset f650123cc188 (bug 1811850)
Backed out changeset d96f90c2c58b (bug 1811850)
Backed out changeset c3b0f9666183 (bug 1811850)
2023-03-16 22:16:30 -04:00
Andrew Halberstadt
d93be6a402 Bug 1811850 - [lint] Fix ruff errors resulting from new configuration, r=webdriver-reviewers,perftest-reviewers,whimboo,sparky,firefox-build-system-reviewers,ahochheiden
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D172359
2023-03-17 01:54:00 +00:00
Mark Banner
a72190cf3d Bug 1819019 - Update consumers of services/automation and services/crypto to import ES modules directly. r=markh,extension-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D171053
2023-02-28 10:11:55 +00:00
Joel Maher
32075e5733 Bug 1776751 - allow condprof tests to fallback to previous version. r=sparky
Differential Revision: https://phabricator.services.mozilla.com/D167741
2023-01-25 14:32:25 +00:00
Joel Maher
e3f27e55cf Bug 1807969 - upgrade aiohttp to 3.7.4 in condprof requirements to support new windows builder machine. r=glandium,perftest-reviewers,afinder
Differential Revision: https://phabricator.services.mozilla.com/D165694
2022-12-30 13:53:51 +00:00
Marco Castelluccio
9a5c674965 Bug 1801836 - Remove no longer necessary 'from __future__' imports under testing/. r=linter-reviewers,webdriver-reviewers,perftest-reviewers,ahal,afinder DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D165399
2022-12-23 10:08:06 +00:00
Marco Castelluccio
8f59316975 Bug 1790816 - Reformat testing/ with isort. r=linter-reviewers,webdriver-reviewers,perftest-reviewers,jgraham,gbrown,whimboo,sparky,ahal
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D162657
2022-12-21 14:38:37 +00:00
Joel Maher
7104da191f Bug 1780132 - catch common exception from the condprof scenario. r=sparky
Differential Revision: https://phabricator.services.mozilla.com/D154391
2022-08-12 12:13:44 +00:00
Joel Maher
82595c90ab Bug 1780060 - reduce exceptions coming from condprof generation. r=sparky
Differential Revision: https://phabricator.services.mozilla.com/D152316
2022-07-22 19:57:17 +00:00
Mark Banner
4bfafd41fa Bug 1779982 - Migrate places consumers to use ESM imports directly. r=mak,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D152005
2022-07-20 22:34:21 +00:00
smolnar
102b779608 Backed out 8 changesets (bug 1779982, bug 1780017, bug 1780347) for causing doc generate failures. CLOSED TREE
Backed out changeset 3f22c0f99cf1 (bug 1780347)
Backed out changeset 6f20b7e4b21b (bug 1780017)
Backed out changeset ae6062c69aeb (bug 1780017)
Backed out changeset e668d7778d97 (bug 1780017)
Backed out changeset e158fc41594b (bug 1780017)
Backed out changeset d4c69c956271 (bug 1779982)
Backed out changeset 145212fd826d (bug 1779982)
Backed out changeset 54079aaa1857 (bug 1779982)
2022-07-20 22:43:53 +03:00
Mark Banner
23086da9b9 Bug 1779982 - Migrate places consumers to use ESM imports directly. r=mak,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D152005
2022-07-20 15:50:40 +00:00
Iulian Moraru
1108246986 Backed out 7 changesets (bug 1779982, bug 1780017) for causing multiple failures. CLOSED TREE
Backed out changeset f33a58aa2f3f (bug 1780017)
Backed out changeset e21c85d61b91 (bug 1780017)
Backed out changeset 213ee5578e7c (bug 1780017)
Backed out changeset ea9b3bf42ea1 (bug 1780017)
Backed out changeset d2d8530f3c4d (bug 1779982)
Backed out changeset 088e5148c307 (bug 1779982)
Backed out changeset 267e08f3868a (bug 1779982)
2022-07-20 15:44:53 +03:00
Mark Banner
e84aaa1b85 Bug 1779982 - Migrate places consumers to use ESM imports directly. r=mak,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D152005
2022-07-20 10:36:49 +00:00
Joel Maher
b0149089f3 Bug 1776374 - add output for fetch-condprofile location. r=sparky
Differential Revision: https://phabricator.services.mozilla.com/D151660
2022-07-13 13:09:15 +00:00
Joel Maher
5c9aa6f1a2 Bug 1779265 - catch further exceptions in condprof creation. r=sparky
Differential Revision: https://phabricator.services.mozilla.com/D151651
2022-07-13 13:08:50 +00:00
Joel Maher
f8ccd3e0e0 Bug 1776751 - use version with conditioned profile. r=sparky
Differential Revision: https://phabricator.services.mozilla.com/D150666
2022-07-11 14:30:26 +00:00
Joel Maher
bec477d9ae Bug 1773889 - handing another exception edge case with conditioned profiles. r=sparky
Differential Revision: https://phabricator.services.mozilla.com/D151084
2022-07-06 14:29:45 +00:00
Joel Maher
1dc49750b8 Bug 1773889 - exit with TBPL_RETRY for failed condprof job. r=sparky
Differential Revision: https://phabricator.services.mozilla.com/D150052
2022-06-23 12:09:48 +00:00
Alex Ionescu
1be10545ab Bug 1769482 - Fix imgur intermittent r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D148688
2022-06-16 13:00:23 +00:00
Joel Maher
db28226dd1 Bug 1769098 - initial work to allow taskcluster/mozbase/mozharness to support conditioned profiles. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D146220
2022-05-16 19:11:46 +00:00
Iulian Moraru
bdd514047e Backed out changeset fee2a1521dfe (bug 1769098) for causing python failures. CLOSED TREE 2022-05-13 21:03:32 +03:00
Joel Maher
e041c47bdc Bug 1769098 - initial work to allow taskcluster/mozbase/mozharness to support conditioned profiles. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D146220
2022-05-13 15:21:23 +00:00
Gregory Mierzwinski
cab117c6f9 Bug 1756863 - Pass the external test root found in raptor to condprof. r=perftest-reviewers,AlexandruIonescu
This patch modifies condprof to accept an optional `remote_test_root` argument so that we can change where the profile gets created and pulled from. Then we pass the external test root through this parameter from raptor to condprof. This fixes an issue on the Samsung A51 device as it can't store the profiles in the default location.

Differential Revision: https://phabricator.services.mozilla.com/D139517
2022-03-11 13:14:50 +00:00
Sylvestre Ledru
caaedeee98 Bug 1753413 - fx doc: Remove whitespaces, trailing lines & windows CR r=andi,perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D137741
2022-02-03 18:34:58 +00:00
Alex Lopez
63022efc7a Bug 1696251: Allow mach commands as stand-alone functions and adapt existing commands. r=mhentges,webdriver-reviewers,perftest-reviewers,sparky,whimboo
This removes the `@CommandProvider` decorator and the need to implement
mach commands inside subclasses of `MachCommandBase`, and moves all
existing commands out from classes to module level functions.

Differential Revision: https://phabricator.services.mozilla.com/D121512
2021-09-27 18:12:51 +00:00
Butkovits Atila
eb735ac57e Backed out changeset 53b1fa0faa6d (bug 1696251) for breaking the static-analysis integration. a=backout 2021-09-23 13:06:40 +03:00
Alex Lopez
a8e7083c84 Bug 1696251: Allow mach commands as stand-alone functions and adapt existing commands. r=mhentges,webdriver-reviewers,perftest-reviewers,sparky,whimboo
This removes the `@CommandProvider` decorator and the need to implement
mach commands inside subclasses of `MachCommandBase`, and moves all
existing commands out from classes to module level functions.

Differential Revision: https://phabricator.services.mozilla.com/D121512
2021-09-21 20:38:16 +00:00
Butkovits Atila
c06a3dd9fa Backed out changeset 510dd46a9de7 (bug 1696251) for causing Android build bustages. 2021-09-21 05:16:50 +03:00
Alex Lopez
fe61e94ec8 Bug 1696251: Allow mach commands as stand-alone functions and adapt existing commands. r=mhentges,webdriver-reviewers,perftest-reviewers,sparky,whimboo
This removes the `@CommandProvider` decorator and the need to implement
mach commands inside subclasses of `MachCommandBase`, and moves all
existing commands out from classes to module level functions.

Differential Revision: https://phabricator.services.mozilla.com/D121512
2021-09-20 20:21:07 +00:00
Noemi Erli
91aa2e2b9c Backed out changeset 5f5b612878f3 (bug 1696251) for causing multiple bustages 2021-09-18 02:22:39 +03:00
Alex Lopez
bf860fe7dc Bug 1696251: Allow mach commands as stand-alone functions and adapt existing commands. r=mhentges,webdriver-reviewers,perftest-reviewers,sparky,whimboo
This removes the `@CommandProvider` decorator and the need to implement
mach commands inside subclasses of `MachCommandBase`, and moves all
existing commands out from classes to module level functions.

Differential Revision: https://phabricator.services.mozilla.com/D121512
2021-09-17 19:00:39 +00:00
Alex Ionescu
b036f909bc Bug 1718630 - Use mozversion to get the version of the browser r=perftest-reviewers,davehunt
Differential Revision: https://phabricator.services.mozilla.com/D122854
2021-08-20 12:05:38 +00:00
Sebastian Hengst
113d8f5e5a Backed out 2 changesets (bug 1718630) for permanent condprof failures. a=backout
Backed out changeset f281bc9e4fbc (bug 1718630)
Backed out changeset a80c47c6cc82 (bug 1718630)
2021-08-20 11:47:16 +02:00
Alex Ionescu
4b736bb2ca Bug 1718630 - Use mozversion to get the version of the browser r=perftest-reviewers,davehunt
Differential Revision: https://phabricator.services.mozilla.com/D122854
2021-08-19 11:50:17 +00:00
Alex Lopez
77ce415604 Bug 1696251 - Replace self with command_context where possible in existing mach commands. r=mhentges,webdriver-reviewers,perftest-reviewers,whimboo
This step removes all the dependencies of mach commands to
having a MachCommandBase as the `self` by using the `command_context`
argument instead. This also removes any remaining statefulness from those
classes that implement mach commands, ultimately making it easier to move
existing commands out of classes in a follow-up.

Differential Revision: https://phabricator.services.mozilla.com/D118058
2021-07-19 16:04:25 +00:00
Butkovits Atila
a07f790e42 Backed out changeset e1921c5112d8 (bug 1696251) for causing bustages complaining about 'CommandContext'. CLOSED TREE 2021-07-16 20:35:55 +03:00
Alex Lopez
190e03aaab Bug 1696251 - Replace self with command_context where possible in existing mach commands. r=mhentges,webdriver-reviewers,perftest-reviewers,whimboo
This step removes all the dependencies of mach commands to
having a MachCommandBase as the `self` by using the `command_context`
argument instead. This also removes any remaining statefulness from those
classes that implement mach commands, ultimately making it easier to move
existing commands out of classes in a follow-up.

Differential Revision: https://phabricator.services.mozilla.com/D118058
2021-07-16 15:51:29 +00:00
Alex Ionescu
c4f6df0559 Bug 1710452 - Enable browsertime YTP tests r=perftest-reviewers,Bebe
Differential Revision: https://phabricator.services.mozilla.com/D116382
2021-06-30 13:35:35 +00:00
surajeet310
a6cc0d3961 Bug 1714688 - Removed 'if PY3' logic from testing/condprofile r=mhentges
Python2 is no longer used in testing/condprofile

Differential Revision: https://phabricator.services.mozilla.com/D117942
2021-06-16 16:33:20 +00:00
Gregory Mierzwinski
27a0af4fdf Bug 1708760 - Build conditioned profiles during the tests. r=perftest-reviewers,AlexandruIonescu
This patch adds the ability to build conditioned profiles during a test (i.e. in-test, prebuilt, or in-task for CI). Using the `artifact:` prefix in --conditioned-profile will cause the conditioned profile to be downloaded from mozilla-central rather than being built locally.

The condprof package was also modified to prevent it from building and saving logs that are not very useful in local runs, preventing useless downloads or archiving, and to also be able to obtain the location of the test-built profile.

Differential Revision: https://phabricator.services.mozilla.com/D116520
2021-06-11 15:52:47 +00:00
Andrew Halberstadt
7ad44144b6 Bug 1713000 - Convert condprof unittests to use Python 3, r=releng-reviewers,bhearsum
Depends on D116035

Differential Revision: https://phabricator.services.mozilla.com/D116036
2021-05-27 16:13:06 +00:00
Alex Lopez
455d9a088b Bug 1696251 - Pass MachCommandBase object as first argument for Mach Commands. r=mhentges,remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers
As an intermediate step to allow mach commands as standalone functions, the MachCommandBase
subclass instance that currently corresponds to self has to be made available as a separate
argument (named command_context).

Differential Revision: https://phabricator.services.mozilla.com/D109650
2021-05-17 16:15:58 +00:00
Butkovits Atila
2e34e363b9 Backed out 2 changesets (bug 1696251) for causing js-bench-sm failures. CLOSED TREE
Backed out changeset 1c84c9a34575 (bug 1696251)
Backed out changeset e169193b7423 (bug 1696251)
2021-04-23 02:53:36 +03:00