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

76 Коммитов

Автор SHA1 Сообщение Дата
Bob Clary 1584100fb2 Bug 1681096 - python3 - pylint --py3k - W1618: from __future__ import absolute_import r=perftest-reviewers,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D98939
2020-12-14 17:50:17 +00:00
Bob Clary 9e125ea710 Bug 1681096 - python3 - pylint --py3k - W1619: from __future__ import division r=marionette-reviewers,perftest-reviewers,gbrown
Differential Revision: https://phabricator.services.mozilla.com/D98938
2020-12-11 16:05:25 +00:00
Sylvestre Ledru c0f6fe8caf Bug 1562642 - Add missing license headers r=mhoye,marionette-reviewers,webdriver-reviewers,perftest-reviewers,tarek
Differential Revision: https://phabricator.services.mozilla.com/D97138
2020-11-17 02:06:54 +00:00
Ricky Stewart 02a7b4ebdf Bug 1654103: Standardize on Black for Python code in `mozilla-central`.
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-26 18:34:53 +00:00
Bogdan Tara da1098d4aa Backed out 10 changesets (bug 1654103, bug 1672023, bug 1518999) for PanZoomControllerTest.touchEventForResult gv-junit failures CLOSED TREE
Backed out changeset ff3fb0b4a512 (bug 1672023)
Backed out changeset e7834b600201 (bug 1654103)
Backed out changeset 807893ca8069 (bug 1518999)
Backed out changeset 13e6b92440e9 (bug 1518999)
Backed out changeset 8b2ac5a6c98a (bug 1518999)
Backed out changeset 575748295752 (bug 1518999)
Backed out changeset 65f07ce7b39b (bug 1518999)
Backed out changeset 4bb80556158d (bug 1518999)
Backed out changeset 8ac8461d7bd7 (bug 1518999)
Backed out changeset e8ba13ee17f5 (bug 1518999)
2020-10-24 03:36:18 +03:00
Ricky Stewart c0cea3b0fa Bug 1654103: Standardize on Black for Python code in `mozilla-central`. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-23 20:40:42 +00:00
Dorel Luca 1ff59cb7a3 Backed out changeset 7558c8821a07 (bug 1654103) for multiple failures. CLOSED TREE 2020-10-22 03:51:06 +03:00
Ricky Stewart 50762dacab Bug 1654103: Standardize on Black for Python code in `mozilla-central`. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-21 21:27:27 +00:00
Ricky Stewart 362abcf949 Bug 1670357 - Remove `make` targets for cleaning: `clean`, `realclean`, `clobber`, `distclean`, `clobber_all`, `everything` r=firefox-build-system-reviewers,mhentges
The `clobber` targets are superseded by `mach clobber`, so we don't need them for any reason. The `clean` target is meant to get you to a post-`configure` state, but it doesn't really work, and if it's necessary for you to be in that state for some reason you can just clobber and re-`configure`, so it doesn't seem worth it to get it working again. Instead, delete all of them. Also delete `everything` which is not useful when `clobber` doesn't exist.

Differential Revision: https://phabricator.services.mozilla.com/D93514
2020-10-15 20:37:18 +00:00
Sylvestre Ledru da34b6a58e Bug 1661514 - Reformat some python files with black 20.8b1 r=rstewart
# ignore-this-changeset

Depends on D88711

Differential Revision: https://phabricator.services.mozilla.com/D88712
2020-09-07 14:05:10 +00:00
Cristina Coroiu 8eaafae8fd Backed out 2 changesets (bug 1661514) for lint failure on a CLOSED TREE
Backed out changeset 8e58c88f756b (bug 1661514)
Backed out changeset aef89f9a8031 (bug 1661514)
2020-09-01 19:34:12 +03:00
Sylvestre Ledru 5ee2fbd7cb Bug 1661514 - Reformat some python files with black 20.8b1 r=rstewart
# ignore-this-changeset

Depends on D88711

Differential Revision: https://phabricator.services.mozilla.com/D88712
2020-08-31 17:06:22 +00:00
Aki Sasaki 00f7af9d96 Bug 1661022 - add trailing slash to pypi.pub.b.m.o/pub r=releng-reviewers,bhearsum DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D88181
2020-08-25 19:41:47 +00:00
Tarek Ziadé fa32b62354 Bug 1655869 - set the right content-type when calling geckodriver r=Bebe
This patch sets the right content-type when calling geckodriver,
in the arsenic client. Long term fix is to use a new version
of  Arsenic with the fix. See https://github.com/HDE/arsenic/issues/85

