Commit Graph
5079 Commits
Author SHA1 Message Date
Marco Castelluccio 77cccc32fa Bug 1489100 - Specify tests per suite in MOZHARNESS_TEST_PATHS. r=ahal 2018-11-15 17:54:13 +01:00
Daniel Varga 19691a8a93 Backed out changeset 0db8bd8fbcad (bug 1127565) for linting failure at /builds/worker/checkouts/gecko/python/mozboot/mozboot/bootstrap.py:302:9 2018-11-26 22:35:02 +02:00
Nicklas Boman 013d004181 Bug 1127565 - Bootstrap for openSUSE; r=gps 2018-10-12 22:43:51 +02:00
Qinghao_Jack_Song 901e57c884 Bug 1507301 - Migrate about:sessionrestore and about:welcomeback to use Fluent for localization r=Gijs,flod,zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D11994
2018-11-19 22:01:58 +00:00
Razvan Maries 20a8c263db Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-11-20 00:36:35 +02:00
Sebastian Hengst 829851a762 Bug 1508248 - Update in-tree bugzilla metadata to use 'Firefox Build System :: Mach Core' for mach files r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D12278
2018-11-19 13:35:14 +00:00
Cosmin Sabou 0bfc3b8f90 Backed out changeset 962527f12004 (bug 1504751) for browser chrome failures on content/aboutNetworking.js 2018-11-16 23:25:55 +02:00
Collin Wing 0c88f61e61 Bug 1504751 Migrate about:networking to Fluent r=jaws,flod
Differential Revision: https://phabricator.services.mozilla.com/D10977
2018-11-16 18:01:08 +00:00
Jack Smith 278d42ce32 Bug 1502396 - Convert change and remove master password dialogs in about:preferences to use Fluent r=jaws,Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D10949
2018-11-06 21:39:17 +00:00
Thomas Daede 3c58aca6bf Bug 1501796 - Use nasm when yasm is requested. r=firefox-build-system-reviewers,mshal
Includes changes to support nasm's stricter include paths.

Supports falling back to yasm if nasm is missing.

Differential Revision: https://phabricator.services.mozilla.com/D9972
2018-11-16 01:20:58 +00:00
Francesco Lodolo (:flod) e90288ac3d Bug 1507441 - Replace FTL.VariantName with FTL.Identifier in existing recipes and documentation, fix nits in recipes r=stas
Differential Revision: https://phabricator.services.mozilla.com/D12001
2018-11-15 12:48:09 +00:00
Cosmin Sabou 068fcbe0a2 Backed out changeset 565215cf2e5e (bug 1501802) for causing mass mda failures. CLOSED TREE 2018-11-15 09:17:08 +02:00
Andreea Pavel 808a86b809 Backed out 5 changesets (bug 1498640, bug 1436037, bug 1497660, bug 1505579) for mass failures on a CLOSED TREE
Backed out changeset 914a7a899dd1 (bug 1436037)
Backed out changeset e072757bf691 (bug 1436037)
Backed out changeset b0805a8cf6eb (bug 1505579)
Backed out changeset aa32ba9e6df3 (bug 1498640)
Backed out changeset ce441b8a784c (bug 1497660)
2018-11-15 07:53:41 +02:00
Andrew Halberstadt a7ff3e51da Bug 1436037 - [python] Create Windows python-test tasks, r=gps
The following python-test paths are being moved out of 'make check' and into their own task:
- python/mozlint
- testing/mozbase
- tools/lint

The following python-test paths previously did not run on Windows:
- python/mozterm
- testing/marionette
- testing/raptor
- tools/tryselect

MozReview-Commit-ID: C07FANaYzf7

Depends on D10758

Differential Revision: https://phabricator.services.mozilla.com/D10759
2018-11-15 00:49:45 +00:00
Bob Clary 0475b740d1 Bug 1501802 - Update tooltool.py fetch_file to log.info exceptions instead of log.debug, r=garbas 2018-11-10 03:10:08 -08:00
Jack Smith 4fcd8caec6 Bug 1491676 - Moves permissions strings r=flod,Gijs,zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D9917
2018-11-14 23:11:24 +00:00
Jack Smith 8dace56cdf Bug 1491676 - Moves download folder strings r=flod,Gijs,zbraniecki
Depends on D8554

