Commit Graph

6705 Commits

Author SHA1 Message Date
Nazım Can Altınova
bf5ead8db6 Bug 1543632 - Part 1: Move xpcshell tests under tools/profiler/tests to their own dir r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D27676

--HG--
rename : tools/profiler/tests/head_profiler.js => tools/profiler/tests/xpcshell/head_profiler.js
rename : tools/profiler/tests/test_asm.js => tools/profiler/tests/xpcshell/test_asm.js
rename : tools/profiler/tests/test_enterjit_osr.js => tools/profiler/tests/xpcshell/test_enterjit_osr.js
rename : tools/profiler/tests/test_enterjit_osr_disabling.js => tools/profiler/tests/xpcshell/test_enterjit_osr_disabling.js
rename : tools/profiler/tests/test_enterjit_osr_enabling.js => tools/profiler/tests/xpcshell/test_enterjit_osr_enabling.js
rename : tools/profiler/tests/test_feature_mainthreadio.js => tools/profiler/tests/xpcshell/test_feature_mainthreadio.js
rename : tools/profiler/tests/test_get_features.js => tools/profiler/tests/xpcshell/test_get_features.js
rename : tools/profiler/tests/test_pause.js => tools/profiler/tests/xpcshell/test_pause.js
rename : tools/profiler/tests/test_run.js => tools/profiler/tests/xpcshell/test_run.js
rename : tools/profiler/tests/test_shared_library.js => tools/profiler/tests/xpcshell/test_shared_library.js
rename : tools/profiler/tests/test_start.js => tools/profiler/tests/xpcshell/test_start.js
rename : tools/profiler/tests/xpcshell.ini => tools/profiler/tests/xpcshell/xpcshell.ini
extra : moz-landing-system : lando
2019-04-30 09:49:53 +00:00
Gerald Squelart
42078ccd2f Bug 1520238 - Measure memory by default when MOZ_PROFILER_STARTUP is set - r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D25712

--HG--
extra : moz-landing-system : lando
2019-04-30 01:42:23 +00:00
Gerald Squelart
c842141dfe Bug 1520238 - Record memory counters when requested (at startup or from the add-on) - r=mstange
Memory tracks are fed from a memory counter, which is unconditionally installed
from profiler_start(). This means:
- It is installed even if memory measurements are not requested.
- Startup profiling doesn't use profiler_start() and therefore never starts
  recording memory.

Because installing the memory counter may need to take the (non-recursive)
profiler lock, it cannot simply be installed from the common
`locked_profiler_start()` function.
Instead, it will have to be installed after each `locked_profiler_start()` call.

Also, it should only be installed if the "memory" feature is requested.

That "memory" feature is now considered available only if Firefox was built with
MOZ_REPLACE_MALLOC and MOZ_PROFILER_MEMORY. (This may effectively prevent the
old RSS&USS memory reporting which doesn't depend on these #defines, but This Is
Fine as it is not used anymore and slated for removal in bug 1521929.)

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

--HG--
extra : moz-landing-system : lando
2019-04-30 01:42:05 +00:00
Gerald Squelart
3278932a1f Bug 1540114 - Use bigger buffer when MOZ_PROFILER_STARTUP is set - r=mstange
Startup-profiling usually needs to capture more data, especially on slower
systems, so the default is changed to 10 million entries when
MOZ_PROFILER_STARTUP is set.

Also:
- Changed #define into `static constexpr` with the same type as expected by
`profiler_start()`.
- Better validity check of MOZ_PROFILER_STARTUP_ENTRIES.
- Defaults are shown in MOZ_PROFILER_HELP.

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

--HG--
extra : moz-landing-system : lando
2019-04-30 01:41:39 +00:00
Gerald Squelart
5919d66cd1 Bug 1540114 - Select all defaults in MOZ_PROFILER_STARTUP_FEATURES with keyword "default" - r=mstange
MOZ_PROFILER_FEATURES is mostly used to add features in addition to the
defaults. This will now be easier, e.g.:
`MOZ_PROFILER_STARTUP_FEATURES=default,screenshots`

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

--HG--
extra : moz-landing-system : lando
2019-04-30 01:41:19 +00:00
Gerald Squelart
fd32cddd4c Bug 1540114 - Bail out if any of the MOZ_PROFILER_STARTUP_FEATURES is not recognized - r=mstange
It is too easy to mistype a feature name, and be confused or misled by the
results. This patch will catch such errors.

The previous code was going through each possible feature, seeing if it was in
MOZ_PROFILER_STARTUP_FEATURES -- Meaning unknown names would just be ignored.
The new code is doing the reverse: Going through all names in
MOZ_PROFILER_STARTUP_FEATURES, trying to match each one with possible features;
if not found, we indicate the first name that is unknown, show the help and
exit.

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

--HG--
extra : moz-landing-system : lando
2019-04-30 01:46:09 +00:00
Gerald Squelart
6f6c076612 Bug 1540114 - Display features in MOZ_PROFILER_HELP - r=mstange
Show the list of MOZ_PROFILER_STARTUP_FEATURES with their value, name,
description, and whether they are default and/or available on this platform.

Feature descriptions are now provided in PROFILER_FOR_EACH_FEATURE.
Available features and defaults are now defined in one place, for easier
maintenance.

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

--HG--
extra : moz-landing-system : lando
2019-04-30 01:40:34 +00:00
Gerald Squelart
34fce39c37 Bug 1520104 - Using Hashmap instead of nsXHashTable - r=mstange
Moving to non-XPCOM data structures, to help with upcoming transfer to mozglue.

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

--HG--
extra : moz-landing-system : lando
2019-04-29 11:42:17 +00:00
Gerald Squelart
d736c2ae18 Bug 1520104 - Using Vector instead of nsTArray - r=mstange
Moving to non-XPCOM data structures, to help with upcoming transfer to mozglue.

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

--HG--
extra : moz-landing-system : lando
2019-04-29 11:41:52 +00:00
Gerald Squelart
79990a9b51 Bug 1520104 - Fix profiler non-unified build - r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D24696

--HG--
extra : moz-landing-system : lando
2019-04-29 11:41:22 +00:00
Gerald Squelart
6b4596ee89 Bug 1545351 - Add some missing namespaces in macros - r=mstange
Some macros would not work if they were used in a context where `namespace
mozilla` is not directly accessible. Fixed by added appropriate `mozilla::`
specifiers.

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

--HG--
extra : moz-landing-system : lando
2019-04-29 06:33:26 +00:00
Ola Gasidlo
902b74cd81 Bug 1543656 - Added node_modules folder in jest tests to list so it will be ignored by linter. r=ladybenko,sylvestre,jdescottes
As the third-party node modules are throwing errors while running ./mach lint, the path was added to the ignore list for third party folders / files.

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

--HG--
extra : moz-landing-system : lando
2019-04-26 13:11:06 +00:00
Geoff Brown
105f46a3c6 Bug 1250737 - Update android mozharness 'chunked' handling, for jittest; r=bc
It turns out there are several places where the change to suite 'jittest-chunked'
causes problem. I am abandoning that approach.
Desktop uses this trick, and this returns android '-chunked' handling to a state
similar to what it was before I started messing around!

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

--HG--
extra : moz-landing-system : lando
2019-04-25 21:17:59 +00:00
Geoff Brown
450e774300 Bug 1546922 - Update tryselect unit test name for android jittest; r=bc
Differential Revision: https://phabricator.services.mozilla.com/D28836