Differential Revision: https://phabricator.services.mozilla.com/D85256
2020-07-29 12:05:35 +00:00
Andrew Halberstadt d0fbcca0b6 Bug 985141 - [mozbuild] Remove leading underscore from MozbuildObject._activate_virtualenv, r=firefox-build-system-reviewers,perftest-reviewers,andi,AlexandruIonescu,rstewart
This function is used all across the tree and should be considered a public API.

Differential Revision: https://phabricator.services.mozilla.com/D85045
2020-07-28 16:06:10 +00:00
Bob Clary 1cf58c8cce Bug 1486004 - Part 7 - Update Conditioned Profiles to support unrooted android devices using mozdevice 4.0.0, ? r=tarek
Depends on D82749

Differential Revision: https://phabricator.services.mozilla.com/D82750
2020-07-17 20:48:33 +00:00
Narcis Beleuzu b1faa2872a Backed out 17 changesets (bug 1486004) for wrench bustage on android.py . CLOSED TREE
Backed out changeset cae730f105d7 (bug 1486004)
Backed out changeset e0094d50a315 (bug 1486004)
Backed out changeset 424425ed98c6 (bug 1486004)
Backed out changeset 551232749abe (bug 1486004)
Backed out changeset 505747095def (bug 1486004)
Backed out changeset 5b1c62c4a4d5 (bug 1486004)
Backed out changeset 0a1c8d50ee69 (bug 1486004)
Backed out changeset 6ef81c676859 (bug 1486004)
Backed out changeset 234e55153fb6 (bug 1486004)
Backed out changeset 2f33b309d746 (bug 1486004)
Backed out changeset 48947692c176 (bug 1486004)
Backed out changeset 473bac8eedd9 (bug 1486004)
Backed out changeset af6afed0a04a (bug 1486004)
Backed out changeset a0e2f91eb4d4 (bug 1486004)
Backed out changeset 138c987440c7 (bug 1486004)
Backed out changeset 6d2e305f4722 (bug 1486004)
Backed out changeset 1181ff03bb05 (bug 1486004)
2020-07-17 23:43:57 +03:00
Bob Clary 8cfe0954f7 Bug 1486004 - Part 7 - Update Conditioned Profiles to support unrooted android devices using mozdevice 4.0.0, ? r=tarek
Depends on D82749

Differential Revision: https://phabricator.services.mozilla.com/D82750
2020-07-16 21:32:53 +00:00
Narcis Beleuzu 1eb115035d Backed out 20 changesets (bug 1486004, bug 1653094) for wrench bustages. CLOSED TREE
Backed out changeset 120c64ebdea3 (bug 1486004)
Backed out changeset b10f105b1c36 (bug 1486004)
Backed out changeset 7f186e6bcccc (bug 1486004)
Backed out changeset cdda7b349cd8 (bug 1486004)
Backed out changeset 650c47e81402 (bug 1486004)
Backed out changeset 2bcca7cf3f1b (bug 1486004)
Backed out changeset e1df276f8a8d (bug 1486004)
Backed out changeset f6f5e7f2bd0a (bug 1486004)
Backed out changeset 1c56cb03ce53 (bug 1486004)
Backed out changeset 582cd190f174 (bug 1486004)
Backed out changeset 7c162e1b3a79 (bug 1486004)
Backed out changeset d1088e178216 (bug 1486004)
Backed out changeset 40763f4afd26 (bug 1486004)
Backed out changeset f20eb5b5a670 (bug 1486004)
Backed out changeset 6349ee0bd63f (bug 1486004)
Backed out changeset 7c23729053f6 (bug 1486004)
Backed out changeset 49586014bd29 (bug 1486004)
Backed out changeset 07971e82ae85 (bug 1653094)
Backed out changeset 47e7295e9c19 (bug 1653094)
Backed out changeset 57a25bbeec37 (bug 1653094)
2020-07-16 17:58:09 +03:00
Bob Clary 155420ceec Bug 1486004 - Part 7 - Update Conditioned Profiles to support unrooted android devices using mozdevice 4.0.0, ? r=tarek
Depends on D82749

Differential Revision: https://phabricator.services.mozilla.com/D82750
2020-07-15 20:58:27 +00:00
Mihai Alexandru Michis a1d49fb98d Backed out 17 changesets (bug 1486004) for causing bustages in AccessCheck.h
CLOSED TREE