Differential Revision: https://phabricator.services.mozilla.com/D8928
2018-11-14 23:10:36 +00:00
Jack Smith 38aa03503d Bug 1491676 - Moves out of space warning strings r=flod,Gijs,zbraniecki
Depends on D8553

Differential Revision: https://phabricator.services.mozilla.com/D8554
2018-11-14 23:09:50 +00:00
Jack Smith 5ca85dbc4c Bug 1491676 - Moves master password dialog strings r=flod,Gijs,zbraniecki
Depends on D8552

Differential Revision: https://phabricator.services.mozilla.com/D8553
2018-11-14 23:08:51 +00:00
Thomas Daede 96da91900d Bug 1501796 - Add USE_NASM mozbuild option. r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D9868
2018-11-07 00:26:07 +00:00
Thomas Daede 33790cef5f Bug 1501796 - Add nasm to bootstrap scripts. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D9852
2018-11-09 05:27:54 +00:00
Connor Sheehan 80575ea7b5 Bug 1506759: remove try-except block which swallows OSError r=ted
We have a few bugs filed as intermittent failures all relating
to an `AssertionError` on the return value of this block, which
seems to have a relevant value when `OSError` is thrown. Removing
this will not fix the problem but will at least let us see the
true cause of the failure for debugging and stabilization.

Differential Revision: https://phabricator.services.mozilla.com/D11884
2018-11-14 16:33:22 +00:00
Andreea Pavel 9d857f691b Backed out changeset 2bc6db0a2574 (bug 1486524) android raptor failures ona CLOSED TREE 2018-11-14 23:04:59 +02:00
James Willcox 1719c73fa2 Bug 1486524 - Don't use XZ compression for libs on Android r=glandium,nalexander
This also uses idiomatic packaging of the native libraries, which
will allow easier downstream consumption of GeckoView.

Differential Revision: https://phabricator.services.mozilla.com/D10775
2018-11-14 17:48:58 +00:00
Ted Mielczarek dc4dd2c5cb bug 1507047 - fix packaging of generated Rust sources. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D11874
2018-11-14 16:03:47 +00:00
Qinghao_Jack_Song 545e5a5b69 Bug 1498444 - Migrate Sanitize Dialogs to use Fluent for localization r=Gijs,flod,zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D8130
2018-11-13 17:58:43 +00:00
Panos Astithas 5b551dfa47 Bug 1506317 - Use clang-7.0 for bootstraping using macports r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D11548
2018-11-13 05:01:37 +00:00
Qinghao_Jack_Song 0c9339cd28 Bug 1498451 - Migrate Device Manager Dialog of Preferences Section to use Fluent for localization r=Gijs,flod,zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D7978
2018-11-12 19:34:21 +00:00
Chris Manchester aa79a6bb4c Bug 1505859 - Allow rusttests to run when requested without --enable-rust-tests. r=firefox-build-system-reviewers,ted
Differential Revision: https://phabricator.services.mozilla.com/D11514
2018-11-10 14:59:39 +00:00
Connor Sheehan 91c76cc7d0 Bug 1505086: move verify_statedir from telemetry submission script to mozbuild.telemetry r=ted
A subsequent commit will require similar logic to the
checks found in this command. Moving to mozbuild will
allow us to re-use the function instead of re-writing
similar logic.