--HG--
extra : moz-landing-system : lando
2019-04-25 13:46:48 +00:00
Brian Grinstead
08992fb8e8 Bug 1546501 - Remove unnecessary type attributes (i.e. [type="application/javascript"]) on non-test script tags r=mossop
This is an autogenerated commit, generated with https://bug1546501.bmoattachments.org/attachment.cgi?id=9060222

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

--HG--
extra : moz-landing-system : lando
2019-04-24 19:43:57 +00:00
Andrew Halberstadt
165e3bd55b Bug 1546718 - [tryselect] Add ability to post-filter fuzzy presets interactively, r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D28713

--HG--
extra : moz-landing-system : lando
2019-04-24 19:36:03 +00:00
neha
5f0ca32845 Bug 1545054 - Define a new preset for netmonitor-tests r=Honza,ahal,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D28031

--HG--
extra : moz-landing-system : lando
2019-04-23 18:31:19 +00:00
Brian Grinstead
d71db0e638 Bug 1546471 - Add a new try preset for talos when making changes to the browser chrome r=mconley
This skips a number of talos jobs that are unlikely to be affected
by due a browser-chrome specific change

Run with: `./mach try fuzzy --preset perf-chrome`

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

--HG--
extra : moz-landing-system : lando
2019-04-23 18:24:46 +00:00
Thomas Wisniewski
b6f52532c4 Bug 1500474 - Rename webcompat-reporter directory to report-site-issue r=florian,Pike
Differential Revision: https://phabricator.services.mozilla.com/D17890

--HG--
rename : browser/extensions/webcompat-reporter/.eslintrc.js => browser/extensions/report-site-issue/.eslintrc.js
rename : browser/extensions/webcompat-reporter/background.js => browser/extensions/report-site-issue/background.js
rename : browser/extensions/webcompat-reporter/experimentalAPIs/aboutConfigPrefs.js => browser/extensions/report-site-issue/experimentalAPIs/aboutConfigPrefs.js
rename : browser/extensions/webcompat-reporter/experimentalAPIs/aboutConfigPrefs.json => browser/extensions/report-site-issue/experimentalAPIs/aboutConfigPrefs.json
rename : browser/extensions/webcompat-reporter/experimentalAPIs/browserInfo.js => browser/extensions/report-site-issue/experimentalAPIs/browserInfo.js
rename : browser/extensions/webcompat-reporter/experimentalAPIs/browserInfo.json => browser/extensions/report-site-issue/experimentalAPIs/browserInfo.json
rename : browser/extensions/webcompat-reporter/experimentalAPIs/l10n.js => browser/extensions/report-site-issue/experimentalAPIs/l10n.js
rename : browser/extensions/webcompat-reporter/experimentalAPIs/l10n.json => browser/extensions/report-site-issue/experimentalAPIs/l10n.json
rename : browser/extensions/webcompat-reporter/experimentalAPIs/pageActionExtras.js => browser/extensions/report-site-issue/experimentalAPIs/pageActionExtras.js
rename : browser/extensions/webcompat-reporter/experimentalAPIs/pageActionExtras.json => browser/extensions/report-site-issue/experimentalAPIs/pageActionExtras.json
rename : browser/extensions/webcompat-reporter/experimentalAPIs/tabExtras.js => browser/extensions/report-site-issue/experimentalAPIs/tabExtras.js
rename : browser/extensions/webcompat-reporter/experimentalAPIs/tabExtras.json => browser/extensions/report-site-issue/experimentalAPIs/tabExtras.json
rename : browser/extensions/webcompat-reporter/icons/lightbulb.svg => browser/extensions/report-site-issue/icons/lightbulb.svg
rename : browser/extensions/webcompat-reporter/locales/en-US/webcompat.properties => browser/extensions/report-site-issue/locales/en-US/webcompat.properties
rename : browser/extensions/webcompat-reporter/locales/jar.mn => browser/extensions/report-site-issue/locales/jar.mn
rename : browser/extensions/webcompat-reporter/locales/moz.build => browser/extensions/report-site-issue/locales/moz.build
rename : browser/extensions/webcompat-reporter/manifest.json => browser/extensions/report-site-issue/manifest.json
rename : browser/extensions/webcompat-reporter/moz.build => browser/extensions/report-site-issue/moz.build
rename : browser/extensions/webcompat-reporter/test/browser/browser.ini => browser/extensions/report-site-issue/test/browser/browser.ini
rename : browser/extensions/webcompat-reporter/test/browser/browser_button_state.js => browser/extensions/report-site-issue/test/browser/browser_button_state.js
rename : browser/extensions/webcompat-reporter/test/browser/browser_disabled_cleanup.js => browser/extensions/report-site-issue/test/browser/browser_disabled_cleanup.js
rename : browser/extensions/webcompat-reporter/test/browser/browser_report_site_issue.js => browser/extensions/report-site-issue/test/browser/browser_report_site_issue.js
rename : browser/extensions/webcompat-reporter/test/browser/fastclick1.html => browser/extensions/report-site-issue/test/browser/fastclick1.html
rename : browser/extensions/webcompat-reporter/test/browser/fastclick2.html => browser/extensions/report-site-issue/test/browser/fastclick2.html
rename : browser/extensions/webcompat-reporter/test/browser/head.js => browser/extensions/report-site-issue/test/browser/head.js
rename : browser/extensions/webcompat-reporter/test/browser/test.html => browser/extensions/report-site-issue/test/browser/test.html
rename : browser/extensions/webcompat-reporter/test/browser/webcompat.html => browser/extensions/report-site-issue/test/browser/webcompat.html
extra : moz-landing-system : lando
2019-04-23 17:36:40 +00:00
Andrew Halberstadt
48648a7344 Bug 1523303 - Align mozharness suite names with the ones in 'moztest.resolve', r=gbrown
This officially makes 'moztest.resolve' the source of truth when it comes to
suite names. It aligns that file with the names used in both the
desktop_unittest and android_emulator_unittest scripts.

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

--HG--
extra : moz-landing-system : lando
2019-04-22 22:32:34 +00:00
Andrew Halberstadt
14be9536c1 Bug 1523303 - [taskgraph] Define suite "categories" rather than flavours task configs, r=gbrown
Currently we have the concept of a "suite" and a "flavour" in our task
configuration.  Typically, the "suite" refers to the high-level test harness
like "mochitest" or "reftest", whereas the flavour is more specific, e.g
"browser-chrome-instrumentation" or "crashtest". However the line between suite
and flavour is not applied with any semblance of consistency which results in
inconsistent naming throughout the tree.

This patch gets rid of the concept of "flavours" entirely (at least when it
comes to task configuration). A suite is a type of test run, for example:

    - mochitest-plain
    - mochitest-devtools-chrome
    - mochitest-browser-chrome-instrumentation
    - jsreftest
    - reftest
    - firefox-ui-functional-remote
    etc

There is no confusion here between suites and flavours because flavours don't
exist. However, there are a couple of places where we *do* need to know what
"test harness" is used to run a suite. These cases are:

    1. For SCHEDULES moz.build rules
    2. For the desktop_unittest.py mozharness script which takes arguments like
       --mochitest-suite=browser (this is not a compelling use of this information
       and should be refactored to work more like the android_emulator_unittest.py
       script)

So to get this information, this patch introduces a new concept of a "category"
which is the overall "test harness" that runs the suite. For many suites, the
"category" is identical to the suite name. Unlike flavours, "categories" have
no bearing on how we call or refer to the suite.

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

--HG--
extra : moz-landing-system : lando
2019-04-22 20:44:01 +00:00
Andrew Halberstadt
a35fbb3478 Bug 1546100 - [tryselect] Fix tools/tryselect/test/test_fuzzy.py, r=jmaher
This was regressed by bug 1544816 but the test never ran on the push that regressed.
This patch also updates the 'files-changed' for the tryselect task.

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