Backed out changeset 86a0855e1e45 (bug 1486004)
Backed out changeset 4fc98067edc5 (bug 1486004)
Backed out changeset 8ab3f1597fde (bug 1486004)
Backed out changeset b487e98320fb (bug 1486004)
Backed out changeset 4cba8e6bc515 (bug 1486004)
Backed out changeset d0db5eef2343 (bug 1486004)
Backed out changeset 50285a87de6b (bug 1486004)
Backed out changeset 9730c0303810 (bug 1486004)
Backed out changeset 140a9d2362f3 (bug 1486004)
Backed out changeset 9d1ce06f6039 (bug 1486004)
Backed out changeset 88a5a4ab39fa (bug 1486004)
Backed out changeset eb186c92232d (bug 1486004)
Backed out changeset 677f2129750e (bug 1486004)
Backed out changeset 81427a5f2103 (bug 1486004)
Backed out changeset 38d7def3d425 (bug 1486004)
Backed out changeset a9e73221c471 (bug 1486004)
Backed out changeset ebe8c2d5432e (bug 1486004)
2020-07-16 15:29:29 +03:00
Bob Clary f8f483ef54 Bug 1486004 - Part 7 - Update Conditioned Profiles to support unrooted android devices using mozdevice 4.0.0, ? r=tarek
Depends on D82749

Differential Revision: https://phabricator.services.mozilla.com/D82750
2020-07-15 20:58:27 +00:00
Chris AtLee d1fb386dae Bug 1555560: Add support for black formatting with mozlint; r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D33125
2020-07-08 22:08:08 +00:00
Mihai Alexandru Michis 5f385df474 Backed out 2 changesets (bug 1555560) for causing multiple lint failures.
CLOSED TREE

Backed out changeset bd9460ac6e48 (bug 1555560)
Backed out changeset f2896032ced6 (bug 1555560)
2020-07-09 01:04:18 +03:00
Chris AtLee 7f8f324f06 Bug 1555560: Add support for black formatting with mozlint; r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D33125
2020-07-08 19:35:49 +00:00
Tarek Ziadé 410c14bebe Bug 1644320 - Fix how we setup the virtualenv r=sparky
Fix how we setup the virtualenv

Differential Revision: https://phabricator.services.mozilla.com/D81597
2020-07-01 18:12:06 +00:00
Tarek Ziadé 5ba63d00e0 Bug 1639011 - Adding a marker on conditioned profiles. r=sparky
This patch will add a marker on conditioned profiles
when they are being used via client.py

Differential Revision: https://phabricator.services.mozilla.com/D75829
2020-05-19 13:34:08 +00:00
Gregory Mierzwinski 9e71053fad Bug 1636886 - Only download conditioned-profiles once in Raptor. r=tarek,perftest-reviewers,Bebe
This patch makes it so that we only download and extract the conditioned-profile once and have tests use copies of that original copy. It also adds some debugging logs to the condprof `download_file` function to debug an issue where we seem to hit a cache-miss when we have already downloaded the artifact.

Differential Revision: https://phabricator.services.mozilla.com/D75176
2020-05-14 11:20:42 +00:00
Tarek Ziadé fb938e9051 Bug 1633158 - raise the retries r=Bebe
This change tries to address the intermittents  we get
when getting indexed artifacts by raising the retries
and how long we pause between retries.

Differential Revision: https://phabricator.services.mozilla.com/D73022
2020-04-30 09:14:02 +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
Tarek Ziadé fff1b40b7b Bug 1632482 - close all tabs at the end of a condprof scenario r=whimboo
This patch makes sure all tabs are closed before we close the
browser.

Differential Revision: https://phabricator.services.mozilla.com/D72158
2020-04-23 21:33:47 +00:00
Tarek Ziadé 97797dc69b Bug 1632386 - retry on changelog downloads r=Bebe
Adds retries for the changelog as well.

Differential Revision: https://phabricator.services.mozilla.com/D72108
2020-04-23 13:58:08 +00:00
Tooru Fujisawa 2108f90fcf Bug 1623965 - Improve error message when binary not found while testing. r=glandium,remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,Bebe,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D67726
2020-04-21 11:58:04 +00:00
Tarek Ziadé fc7f072b74 Bug 1628982 - Activate the condprofile on desktop + GV r=Bebe,perftest-reviewers,whimboo
This patches fixes several problems found on Raptor and the condprof:

Raptor:

- Make sure the conditioned profile dir is removed after
  it's been used, not before.
- Adds the --project option to raptor so we know if we're on try
  autoland or mozilla-central.
- Both Fennec and Fenix are deactivated for now
- Use the allow-downgrade flag to be flexible on build ids (the next step will be bug 1628666)

Conditioned profiles, curation of the profile prefs:
- Fully deactivates Normandy during Raptor tests (app.normandy.enabled)
- Removes any GFX blacklisting (gfx.blacklist.*)
- Removes any marionette pref
- Enforce extensions sideloading (extensions.startupScanScopes)