Differential Revision: https://phabricator.services.mozilla.com/D11277
2018-11-12 14:57:49 +00:00
Ciure Andrei 5ead9a343a Backed out changeset 25ccc02a44ff (bug 1504751) for high frequency browser_aboutURLs.js failures CLOSED TREE 2018-11-12 13:55:03 +02:00
Collin Wing 723fb624ee Bug 1504751 Migrate about:networking to Fluent r=jaws,flod
Differential Revision: https://phabricator.services.mozilla.com/D10977
2018-11-12 02:10:10 +00:00
shindli 9331299b4e Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-11-10 23:40:36 +02:00
Ted Mielczarek 793f4bef70 bug 1505205 - don't write telemetry for recursive mach command invocations. r=firefox-build-system-reviewers,chmanchester
This change tries to ensure that we don't write telemetry data for mach
commands invoked recursively as part of other mach commands. The intent of
build system telemetry is to only collect data about commands that users are
invoking directly.

There are two ways that we found mach commands can be recursively invoked:
* By running a python subprocess to recursively invoke mach (used in
  `mach bootstrap` to call `mach artifact toolchain`)
* By using `Registrar.dispatch` to delegate to a sub-command (used by many
  build system commands to invoke `mach build`).

The subprocess case is handled here by having mach set a `MACH_MAIN_PID`
environment variable whose value is the current process' pid on startup if it
does not already exist in the environment. Telemetry code then checks that the
value of that variable matches the current pid and skips writing telemetry data
if not.

The dispatch case is handled by making `MachRegistrar` store the current depth
of the command stack and pass it to the `post_dispatch_handler` which will skip
writing telemetry data if depth != 1.

Additionally the `should_skip_dispatch` function in mach_bootstrap is renamed
to `should_skip_telemetry_submission`, which was its original intent. The
combination of checks added in this change should be sufficient for deciding
when to write telemetry data, and we were not collecting telemetry for the set
of mach commands in that function (which included `mach bootstrap`).

In order to facilitate writing a test for the dispatch case this change adds a
`mach python --exec-file` option to execute Python code directly in the context
of the `mach python` command.

Differential Revision: https://phabricator.services.mozilla.com/D11207
2018-11-10 19:04:30 +00:00
Ted Mielczarek 6e12dde581 bug 1505325 - fix build telemetry path filtering when cwd is outside of topsrcdir/objdir. r=firefox-build-system-reviewers,chmanchester
The build telemetry code attempts to filter paths to avoid PII from usernames
and other things. It does this by converting every commandline argument to
an absolute path and then making them relative to topsrcdir or topobjdir and
omitting any that fail. This meant that running a mach command with a cwd
outside of the topsrcdir or objdir would omit all arguments since they were
converted to absolute paths from the cwd.

This change fixes this by adding the cwd to the list of paths used to create
relative paths. Additionally we add the user's home directory to that list
to try to avoid usernames sneaking through. Finally, instead of simply
removing these path prefixes, we replace them with sigils: $topsrcdir,
$objdir, $HOME.

Differential Revision: https://phabricator.services.mozilla.com/D11174
2018-11-10 19:14:44 +00:00
Ted Mielczarek a523f95192 bug 1505325 - refactor telemetry gathering slightly. r=firefox-build-system-reviewers,chmanchester
After bug 1497638 the method by which build telemetry data gets written
to disk is slightly convoluted. Since we're now invoking `gather_telemetry`
from `post_dispatch_handler`, we just make that function return the data
it gathers and inline the contents of `telemetry_handler` after the call
to it.

Differential Revision: https://phabricator.services.mozilla.com/D11173
2018-11-10 19:04:06 +00:00
Ted Mielczarek 10bba71fd1 bug 1505325 - add a basic test for build telemetry. r=firefox-build-system-reviewers,chmanchester
This change adds python/mach/mach/test/test_telemetry.py which contains
a simple test that running mach with the build telemetry setting enabled
causes us to write a telemetry file. The test fixture in the file should
make it easy to write additional tests.