--HG--
extra : moz-landing-system : lando
2019-04-22 18:38:58 +00:00
Andi-Bogdan Postelnicu
32fe00ed34 Bug 1544764 - Add description at review phase about defects found - clang-tidy. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D27669

--HG--
extra : moz-landing-system : lando
2019-04-18 08:49:52 +00:00
Andi-Bogdan Postelnicu
7f77f4efdf Bug 1544767 - Add description at review phase about defects found - coverity. r=bastien
Differential Revision: https://phabricator.services.mozilla.com/D27876

--HG--
extra : moz-landing-system : lando
2019-04-18 08:52:31 +00:00
Christian Holler
a15a27b2f0 Bug 1544400 - Update fuzzing builds to Clang 8 and use gold. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D27701

--HG--
extra : moz-landing-system : lando
2019-04-18 08:28:29 +00:00
Csoregi Natalia
feb0789249 Backed out changeset 7cefdbb63711 (bug 1544764) for static-analysis bustage on clang-analyzer-deadcode.DeadStores.cpp. CLOSED TREE 2019-04-18 00:33:29 +03:00
Andi-Bogdan Postelnicu
bbedccc1b9 Bug 1544764 - Add description at review phase about defects found - clang-tidy. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D27669

--HG--
extra : moz-landing-system : lando
2019-04-17 16:16:42 +00:00
Ian Moody
ced8871783 Bug 1544285 - tools/ automated ESLint no-throw-literal fixes. r=dbaron
Result of running:
$ mach eslint -funix tools/ | sed -Ee 's/:.+//' - | xargs sed -E \
    -e 's/throw ((["`])[^"]+\2);/throw new Error(\1);/g' \
    -e 's/throw ((["`])[^"]+\2 \+ [^ ";]+);/throw new Error(\1);/g' \
    -e 's/throw \(/throw new Error(/g' -i

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

--HG--
extra : moz-landing-system : lando
2019-04-16 15:02:05 +00:00
Brian Grinstead
ede8c44ef2 Bug 1544322 - Part 2.1 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in everything except for dom/ r=bzbarsky
This excludes dom/, otherwise the file size is too large for phabricator to handle.

This is an autogenerated commit to handle scripts loading mochitest harness files, in
the simple case where the script src is on the same line as the tag.

This was generated with https://bug1544322.bmoattachments.org/attachment.cgi?id=9058170
using the `--part 2` argument.

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

--HG--
extra : moz-landing-system : lando
2019-04-16 03:50:44 +00:00
Brian Grinstead
6515f97bcb Bug 1544322 - Part 1 - Remove the [type] attribute for one-liner <script> tags loading files in chrome://mochikit/content/ r=bzbarsky
This is an autogenerated commit to handle scripts loading mochitest harness files, in
the simple case where the script src is on the same line as the tag.

This was generated with https://bug1544322.bmoattachments.org/attachment.cgi?id=9058170
using the `--part 1` argument.

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

--HG--
extra : moz-landing-system : lando
2019-04-15 20:56:58 +00:00
Edwin Gao
2bd091e8ec Bug 1544441 - prevent selecting windows10-aarch64 jobs using old try syntax and fuzzy unless --full is used r=jmaher
Changes:
- added windows10-aarch64 to the filter for fuzzy, to require `--full` in order to trigger jobs
- return False for any test tasks that contain windows10-aarch64 to prevent users using old try syntax from overwhelming the limited number of hardware

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

--HG--
extra : moz-landing-system : lando
2019-04-15 21:14:17 +00:00
Andrew Halberstadt
6b482c7f2e Bug 1541527 - Remove "-e10s" from treeherder group symbols and task labels, r=jmaher,gbrown
Since e10s is the default configuration, we shouldn't explicitly mark things
with the "-e10s" suffix. Instead we should mark things that *don't* run with
'e10s. This patch removes '-e10s' from all treeherder group symbols and task
labels, adds the "-1proc" suffix to tasks that are non-e10s.

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

--HG--
extra : moz-landing-system : lando
2019-04-15 18:18:33 +00:00
Mike Shal
623a6ff7d0 Bug 1543663 - Add $HOME/.mozbuild/fzf/bin to PATH for tryselect cramtests; r=ahal
This helps run the tests locally if fzf is normally installed in
$HOME/.mozbuild. Since the tests set MOZBUILD_STATE_PATH to a temporary
directory, fzf_bootstrap() can't find fzf in the HOME location unless it
is added to PATH.

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

--HG--
extra : moz-landing-system : lando
2019-04-12 22:48:38 +00:00
Andi-Bogdan Postelnicu
c9b234eafc Bug 1543492 - for clang based static-analysis and formating add a package version that represents a baseline if we continue the analysis or prompt for an update. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D27042

--HG--
extra : moz-landing-system : lando
2019-04-11 09:58:59 +00:00
Geoff Brown
cea888163f Bug 1318091 - Add Android 7.0 gtest tasks; r=bc
Add Android 7.0 gtests, opt and debug, running against the geckoview
TestRunnerActivity.

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

--HG--
extra : moz-landing-system : lando
2019-04-11 20:49:33 +00:00
Jim Porter
cb257eff1c Bug 1479970 - Enable building Tracelogger by default; r=tcampbell
This patch enables compilation of the tracelogger by default on nightly builds
as well as providing an environment variable (JS_TRACE_LOGGING) to enable or
disable tracelogger instrumentation when compiling Javascript. This helps to
reduce the performance impact of the Tracelogger code when not in use. In the
future, this could be improved to recompile the JS with/without Tracelogger
instrumentation when toggling Tracelogger support.

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

--HG--
extra : moz-landing-system : lando
2019-04-11 23:52:41 +00:00
Mike Hommey
d89350611b Bug 1543009 - Move code coverage xpcom component to static registration. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D26893
2019-04-11 16:23:52 +09:00
Daniel Varga
f2b514eaaa Merge autoland to mozilla-central. a=merge 2019-04-11 00:51:52 +03:00
Daniel Varga
6d6f6dadce Backed out 4 changesets (bug 1458385) for nightly updates fail. a=backout
Backed out changeset 09338587b68e (bug 1458385)
Backed out changeset f7791b680d46 (bug 1458385)
Backed out changeset cc06a7beb3d1 (bug 1458385)
Backed out changeset 3b10487587c3 (bug 1458385)
2019-04-10 21:09:46 +03:00
Bobby Holley
8864a06b2a Bug 1543246 - Implement |./mach busted|. r=froydnj
Depends on D26817

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

--HG--
extra : moz-landing-system : lando
2019-04-10 16:26:44 +00:00
Bobby Holley
92dd11b20e Bug 1543246 - Add searchfox support to mach. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D26817

--HG--
extra : moz-landing-system : lando
2019-04-10 16:26:42 +00:00
Tom Prince
b4e1868e59 Bug 1458385: Package mar and mbsdiff as a toolchain; r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D24229

--HG--
extra : moz-landing-system : lando
2019-04-06 05:49:31 +00:00
Mike Hommey
071a2fe984 Bug 1541792 - Replace linker magic with manual component registration. r=froydnj
Before bug 938437, we had a rather large and error-prone
nsStaticXULComponents.cpp used to register all modules. That was
replaced with clever use of the linker, which allowed to avoid the mess
that maintaining that file was.

Fast forward to now, where after bug 1524687 and other work that
preceded it, we have a much smaller number of remaining static xpcom
components, registered via this linker hack, and don't expect to add
any new ones. The list should eventually go down to zero.