Differential Revision: https://phabricator.services.mozilla.com/D70518
2020-04-16 14:01:55 +00:00
Mihai Alexandru Michis 7e2477521b Backed out changeset bf87ca547997 (bug 1628982) for causing raptor failures.
CLOSED TREE
2020-04-14 22:22:25 +03:00
Tarek Ziadé 410faf3d47 Bug 1628982 - Activate the condprofile on desktop + GV r=Bebe,perftest-reviewers
Activates the conditioned profile by doing the following changes:

- make sure the conditioned profile dir is removed after
  it's been used, not before.
- add the --project option to raptor so we know if we're on try
  or mozilla-central.
- Both Fennec and Fenix are deactivated for now.
- Remove any gfx.blacklist.* prefs when using a conditioned profile

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

--HG--
extra : moz-landing-system : lando
2020-04-14 08:32:13 +00:00
Tarek Ziadé 7fee8c509a Bug 1623220 - reduce the work done on android r=Bebe
On android, for the full profile, reduce the number of
visited pages and stop doing bookmarks for now

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

--HG--
extra : moz-landing-system : lando
2020-04-06 09:44:21 +00:00
Tarek Ziadé 645f6e37ef Bug 1626742 - catch UnknownError r=Bebe
Changed the full scenario to be more relisient on arsenic errors

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

--HG--
extra : moz-landing-system : lando
2020-04-03 08:03:50 +00:00
Tarek Ziadé 997e37880d Bug 1621275 - adding support for bookmarks r=tublitzed,pjenvey
Adds bookmarks to the full scenario (every 5 visited pages)

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

--HG--
extra : moz-landing-system : lando
2020-03-24 08:23:50 +00:00
Florin Strugariu 6e362fa517 Bug 1621619 - Switch Fennec ESR68 artifacts from the nightly builds to the release builds r=RyanVM,tarek
Differential Revision: https://phabricator.services.mozilla.com/D66388

--HG--
extra : moz-landing-system : lando
2020-03-23 14:15:50 +00:00
Tarek Ziadé 7377c4891a Bug 1621339 - Don't get TC secrets when using the client r=gbrown
This fixes the hang we get because we have 100+ calls on
trying to get a TC secret we don't even need (and can't get).

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

--HG--
extra : moz-landing-system : lando
2020-03-17 20:37:34 +00:00
Tarek Ziadé bcad1e8dda Bug 1620214 - Add a timeout for the HEAD call r=sparky
Adds a timeout on the HEAD call

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

--HG--
extra : moz-landing-system : lando
2020-03-05 16:42:37 +00:00
Tarek Ziadé 0165728187 Bug 1619198 - add mach commands for condprofs r=Bebe
Refactored condprof so we can drive it with mach

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

--HG--
extra : moz-landing-system : lando
2020-03-05 10:27:05 +00:00
Tarek Ziadé 2241078072 Bug 1619871 - Fix Python 3 test regression r=whimboo
Make sure we don't try to import arsenic when the condprofile client is used.

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

--HG--
extra : moz-landing-system : lando
2020-03-04 08:57:25 +00:00
Geoff Brown dc64cf08e6 Bug 1619586 - Major version bump for mozlog and mozcrash; r=bc,marionette-reviewers,perftest-reviewers,jgraham,whimboo
Major version number bump for both mozlog and mozcrash + requirements update.
This is very much like the previous mozlog major bump - see bug 1591384.
This patch does not update testing/web-platform/tests/tools/wptrunner/requirements.txt;
I expect that will be automatically updated by the pyup.io bot once mozlog is re-released.

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

--HG--
extra : moz-landing-system : lando
2020-03-04 00:32:38 +00:00
Tarek Ziadé 84a3d4813c Bug 1619107 - reduce work on Fennec r=gbrown
This will reduce the work done on Fennec in the full scenario

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

--HG--
extra : moz-landing-system : lando
2020-03-02 21:08:56 +00:00
Tarek Ziadé 03f321c9e7 Bug 1618856 - add a timeout for downloads r=whimboo
The stream download needs a timeout value to raise an error
if there's no response from upstream after 30 secs.

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

--HG--
extra : moz-landing-system : lando
2020-02-28 16:32:14 +00:00
Tarek Ziadé 71814e3255 Bug 1618390 - Use mozlog in condprof r=whimboo
This patch refactors the condprof logging so it uses mozlog

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

--HG--
extra : moz-landing-system : lando
2020-02-28 16:27:40 +00:00
Tarek Ziadé 5277c4f9a1 Bug 1618464 - merge heavy & async into full r=Bebe
One single scenario with options

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

--HG--
extra : moz-landing-system : lando
2020-02-29 14:06:28 +00:00
Tarek Ziadé 3b6a8ee482 Bug 1617723 - added the settled2 scenario r=jesup
this scenario visits mozilla.org then waits for 5 minutes.

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

--HG--
extra : moz-landing-system : lando
2020-02-27 07:59:11 +00:00