A necessary precursor to make the tests work was to change mach_bootstrap's
`should_skip_dispatch` function, which would refuse to write telemetry data
if stdout was not a terminal (which it isn't in the tests) and also in
automation. The latter test is moved to ensure that we don't *submit*
telemetry data from automation, but we can still write it to disk. Machines
in automation should never have the telemetry setting enabled outside of
these tests anyway, so this should not change anything in practice.

Differential Revision: https://phabricator.services.mozilla.com/D11172
2018-11-10 19:04:05 +00:00
Cosmin Sabou 3376a2604d Backed out changeset 4034fbcc0a55 (bug 1501802) for causing mass mochitest failures. 2018-11-10 15:21:03 +02:00
Bob Clary df334c7417 Bug 1501802 - Update tooltool.py fetch_file to log.info exceptions instead of log.debug, r=garbas 2018-11-10 03:10:08 -08:00
Nathan Froyd 1bc1ce8610 Bug 1504031 - follow-up - require Rust 1.30.1 in bootstrap; r=me 2018-11-09 18:47:37 -05:00
Dan Gohman 985641ea40 Bug 1505777: [Cranelift] Update to Cranelift 0.23. r=bbouvier 2018-11-09 05:15:49 -08:00
Daniel Varga a108aa9406 Merge mozilla-central to autoland. a=merge 2018-11-09 12:22:53 +02:00
Mike Hommey 2a13029533 Bug 1505634 - Allow MOZ_ARTIFACT_REVISION to point to unknown mercurial changesets. r=nalexander
When using artifact builds, one can use the MOZ_ARTIFACT_REVISION
environment variable to force download artifacts from the given
revision.

When the VCS is git, it expects the revision to be a git ref or commit
sha1, which is resolved to a mercurial changeset via git-cinnabar.

It can however be convenient to just point to a given mercurial revision
directly, from, say, try, without pulling it first. This can actually be
useful even when the VCS is mercurial.

So if the given revision doesn't resolve to an existing git or hg commit,
and it's a complete 40-character sha1, we assume it's a valid mercurial
changeset.

Differential Revision: https://phabricator.services.mozilla.com/D11266
2018-11-09 02:29:38 +00:00
Jonathan Watt 2e68271f67 Bug 1408675 p4. Set per-directory include paths for Eclipse CDT. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D12011
2018-10-31 17:49:22 +00:00
Jonathan Watt 21b8d9f1cb Bug 1408675 p3. Have Eclipse CDT globally set MOZILLA_CLIENT and the NSS include path. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D12010
2018-10-31 14:19:51 +00:00
Jonathan Watt ace0cd0218 Bug 1408675 p2. Fix Eclipse CDT project missing defines. r=botond
consume_object() is only called with Defines objects for directories containing
a moz.build file that sets a DEFINES value, and those Defines objects only
contain the defines set in that moz.build (not defines that affect the
directory's files that are set elsewhere).  That's why we fail to set some
defines.

This commit changes consume_object to obtain defines from the ComputedFlags
objects that it is passed instead.  We get one of these objects for every
directory with a moz.build, and we can obtain all defines passed to the
compiler for the files in a given directory from these objects.

Differential Revision: https://phabricator.services.mozilla.com/D12009
2018-10-31 13:27:00 +00:00
Jonathan Watt 849e91a1a2 Bug 1408675 p1. Set Eclipse CDT per-directory defines in the right place. r=botond
We've been setting per-directory defines in the "CDT Managed Build Setting
Entries" which are ignored(!) during indexing since we don't use the Eclipse
managed build system (we use mach). We need to set the defines as "CDT User
Setting Entries".

Differential Revision: https://phabricator.services.mozilla.com/D12008
2018-10-31 10:02:35 +00:00
Jonathan Watt 1e34f8a14e Bug 1501507. Make the Eclipse CDT project ignore some directories when indexing. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D9606
2018-10-30 15:56:29 +00:00
Csoregi Natalia 6ab28166ea Backed out changeset 5cb52fcd2fb0 (bug 1504751) for browser_misused_characters_in_strings.js failures. CLOSED TREE 2018-11-08 21:47:38 +02:00
Chris Manchester ef8c3e4448 Bug 1505072 - Implement rusttests as a non-default sub-graph of the build. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D11240
2018-11-08 17:02:27 +00:00