Within that context, it seems to be the right time to get rid of the
magic, and with it the problems it causes on its own.

Some of those components could probably be trivially be converted to
static registration via .conf files, but I didn't want to deal with the
possible need to increase the number of dummy modules in XPCOMInit.cpp.
They can still be converted as a followup.

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

--HG--
extra : moz-landing-system : lando
2019-04-05 02:30:56 +00:00
Geoff Brown
8d88b9a596 Bug 1318091 - Disable failing android gtests; r=bc
Disable gtests observed to fail on Android. Some of these are simple build
failures and failures due to file permissions or paths, while other failures
are more obscure.
Once Android gtests are running on mozilla-central, I will file follow-up
bugs inviting teams to investigate the failures and re-enable Android gtests
that are important to them.

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

--HG--
extra : moz-landing-system : lando
2019-04-08 20:58:21 +00:00
Mark Banner
8b27241809 Bug 1536589 - Update ESLint and associated modules. r=mossop
Depends on D26543

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

--HG--
extra : moz-landing-system : lando
2019-04-08 20:06:38 +00:00
Sylvestre Ledru
ef3c576ac4 Bug 1542629 - clang-format git hook: Ignore unsupported extensions directly in the hook r=sheehan
Differential Revision: https://phabricator.services.mozilla.com/D26445

--HG--
extra : moz-landing-system : lando
2019-04-08 16:18:54 +00:00
Sylvestre Ledru
5312b75864 Bug 1541409 - git clang-format hook: add files one by one to avoid an error r=sheehan
Differential Revision: https://phabricator.services.mozilla.com/D26444

--HG--
extra : moz-landing-system : lando
2019-04-08 16:18:38 +00:00
Andrew Halberstadt
a47c68c32c Bug 1523303 - [tryselect] Extend test_mozharness_integration.py to include the 'android_emulator_unittest' script, r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D26133

--HG--
extra : moz-landing-system : lando
2019-04-08 14:34:59 +00:00
Mike Hommey
892f9bc28b Bug 1529774 - Disable test_profile_worker* on ARM Android. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D25893

--HG--
extra : moz-landing-system : lando
2019-04-05 16:26:43 +00:00
Sylvestre Ledru
03fc65347c Bug 1542146 - Apply the change with the option StatementMacros from clang-format-8 r=andi
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-04-05 21:42:17 +00:00
Sylvestre Ledru
03c8e8c2dd Bug 1519636 - clang-format-8: Reformat recent changes to the Google coding style r=Ehsan
clang-format-8 upstream had some improvements wrt macros
See: https://reviews.llvm.org/D33440
This is why the diff is bigger than usual

# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-04-05 21:41:42 +00:00
Tom Prince
d5579312ae Bug 1533589: [win64-aarch64] Simplify logic about unpacking builds in update-verify; r=sfraser
We always pass in the platform formated as an update platform. Since the only
variation in formats is between major platforms, be liberal in parsing
platforms, when selecting which unpack logic to use. This makes win64-aarch64
support fall out automatically.

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

--HG--
extra : moz-landing-system : lando
2019-04-05 17:24:51 +00:00
Csoregi Natalia
110e16d6d7 Backed out changeset b4258c7fb49b (bug 1533589) as per request. CLOSED TREE 2019-04-05 19:51:01 +03:00
Tom Prince
b09b6f14e1 Bug 1533589: [win64-aarch64] Simplify logic about unpacking builds in update-verify; r=sfraser
We always pass in the platform formated as an update platform. Since the only
variation in formats is between major platforms, be liberal in parsing
platforms, when selecting which unpack logic to use. This makes win64-aarch64
support fall out automatically.

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

--HG--
extra : moz-landing-system : lando
2019-04-04 17:26:32 +00:00
Gijs Kruitbosch
d7be8a0205 Bug 1537622 - add rudimentary support for linting XUL files, r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D24298

--HG--
rename : tools/lint/eslint/eslint-plugin-mozilla/lib/processors/xbl-bindings.js => tools/lint/eslint/eslint-plugin-mozilla/lib/processors/processor-helpers.js
extra : moz-landing-system : lando
2019-04-05 12:40:23 +00:00
Csoregi Natalia
ba58e936bd Backed out changeset 4ad80127f89f (bug 1519636) for bustage on MarkupMap.h and nsAccessibilityService.cpp. CLOSED TREE 2019-04-05 09:48:19 +03:00
Sylvestre Ledru
d1c1878603 Bug 1519636 - clang-format-8: Reformat recent changes to the Google coding style r=Ehsan
clang-format-8 upstream had some improvements wrt macros
See: https://reviews.llvm.org/D33440
This is why the diff is bigger than usual

# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-04-04 21:36:16 +00:00
Narcis Beleuzu
24dbe577a5 Backed out changeset 389b6bbd76db (bug 1519636) for bustages on MarkupMap.h . CLOSED TREE 2019-04-05 00:27:56 +03:00
Sylvestre Ledru
399dbd28fe Bug 1519636 - clang-format-8: Reformat recent changes to the Google coding style r=Ehsan
clang-format-8 upstream had some improvements wrt macros
See: https://reviews.llvm.org/D33440
This is why the diff is bigger than usual

# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-04-04 20:12:23 +00:00
Valentin Gosu
09de50afaf Bug 1540656 - Add dns-packet and node-ip modules r=dragana
These modules are MIT licensed and they're to be used in xpcshell-tests for TRR.
They allow us to make moz-http2.js act like a true DoH server - more specifically to answer DNS queries that have actually been asked, not just a dumb character buffer.

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

--HG--
extra : moz-landing-system : lando
2019-04-04 15:32:21 +00:00
Andi-Bogdan Postelnicu
fb86931b20 Bug 1503453 - Fix Perma 'mach static-analysis autotest; caused by Bug 1540769. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D26095

--HG--
extra : moz-landing-system : lando
2019-04-04 11:34:47 +00:00
Cosmin Sabou
03a4c6187b Backed out 3 changesets (bug 1540656) for xpcshell failures on test_immutable.js. CLOSED TREE
Backed out changeset 70a90b960aef (bug 1540656)
Backed out changeset 631a1aae6fb0 (bug 1540656)
Backed out changeset 408104f784ef (bug 1540656)
2019-04-04 13:34:35 +03:00
Valentin Gosu
d5bf7fcd1f Bug 1540656 - Add dns-packet and node-ip modules r=dragana
These modules are MIT licensed and they're to be used in xpcshell-tests for TRR.
They allow us to make moz-http2.js act like a true DoH server - more specifically to answer DNS queries that have actually been asked, not just a dumb character buffer.

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

--HG--
extra : moz-landing-system : lando
2019-04-04 09:32:11 +00:00
Sylvestre Ledru
d08c7610c8 Bug 1540643 - Add testing/web-platform/tests/tools/third_party/ to the thirdparty list r=andi DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D25567

--HG--
extra : moz-landing-system : lando
2019-04-01 10:25:29 +00:00
Brindusan Cristian
1928a7ba47 Merge autoland to mozilla-central. a=merge 2019-04-02 18:44:52 +03:00
Mike Hommey
fc4f272cd4 Followup for bug 1538060 again. More bustage fix. r=me,a=CristianB 2019-04-02 23:48:01 +09:00
Sylvestre Ledru
c52ebc3ea9 Bug 1540769 - Enable readability-redundant-preprocessor r=andi
Differential Revision: https://phabricator.services.mozilla.com/D25630

--HG--
extra : moz-landing-system : lando
2019-04-02 06:07:39 +00:00
Sylvestre Ledru
bf99cf9d2e Bug 1536790 - Upgrade to clang-{tidy,format} 8.0.0 (from 7.0.1) r=andi
Differential Revision: https://phabricator.services.mozilla.com/D24175

--HG--
extra : moz-landing-system : lando
2019-04-01 12:24:35 +00:00
Andrew Halberstadt
99da408e98 Bug 1523303 - [mozharness] Remove definitions for defunct *-addons suites, r=gbrown
Depends on D25432

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

--HG--
extra : moz-landing-system : lando
2019-03-29 18:48:05 +00:00
Andrew Halberstadt
152788c6ab Bug 1523303 - [tryselect] Also read mac/win_unittest.py configs in test_mozharness_integration.py, r=gbrown
There are a few windows/mac-only suites that were missed since we were only
reading the linux variant.

Depends on D25401

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

--HG--
extra : moz-landing-system : lando
2019-03-29 18:47:48 +00:00
Ciure Andrei
8a67ec169a Backed out 3 changesets (bug 1538060, bug 1539779, bug 1536790) for causing clang-tidy bustages CLOSED TREE
Backed out changeset 7d058f3174e5 (bug 1538060)
Backed out changeset 8839622122ed (bug 1539779)
Backed out changeset 9eb7867c1dd4 (bug 1536790)

--HG--
rename : build/build-clang/clang-8-android.json => build/build-clang/clang-7-android.json
rename : build/build-clang/clang-8-linux64.json => build/build-clang/clang-7-linux64.json
rename : build/build-clang/clang-8-macosx64.json => build/build-clang/clang-7-macosx64.json
rename : build/build-clang/clang-8-mingw.json => build/build-clang/clang-trunk-mingw.json
rename : taskcluster/scripts/misc/build-clang-8-android.sh => taskcluster/scripts/misc/build-clang-7-android.sh
rename : taskcluster/scripts/misc/build-clang-8-linux-macosx-cross.sh => taskcluster/scripts/misc/build-clang-7-linux-macosx-cross.sh
rename : taskcluster/scripts/misc/build-clang-8-linux.sh => taskcluster/scripts/misc/build-clang-7-linux.sh
rename : taskcluster/scripts/misc/build-clang-8-mingw.sh => taskcluster/scripts/misc/build-clang-trunk-mingw.sh
2019-03-30 01:52:37 +02:00
Sylvestre Ledru
878a6926e9 Bug 1536790 - Upgrade to clang-{tidy,format} 8.0.0 (from 7.0.1) r=andi
Reviewers: andi

Reviewed By: andi

Bug #: 1536790

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

--HG--
extra : rebase_source : 4916f93d375ba7415a000fd1a4c48f214b300f47
extra : histedit_source : d21ca90bd40c0fe2db99ea69b7d3c98eaf872f49
2019-03-30 01:23:21 +02:00
Andrew Halberstadt
6c4d83431a Bug 1539957 - [fuzzy] Fix |mach try --preset foo -xq bar| when running a preset, r=jgraham
While running presets + intersection queries works with 'mach try fuzzy
--preset <foo>', it is still broken with 'mach try --preset <foo>'.

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

--HG--
extra : moz-landing-system : lando
2019-03-29 13:27:34 +00:00
Daniel Varga
0bc3e10232 Backed out 2 changesets (bug 1539779, bug 1536790) for toolchain failure. On a CLOSED TREE
Backed out changeset 5ecdbfab88b4 (bug 1539779)
Backed out changeset 20d5cdaa08e3 (bug 1536790)
2019-03-29 10:34:45 +02:00
Andi-Bogdan Postelnicu
437397c847 Bug 1536790 - Upgrade to clang-{tidy,format} 8.0.0 (from 7.0.1) r=andi
Patch wrote by Sylvestre Ledru (sylvestre@mozilla.com)

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

--HG--
extra : moz-landing-system : lando
2019-03-28 17:49:41 +00:00
Florian Quèze
b888636c10 Bug 1539839 - Enable the mainthreadio feature by default for startup profiles, r=gerald.
Differential Revision: https://phabricator.services.mozilla.com/D25243

--HG--
extra : moz-landing-system : lando
2019-03-28 21:34:53 +00:00
Andrew Halberstadt
92e089081b Bug 1529048 - Add '--rebuild=5' to the perf preset, DONTBUILD, r=davehunt
Differential Revision: https://phabricator.services.mozilla.com/D24887

--HG--
extra : moz-landing-system : lando
2019-03-28 16:55:56 +00:00
Oana Pop Rus
d2ad5c4e37 Merge autoland to mozilla-central. a=merge 2019-03-28 19:29:18 +02:00
Oana Pop Rus
d9ec36d04f Backed out 3 changesets (bug 1458385) for windows partial bustages. a=backout
Backed out changeset 8036c03c3b51 (bug 1458385)
Backed out changeset 99fa5539c2bd (bug 1458385)
Backed out changeset 9a5f255979c2 (bug 1458385)
2019-03-28 15:13:13 +02:00
Mark Banner
dba6983e75 Bug 1415265 - Remove now unnecessary .eslintrc.js files or entries. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D23850

--HG--
extra : moz-landing-system : lando
2019-03-28 09:38:14 +00:00
Tom Prince
fbb8603385 Bug 1458385: Package mar and mbsdiff as a toolchain; r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D24229

--HG--
extra : moz-landing-system : lando
2019-03-27 22:30:44 +00:00
Andrew Halberstadt
574b9b89ea Bug 1523303 - [tryselect] Define 'mozharness_name' key in relevant TEST_SUITE definitions, r=gbrown
Some of these were working with the '<flavor>-<subsuite>' mechanism that was
previously being used, but better to be explicit wherever possible.

Depends on D25077

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

--HG--
extra : moz-landing-system : lando
2019-03-27 18:42:48 +00:00
Andrew Halberstadt
5d91672933 Bug 1523303 - [mozharness] Normalize '-chunked' out of suite name when reading MOZHARNESS_TEST_PATHS in desktop_unittest.py, r=gbrown
Mozharness appends -chunked/-coverage to some suites, but the build system/test
resolver don't have any concept of these things. We need to normalize these out
for the purposes of MOZHARNESS_TEST_PATHS.

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

--HG--
extra : moz-landing-system : lando
2019-03-27 15:59:55 +00:00
Andrew Halberstadt
573782c2eb Bug 1523303 - [tryselect] Add test making sure |mach try fuzzy <path>| generates suite names that mozharness recognizes, r=gbrown
It turns out bug 1489100 regressed the ability to specify test paths for most
suites by naively assuming that mozharness uses suite names that look like:

<flavor>-<subsuite>

In reality, there is no consistency to how suite names are generated. This test
does a few things:

1) Patches the moztest.TestResolver to return a list of all possible
suites/subsuites (assuming the lists in moztest.resolve are up to date).

2) Finds all the suites defined in the mozharness configs (e.g
linux_unittest.py), and uses these are parametrized inputs.

3) Checks that for each test suite,
DesktopUnittest._get_mozharness_test_paths() returns something.

I've marked all of the test suites that currently fail as expected. This way I
have a good sense of what needs to be fixed, and can validate my changes as I
move through the list.

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

--HG--
extra : moz-landing-system : lando
2019-03-27 15:55:31 +00:00
Justin Wood
f45b1ff0aa Bug 1352113 - Shippable Builds - amend debugger tests presets. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D23437

--HG--
extra : moz-landing-system : lando
2019-03-27 13:45:30 +00:00
Sylvestre Ledru
3d0316a902 Bug 1519636 - Ride along: Add media/libdav1d/version.h to the ignore list r=andi
Differential Revision: https://phabricator.services.mozilla.com/D24558

--HG--
extra : moz-landing-system : lando
2019-03-27 07:33:24 +00:00
Alex Gaynor
971c3169af Bug 1539254 - replace MaybeDuration in IPDL with native Maybe syntax; r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D24960

--HG--
extra : moz-landing-system : lando
2019-03-26 20:23:07 +00:00
Cosmin Sabou
a93c1714d4 Backed out 19 changesets (bug 1352113) for causing upload symbol bustages. CLOSED TREE
Backed out changeset 4943b23813fe (bug 1352113)
Backed out changeset 4b9413d05816 (bug 1352113)
Backed out changeset 3e2b6a495e8c (bug 1352113)
Backed out changeset 51ab82722846 (bug 1352113)
Backed out changeset 4b027c970719 (bug 1352113)
Backed out changeset 6b65273fab78 (bug 1352113)
Backed out changeset d7deec98601a (bug 1352113)
Backed out changeset b95b3f4e5243 (bug 1352113)
Backed out changeset 7cefe92f88d5 (bug 1352113)
Backed out changeset f64dfaf86a2e (bug 1352113)
Backed out changeset 686c228e3579 (bug 1352113)
Backed out changeset dd2eddef8b43 (bug 1352113)
Backed out changeset fc16a3ecfe68 (bug 1352113)
Backed out changeset b31cbe91bdf7 (bug 1352113)
Backed out changeset 694eac65a72e (bug 1352113)
Backed out changeset 6044aedac9c4 (bug 1352113)
Backed out changeset 456538d78b36 (bug 1352113)
Backed out changeset 01699fb72384 (bug 1352113)
Backed out changeset 4a2e544fea0d (bug 1352113)
2019-03-26 22:26:29 +02:00
Justin Wood
2666b10daf Bug 1352113 - Shippable Builds - amend debugger tests presets. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D23437

--HG--
extra : moz-landing-system : lando
2019-03-26 17:59:25 +00:00
Andi-Bogdan Postelnicu
ff772f8795 Bug 1480480 - Explain why some clang-tidy checkers are not published. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D7170

--HG--
extra : moz-landing-system : lando
2019-03-26 10:04:58 +00:00
Philipp Kewisch
52aa5b978e Bug 1507709 - Move WebExtensions geckoProfiler API to toolkit. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D12100

--HG--
rename : browser/components/extensions/ProfilerGetSymbols-worker.js => toolkit/components/extensions/ProfilerGetSymbols-worker.js
rename : browser/components/extensions/ProfilerGetSymbols.jsm => toolkit/components/extensions/ProfilerGetSymbols.jsm
rename : browser/components/extensions/parent/ext-geckoProfiler.js => toolkit/components/extensions/parent/ext-geckoProfiler.js
rename : browser/components/extensions/profiler_get_symbols.js => toolkit/components/extensions/profiler_get_symbols.js
rename : browser/components/extensions/schemas/geckoProfiler.json => toolkit/components/extensions/schemas/geckoProfiler.json
rename : browser/components/extensions/test/xpcshell/test_ext_geckoProfiler_control.js => toolkit/components/extensions/test/xpcshell/test_ext_geckoProfiler_control.js
rename : browser/components/extensions/test/xpcshell/test_ext_geckoProfiler_schema.js => toolkit/components/extensions/test/xpcshell/test_ext_geckoProfiler_schema.js
extra : moz-landing-system : lando
2019-03-22 13:18:01 +00:00
Chris H-C
1e8280c2f0 Bug 1536805 - Tell codespell 'whats' is a valid word r=ahal
Depends on D24263

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

--HG--
extra : moz-landing-system : lando
2019-03-22 19:32:59 +00:00
championshuttler
677714a968 Bug 1536103 - Fix Sphinx Warning - Title Underline too short in 'mach doc'. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D24536

--HG--
extra : moz-landing-system : lando
2019-03-22 19:30:34 +00:00
Edwin Gao
bd47254c5e Bug 1536652, 1536637, 1536657 - disable tests in xpcshell that fail on windows10-aarch64 r=jmaher
Disable the following tests for windows10-aarch64:
- test_enterjit_osr.js
- test_feature_mainthreadio.js

They were likely intermittents at first, but as of recent try push noted below these tests are failing consistently.

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

--HG--
extra : moz-landing-system : lando
2019-03-21 20:37:48 +00:00
Emilio Cobos Álvarez
0204cde0f2 Bug 1535671 - Remove some static initializers that call into PR_GetEnv during initialization unnecessarily. r=truber,posidron
I though this was going to be enough to unbreak rr, but it seems not to be the
case, see https://github.com/mozilla/rr/issues/2329.

In any case avoiding static initializers that initialize PR seems desirable.

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

--HG--
extra : moz-landing-system : lando
2019-03-21 20:34:06 +00:00
Andrew Halberstadt
422288906f Bug 1530038 - [tryselect] Move taskgraph cache to new srcdir state location, r=tomprince
Depends on D24187

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

--HG--
extra : moz-landing-system : lando
2019-03-20 15:33:56 +00:00
Andrew Halberstadt
20deb1451e Bug 1530038 - [tryselect] Use target_task_set instead of target_task_graph, r=tomprince
The graph contains some extra things like toolchains, fetches and packaging
tasks that people will almost never want to run on their own. This change gets
them out of the default fuzzy selection interface, and makes it so --full is
needed to schedule them.

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

--HG--
extra : moz-landing-system : lando
2019-03-20 19:16:38 +00:00
Andrew Halberstadt
da7628c7e8 Bug 1536621 - [tryselect] Limit the 'sample-suites' preset to a single raptor/talos task, r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D24097

--HG--
extra : moz-landing-system : lando
2019-03-20 19:16:36 +00:00
Nazım Can Altınova
db326e2e6b Bug 1535575 - Add updateChannel field to profile meta data r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D23654

--HG--
extra : moz-landing-system : lando
2019-03-19 18:20:28 +00:00
Ian Moody
167f623a3e Bug 1246594 - Enable ESLint rule no-throw-literal by default. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D24088

--HG--
extra : moz-landing-system : lando
2019-03-19 22:02:42 +00:00
Nicholas Nethercote
8c151cc707 Bug 1535880 - Always check ReadValueFromPowerFile() return value. r=glandium
This makes RAPL abort with more informative error messages if certain
kernel-provided files aren't present.

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

--HG--
extra : moz-landing-system : lando
2019-03-19 11:20:11 +00:00
Jagmeet Bhamber
e15a06b5ac Bug 1508823 - Enable ESLint for dom/browser-element (manual changes). r=mccr8
Depends on D21215

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

--HG--
extra : moz-landing-system : lando
2019-03-19 20:56:24 +00:00
Sylvestre Ledru
1e86e44154 Bug 1514770 - hooks_clang_format for git: Run clang-format on the changed files r=sheehan
Depends on D23789

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

--HG--
extra : moz-landing-system : lando
2019-03-18 19:51:59 +00:00
Sylvestre Ledru
2f1bbc93d9 Bug 1535829 - Ride along, format the file using black r=sheehan
Differential Revision: https://phabricator.services.mozilla.com/D23789

--HG--
extra : moz-landing-system : lando
2019-03-19 15:25:25 +00:00
Sylvestre Ledru
74b0b15d8f Bug 1535829 - Disable the clang-format hook and point to the extension r=sheehan
Differential Revision: https://phabricator.services.mozilla.com/D23788

--HG--
extra : moz-landing-system : lando
2019-03-18 17:13:52 +00:00
Chris Peterson
3f655a7340 Bug 1534878 - xpcom: Rename NS_InitXPCOM2() to NS_InitXPCOM(). r=froydnj
--HG--
extra : rebase_source : 6e7a46cf49f78e46e12d1e7fc76aba6f0c377be0
2019-03-14 23:38:09 -07:00
Dustin J. Mitchell
f488d1b253 Bug 1534283 - use default parameters for mach try fuzzy r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D23225

--HG--
extra : moz-landing-system : lando
2019-03-14 19:32:05 +00:00
Dorel Luca
bc871ba7f1 Merge mozilla-central to autoland. CLOSED TREE
--HG--
extra : amend_source : 1a86c239e49011cf1a857de6e020b91ca0b6bd67
2019-03-14 18:27:51 +02:00
Sylvestre Ledru
4aa92e3091 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D22514
2019-03-13 10:19:06 +01:00
Andrew Halberstadt
52d1bf00c2 Bug 1531360 - [try] Add a 'perf' preset for selecting raptor and talos tasks, r=rwood
Differential Revision: https://phabricator.services.mozilla.com/D22374

--HG--
extra : moz-landing-system : lando
2019-03-13 14:53:24 +00:00
Andrew Halberstadt
15fdaae87b Bug 1534375 - Fix intermittent failure in tools/tryselect/test/test_presets.py, r=gbrown
This makes sure this test doesn't actually generate tasks.

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

--HG--
extra : moz-landing-system : lando
2019-03-13 14:53:26 +00:00
Andrew Halberstadt
a6193bafa0 Bug 1533043 - [chooser] Add a test for |mach try chooser|, r=gbrown
Depends on D22785

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

--HG--
extra : moz-landing-system : lando
2019-03-12 13:49:25 +00:00
Andrew Halberstadt
246ff42fac Bug 1533043 - [chooser] Use a requirements file to install |mach try chooser| dependencies, r=davehunt
Not only is it best practice to pin dependencies and check hashes, but this
will allow tests to install these dependencies as well.

Depends on D22784

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

--HG--
extra : moz-landing-system : lando
2019-03-13 14:44:30 +00:00
Jason Laster
a00df3516c No bug - Add damp tests to debugger-tests.
Differential Revision: https://phabricator.services.mozilla.com/D23305

--HG--
extra : moz-landing-system : lando
2019-03-13 12:49:19 +00:00
Andrew Halberstadt
ea09d14bd4 Bug 1533770 - [fuzzy] Fix query intersection when running presets with multiple queries, r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D22741

--HG--
extra : moz-landing-system : lando
2019-03-12 19:33:36 +00:00
Andrew Halberstadt
aac57cc8b5 Bug 1533152 - [flake8] Make sure glob patterns are honoured when passing files directly, r=andi
Flake8 ignores the 'exclude' section of the .flake8.yml if you pass in a direct
path to a file. To get around this we have some custom logic to handle these
exclusions for us, but this custom logic didn't account for globs.

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

--HG--
extra : moz-landing-system : lando
2019-03-12 15:08:41 +00:00
Jason Laster
b0162f4644 No bug - Add xpcshell tests to the preset. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D23019

--HG--
extra : moz-landing-system : lando
2019-03-11 22:14:31 +00:00
Emilio Cobos Álvarez
c4573875e2 Bug 1533969 - Fix build error with newer glibc. r=nbp
New glibc versions provide a wrapper for gettid, which means that our stuff
fails to build with:

```
/home/emilio/src/moz/gecko/js/src/util/NativeStack.cpp:28:14: error: static declaration of 'gettid' follows non-static declaration
static pid_t gettid() { return syscall(__NR_gettid); }
             ^
/usr/include/bits/unistd_ext.h:34:16: note: previous declaration is here
extern __pid_t gettid (void) __THROW;
```

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

--HG--
extra : moz-landing-system : lando
2019-03-11 19:28:37 +00:00
Greg Tatum
4df3c53b42 Bug 1534013 - Only run profiler's mainthreadio feature test on nightly; r=canaltinova
I initially forgot that this test should only be run on nightly, as the
interposer is disabled on release and beta.

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

--HG--
extra : moz-landing-system : lando
2019-03-11 15:29:25 +00:00
Makoto Kato
e2bc97ef28 Bug 1525498 - Use frame pointer to walk stack on aarch64 when no rule set. r=jseward
Some system libraries such as libart.so doesn't have CFI, so I want to add
stack walker that uses frame pointer when no rule set, like x86/x86-64.

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

--HG--
extra : rebase_source : 4c8edef9a02d6fdb213e3a78731631ee0703650f
2019-02-07 13:38:55 +09:00
Jason Laster
d0e5e67b0b Bug 1532809 - There should be Try preset debugger tests. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D22724

--HG--
extra : moz-landing-system : lando
2019-03-08 21:40:39 +00:00
Greg Tatum
c5a1fd74ec Bug 1527737 - Add tests for main thread io in the profiler; r=julienw
Differential Revision: https://phabricator.services.mozilla.com/D20416

--HG--
extra : moz-landing-system : lando
2019-03-07 23:04:49 +00:00
Andrew Halberstadt
6df1fbd570 Bug 1533474 - [fuzzy] Fix paths with |mach try fuzzy|, r=gbrown
This fixes a regression from bug 1531886 and adds a test.

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

--HG--
extra : moz-landing-system : lando
2019-03-08 00:12:41 +00:00
Matthew Noorenberghe
b4768d96bc Bug 1533167 - Move LoginFormFactory to its own file. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D22452

--HG--
rename : toolkit/components/passwordmgr/LoginManagerContent.jsm => toolkit/components/passwordmgr/LoginFormFactory.jsm
extra : moz-landing-system : lando
2019-03-07 18:10:00 +00:00
Andrew Halberstadt
5b8dcfd113 Bug 1533157 - [fuzzy] Document how to use -q/--query with various shells, DONTBUILD, r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D22388

--HG--
extra : moz-landing-system : lando
2019-03-07 10:05:21 +00:00
Matthew Noorenberghe
cdedc6cb3a Bug 1532805 - Move UserAutoCompleteResult to its own file and rename to LoginAutoCompleteResult. r=prathiksha
Differential Revision: https://phabricator.services.mozilla.com/D22419

--HG--
rename : toolkit/components/passwordmgr/LoginManagerContent.jsm => toolkit/components/passwordmgr/LoginAutoCompleteResult.jsm
rename : toolkit/components/passwordmgr/test/unit/test_user_autocomplete_result.js => toolkit/components/passwordmgr/test/unit/test_login_autocomplete_result.js
extra : moz-landing-system : lando
2019-03-07 01:35:43 +00:00
Andrew Halberstadt
6ee8586201 Bug 1531360 - [fuzzy] Add ability to intersect queries, r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D22028

--HG--
extra : moz-landing-system : lando
2019-03-06 16:14:00 +00:00
Andrew Halberstadt
029b7b915f Bug 1531886 - [tryselect] Stop allowing **kwargs in subcommand run functions, r=gbrown
This forces us to be more strict with what gets passed into the try selector.
This change means test_preset.py will error if someone makes a typo in an
in-tree preset.

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

--HG--
extra : moz-landing-system : lando
2019-03-06 16:13:01 +00:00
Andrew Halberstadt
db5e67fdae Bug 1531886 - [tryselect] Delete template context from kwargs, r=gbrown
When we parse template arguments, we stuff them all in kwargs['templates'],
however we don't delete the old argument. This results in all kinds of unused
variables lying around in kwargs. E.g we would have both
kwargs['templates']['env'] and kwargs['env'] (the latter being unused). This is
the main reason why all the selector's run functions need to have a **kwargs at
the end of them.

Depends on D22022

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

--HG--
extra : moz-landing-system : lando
2019-03-05 23:49:22 +00:00
Andrew Halberstadt
5e06797460 Bug 1531886 - [tryselect] Handle templates in mach_commands.py, r=gbrown
This was previously only in the cli parser because that was the only shared
place that ran for all selectors. Now that we have the 'self.run' function in
mach_commands.py, we can move it there. This move is also needed to allow us to
remove 'templates' from kwargs (which happens in the next commit).

Depends on D22021

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

--HG--
extra : moz-landing-system : lando
2019-03-05 23:48:31 +00:00
Andrew Halberstadt
fae875eee3 Bug 1531886 - [tryselect] Use consistent 'run' method to kickstart all selectors, r=gbrown
This allows us to refactor mach_commands.py so we can call self.handle_presets
implicitly. This in turn gives us a future place to add shared code and makes
adding new selectors easier.

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

--HG--
extra : moz-landing-system : lando
2019-03-06 17:34:44 +00:00
Nick Thomas
c2ce6f9fa6 Bug 1532902 - Check https certificates during update verify, r=sfraser
Differential Revision: https://phabricator.services.mozilla.com/D22267

--HG--
extra : moz-landing-system : lando
2019-03-06 08:53:41 +00:00
Jason Laster
90414405ea Revert "Backed out changeset 7f51bc3757d9 (bug 1497839) for ESlint failure at build-debugger.js. CLOSED TREE"
This reverts commit 2b1fea9435191242f8aadc04da3ed1b0e0d99b02.

Bug 1497839 - fix eslint issues for babel build. r=jlast

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

--HG--
rename : devtools/client/debugger/new/build/babel.js => devtools/client/shared/build/babel.js
rename : devtools/client/debugger/new/build/copy-module.js => devtools/client/shared/build/build-debugger.js
extra : moz-landing-system : lando
2019-03-06 05:10:25 +00:00
Brindusan Cristian
c11291ea12 Backed out changeset 7f51bc3757d9 (bug 1497839) for ESlint failure at build-debugger.js. CLOSED TREE
--HG--
rename : devtools/client/shared/build/babel.js => devtools/client/debugger/new/build/babel.js
rename : devtools/client/shared/build/build-debugger.js => devtools/client/debugger/new/build/copy-module.js
extra : histedit_source : a4f0d58045b176391d54c3aff09072a67f80cafc
2019-03-06 06:46:38 +02:00
David Walsh
4222a51e78 Bug 1497839 - Provide method for NetMonitor to use JSX r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D20888

--HG--
rename : devtools/client/debugger/new/build/babel.js => devtools/client/shared/build/babel.js
rename : devtools/client/debugger/new/build/copy-module.js => devtools/client/shared/build/build-debugger.js
extra : moz-landing-system : lando
2019-03-06 03:12:49 +00:00
Felipe Gomes
35c2dfb0ee Bug 827976 - Add requestIdleCallback support to Timer.jsm. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D21084

--HG--
extra : moz-landing-system : lando
2019-03-04 18:53:14 +00:00
Axel Hecht
e659d85fed Bug 1530352, add lintargs to lint setup, r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D21010

--HG--
extra : moz-landing-system : lando
2019-03-05 16:15:03 +00:00
Florian Quèze
6522db5f93 Bug 1531798 - Avoid deadlock when dumping a profile while the IOInterposer is active, r=gerald,mstange.
Differential Revision: https://phabricator.services.mozilla.com/D21712

--HG--
extra : moz-landing-system : lando
2019-03-05 12:01:33 +00:00
Christian Holler
26f9ae751e Bug 1530773 - Add log module and macro for fuzzing. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D21251

--HG--
extra : moz-landing-system : lando
2019-03-04 14:13:28 +00:00
Cosmin Sabou
a706bb3916 Backed out 16 changesets (bug 827976) for causing bug 1532054. a=backout
Backed out changeset 54c0b12443ed (bug 827976)
Backed out changeset 92b45080d080 (bug 827976)
Backed out changeset 443087a359f9 (bug 827976)
Backed out changeset f976c2d4cebb (bug 827976)
Backed out changeset 66cffb171024 (bug 827976)
Backed out changeset 845e1d0b2402 (bug 827976)
Backed out changeset fd94066a1d76 (bug 827976)
Backed out changeset e253b264e7bd (bug 827976)
Backed out changeset 07ef335770a8 (bug 827976)
Backed out changeset 9d3805d77b99 (bug 827976)
Backed out changeset eed600ceb606 (bug 827976)
Backed out changeset 3b64368cff52 (bug 827976)
Backed out changeset 69d0378e0c09 (bug 827976)
Backed out changeset 9203871a5c6f (bug 827976)
Backed out changeset 96a507c818e2 (bug 827976)
Backed out changeset e254496ff95b (bug 827976)
2019-03-02 20:40:01 +02:00
Felipe Gomes
81059534d3 Bug 827976 - Add requestIdleCallback support to Timer.jsm. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D21084

--HG--
extra : moz-landing-system : lando
2019-03-01 21:07:11 +00:00
Andrew Halberstadt
bbce8d7a3b Bug 1513951 - [tryselect] Add some documentation for presets r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D21431

--HG--
extra : moz-landing-system : lando
2019-02-28 20:15:24 +00:00
Andrew Halberstadt
30fa8f8a4c Bug 1513951 - [tryselect] Implement in-tree try_presets.yml file r=gbrown
This creates a global preset file at:
tools/tryselect/try_presets.yml

Any presets defined here will be available for everyone to use.

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

--HG--
extra : moz-landing-system : lando
2019-02-28 21:38:26 +00:00
Andrew Halberstadt
b1f7c90d52 Bug 1513951 - [tryselect] Pass preset path into PresetHandler's constructor r=gbrown
This will make it possible to have multiple instances of PresetHandler to
support multiple preset files.

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

--HG--
extra : moz-landing-system : lando
2019-02-28 18:26:03 +00:00
Ryan Hunt
a5e1b94718 Bug 1523969 part 24 - Move method definition inline comments to new line in 'tools/'. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D21125

--HG--
extra : rebase_source : 06b6b612faecb0beff2c359f8893e40638c4a029
extra : histedit_source : 69bbbe1c1cd598cc52103143baf6bbe4ff4b2d5b
2019-02-25 16:13:15 -06:00
Oana Pop Rus
775c1e3f87 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-03-01 00:08:19 +02:00
Kris Maglione
7a8a8a5b11 Bug 1523750: Re-sign quitter extension for use in release builds. r=me 2019-02-28 12:57:13 -08:00
Marco Bonardo
5c4e44ce0a Bug 1528751 - Add a custom eslint rule to check "consistent" if bracing. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D20753

--HG--
extra : moz-landing-system : lando
2019-02-28 08:39:33 +00:00
Andrew Halberstadt
26d3e5b30a Bug 1530775 - [tryselect] Fix bug when migrating try syntax presets, r=kats,a=NPOTB
Differential Revision: https://phabricator.services.mozilla.com/D21250

--HG--
extra : rebase_source : 1688a24623f92134cd91de087d52cf8fc607476c
2019-02-26 14:33:03 -05:00
Andrew Halberstadt
91456de750 Bug 1518572 - [tryselect] Migrate old preset files to the new format r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D20524

--HG--
extra : moz-landing-system : lando
2019-02-22 23:25:54 +00:00