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

3539 Коммитов

Автор SHA1 Сообщение Дата
Mike Shal e28f6db31f Bug 1537574 - Use mozbuild's backend-out-of-date logic for RecursiveMake; r=firefox-build-system-reviewers,chmanchester
If mozbuild parsing fails due to a missing file (eg: a file not existing
in UNIFIED_SOURCES), then no Makefiles are written out, but
config.status exists. This would cause mozbuild to think that configure
doesn't need to run, and rely on make to perform the backend-out-of-date
check in rebuild-backend.mk. Unfortunately since no Makefiles were
written, the make command fails immediately and no attempt is made to
re-create the backend. Note that this is only a problem if the first
mozbuild parsing from a clobber build fails, otherwise there is
typically a top-level Makefile from a previous build to call into (at
which point make can determine it is out-of-date, and re-invoke itself).

The fix is to have the RecursiveMake backend re-use the same logic that
was introduced into mozbuild for alternate backends, and remove
rebuild-backend.mk. This way, mozbuild can always determine if the
backend needs to be regenerated, even if the initial parsing failed.

Test code was also relying on rebuild-backend.mk to generate the
TestBackend, but moving backend_out_of_date() into MozbuildObject allows
this code to be shared.

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

--HG--
rename : build/gen_test_backend.py => python/mozbuild/mozbuild/gen_test_backend.py
extra : moz-landing-system : lando
2019-04-10 22:14:27 +00:00
Chris Manchester bfada6ed16 Bug 1542042 - Convert arguments to unicode explicitly in |./mach run|. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D26832

--HG--
extra : moz-landing-system : lando
2019-04-09 23:13:07 +00:00
Bastien Abadie a474eff8dd Bug 1541412 - Add static-analysis check-java to source-test tasks, r=ahal,andi
Differential Revision: https://phabricator.services.mozilla.com/D25929

--HG--
rename : taskcluster/scripts/misc/source-test-clang-setup.sh => taskcluster/scripts/misc/source-test-common.sh
extra : moz-landing-system : lando
2019-04-08 15:41:30 +00:00
Andi-Bogdan Postelnicu 034e5a3f5c Bug 1542871 - prevent data loss for clang-format when using incompatible/old clang-format binary. r=sylvestre
This issue has been detected and reproduced by :klotz and :jorendorff.

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

--HG--
extra : moz-landing-system : lando
2019-04-10 09:32:07 +00:00
Andi-Bogdan Postelnicu 595caf7d7c Bug 1543024 - [Coverity] Add more information to the exported artifact that is generated by Coverity. r=bastien
Differential Revision: https://phabricator.services.mozilla.com/D26682

--HG--
extra : moz-landing-system : lando
2019-04-10 07:19:26 +00:00
Petr Sumbera 41916af393 Bug 1405345 - ldflags as defined in gypi shouldn't be ignored at least on Solaris for now r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D26287

--HG--
extra : moz-landing-system : lando
2019-04-09 13:22:16 +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
Andreea Pavel a7f868ac25 Backed out changeset 95b3298fd2d4 (bug 1537574) for windows task timeouts a=backout
--HG--
rename : python/mozbuild/mozbuild/gen_test_backend.py => build/gen_test_backend.py
2019-04-08 22:23:03 +03:00
Mike Shal 96425af79a Bug 1537574 - Use mozbuild's backend-out-of-date logic for RecursiveMake; r=firefox-build-system-reviewers,chmanchester
If mozbuild parsing fails due to a missing file (eg: a file not existing
in UNIFIED_SOURCES), then no Makefiles are written out, but
config.status exists. This would cause mozbuild to think that configure
doesn't need to run, and rely on make to perform the backend-out-of-date
check in rebuild-backend.mk. Unfortunately since no Makefiles were
written, the make command fails immediately and no attempt is made to
re-create the backend. Note that this is only a problem if the first
mozbuild parsing from a clobber build fails, otherwise there is
typically a top-level Makefile from a previous build to call into (at
which point make can determine it is out-of-date, and re-invoke itself).

The fix is to have the RecursiveMake backend re-use the same logic that
was introduced into mozbuild for alternate backends, and remove
rebuild-backend.mk. This way, mozbuild can always determine if the
backend needs to be regenerated, even if the initial parsing failed.

Test code was also relying on rebuild-backend.mk to generate the
TestBackend, but moving backend_out_of_date() into MozbuildObject allows
this code to be shared.

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

--HG--
rename : build/gen_test_backend.py => python/mozbuild/mozbuild/gen_test_backend.py
extra : moz-landing-system : lando
2019-04-08 16:37:56 +00:00
Dorel Luca 7783e898b4 Backed out changeset 471b2063c817 (bug 1540656) for XPCShell failures in dom/push/test/xpcshell/test_register_success_http2.js 2019-04-08 15:49:10 +03:00
Andi-Bogdan Postelnicu 706b294e8b Bug 1541147 - [Coverity] Create a try job that performs coverity static-analysis for patches. r=bastien
Differential Revision: https://phabricator.services.mozilla.com/D26145

--HG--
extra : moz-landing-system : lando
2019-04-08 10:42:37 +00:00
Valentin Gosu de5f594f79 Bug 1540656 - Use dns-packet node module in test_trr.js r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D25671

--HG--
extra : moz-landing-system : lando
2019-04-08 10:42:34 +00:00
Coroiu Cristina ce554d423a Backed out changeset 7e2aef09165a (bug 1541147) on request by Andy 2019-04-08 13:24:38 +03:00
Andi-Bogdan Postelnicu 7d35667207 Bug 1541147 - [Coverity] Create a try job that performs coverity static-analysis for patches. r=bastien
Differential Revision: https://phabricator.services.mozilla.com/D26145

--HG--
extra : moz-landing-system : lando
2019-04-08 10:16:13 +00:00
Razvan Maries 782c1800ed Backed out changeset ac130652ae81 (bug 1541147) for Gecko Decision Task bustages. CLOSED TREE 2019-04-06 10:23:16 +03:00
Andi-Bogdan Postelnicu b8099454fc Bug 1541147 - [Coverity] Create a try job that performs coverity static-analysis for patches. r=bastien
Differential Revision: https://phabricator.services.mozilla.com/D26145

--HG--
extra : moz-landing-system : lando
2019-04-06 06:32:16 +00:00
Andrew Halberstadt 36f246059f Bug 1195299 - [mozharness] Remove copies of mozbase from testing/mozharness r=catlee
Differential Revision: https://phabricator.services.mozilla.com/D22185

--HG--
extra : moz-landing-system : lando
2019-04-05 15:39:50 +00:00
Csoregi Natalia 327990d881 Backed out changeset e2a6e9aafcf6 (bug 1541147) for gecko decision task failure. CLOSED TREE 2019-04-05 16:19:58 +03:00
Andi-Bogdan Postelnicu 831dab5548 Bug 1541147 - [Coverity] Create a try job that performs coverity static-analysis for patches. r=bastien
Differential Revision: https://phabricator.services.mozilla.com/D26145

--HG--
extra : source : 3779175a4d7fdd3eb5b6fd380342d41c22764690
2019-04-05 12:26:54 +00:00
Csoregi Natalia 7fc8245165 Backed out changeset 3779175a4d7f (bug 1541147) for gecko decision bustage. CLOSED TREE 2019-04-05 15:53:56 +03:00
Andi-Bogdan Postelnicu c8538c029f Bug 1541147 - [Coverity] Create a try job that performs coverity static-analysis for patches. r=bastien
Differential Revision: https://phabricator.services.mozilla.com/D26145

--HG--
extra : moz-landing-system : lando
2019-04-05 12:26:54 +00:00
Bogdan Tara c39c82922d Backed out 2 changesets (bug 1195299) for l10n bustages a=backout
Backed out changeset 9645ac1a9851 (bug 1195299)
Backed out changeset 4de7f94119fd (bug 1195299)
2019-04-05 14:11:45 +03:00
Andrew Halberstadt 372e239037 Bug 1195299 - [mozharness] Remove copies of mozbase from testing/mozharness r=catlee
Differential Revision: https://phabricator.services.mozilla.com/D22185

--HG--
extra : moz-landing-system : lando
2019-04-04 12:34:56 +00:00
Emilio Cobos Álvarez ef1802df7b Bug 1541660 - Fix clang-format subcommands that don't take a path. r=bastien
We do need some test for this stuff...

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

--HG--
extra : moz-landing-system : lando
2019-04-04 07:14:34 +00:00
Chris Manchester d442e40c5e Bug 1540941 - Update artifact build routes for shippable builds. r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D26014

--HG--
extra : moz-landing-system : lando
2019-04-03 22:14:27 +00:00
Ciure Andrei 58c8915ecd Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-04-04 00:57:38 +03:00
Dave Townsend 8a2398e023 Bug 1541086: Remove the embedding code and update the bug components for widget::headless. r=myk r=bdahl
Differential Revision: https://phabricator.services.mozilla.com/D25800

--HG--
extra : rebase_source : c3ec2eec85909de82e9e2d4ef8ee77b19d4295df
2019-04-02 09:07:54 -07:00
Tarek Ziadé fbf4fdacfb Bug 1527620 - Add youtube streaming tests - r=whimboo
This patch introduces a new marionette media test along
with a Youtube test.

To run the Youtube streaming test locally:

./mach marionette-test dom/media/test/marionette/test_youtube.py -vv --gecko-log -

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

--HG--
extra : moz-landing-system : lando
2019-04-02 15:09:47 +00:00
Bastien Abadie 566eb8e960 Bug 1538770 - Remove _conv_to_abspath from mach static analysis, r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D25769

--HG--
extra : moz-landing-system : lando
2019-04-02 14:11:33 +00:00
Emilio Cobos Álvarez 306bfb3d57 Bug 1541332 - Remove unused setup feature for file records. r=glandium
Seems unused since bug 1426785, looks like.

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

--HG--
extra : moz-landing-system : lando
2019-04-03 07:31:05 +00:00
Emilio Cobos Álvarez 36759e604c Bug 1540540 - Do not unconditionally re-extract stuff from mach bootstrap. r=glandium
Keep a checksum to avoid re-extracting artifacts over and over.

In the future we can also check the checksum to avoid downloading the artifact
altogether, maybe.

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

--HG--
extra : moz-landing-system : lando
2019-04-03 07:08:12 +00:00
Bastien Abadie 502ea8a095 Bug 1538770 - Replace TRY_MODIFIED_FILES by mozversioncontrol usage, r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D24876

--HG--
extra : moz-landing-system : lando
2019-04-02 14:00:30 +00:00
Narcis Beleuzu 36a6694a8b Backed out changeset 304b957afe29 (bug 1527620) for marionette-media failures on test_youtube.py. CLOSED TREE 2019-04-02 11:19:26 +03:00
Tarek Ziadé 0d09d08c72 Bug 1527620 - Add youtube streaming tests - r=whimboo
This patch introduces a new marionette media test along
with a Youtube test.

To run the Youtube streaming test locally:

./mach marionette-test dom/media/test/marionette/test_youtube.py -vv --gecko-log -

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

--HG--
extra : moz-landing-system : lando
2019-04-02 07:38:41 +00:00
Nick Alexander fbb2df205f Bug 1525968 - Make local development artifact builds on Android download full build symbols. r=froydnj
We produce two types of build symbol archives in automation:

- "crashreporter-symbols.zip" contains Breakpad-format .sym files
- "crashreporter-symbols-full.zip" contains Breakpad-format .sym files
  and compressed ELF debug symbol .dbg.gz files

Right now, `--enable-artifact-build-symbols` from Bug 1305502
downloads only "crashreporter-symbols.zip".

The Android Studio version of lldb, currently 7.0.0, doesn't support
Breakpad-format .sym files. It does support (uncompressed) ELF debug
symbols.  (Note that gdb isn't supported on Android and hasn't been for
some time.)

This makes ` --enable-artifact-build-symbols` download the full
symbols for Android builds that aren't in automation, to be useful for
debugging Android builds with lldb locally.

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

--HG--
extra : moz-landing-system : lando
2019-03-27 22:37:40 +00:00
Nick Alexander a06dbe603f Bug 1525968 - Pre: Log more with `./mach artifact install -v`. r=froydnj
It's not helpful to have a DEBUG log level, 'cuz the -v flag to
`./mach artifact install` doesn't turn on DEBUG logging.

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

--HG--
extra : moz-landing-system : lando
2019-03-27 22:37:30 +00:00
Mike Hommey f535e6cec9 Followup for bug 1539355: Make it work for the root directory. r=me
When an added file is not under an app or addon directory, its base
directory is ''. The code added in bug 1539355 would skip doing its
thing in that case, which it shouldn't.

Also revert the workaround from bug 1525762.
2019-03-31 07:27:43 +09:00
Kris Maglione 6dbe6f1959 Bug 1525762: Part 1j - Work around XPI omni.jar packaging issues. r=bustage CLOSED TREE
We have some convoluted packaging logic to automatically package any directory
with a manifest.json file as an XPI. Unfortunately, that logic also applies to
extensions that are supposed to be part of omni.ja.

It would be nice to have a cleaner way to filter out any resources which we've
already flagged to be part of omni.ja, but this patch takes the simpler
approach of just including anything that's in a modules/ directory, which is
whitelisted for omni.ja elsewhere.

--HG--
extra : source : d30967b60a03f8f4286c26f14342d50e03a59f9d
extra : amend_source : 2ddab7bd7ce2fb666d5335bf9941328d9dd7d66f
2019-03-22 17:29:21 -07:00
Coroiu Cristina a21690048b Merge mozilla-central to inbound a=merge 2019-03-29 11:50:07 +02:00
Mike Hommey ee64e5bdec Bug 1510897 - Separate Android C++ flags from the other Android toolchain flags. r=nalexander
We shouldn't pass those flags when building C. It doesn't matter /too/
much currently, but will in a subsequent change, which will introduce
a C++-only flag in stlport_cppflags.

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

--HG--
extra : moz-landing-system : lando
2019-03-27 22:05:04 +00:00
Chris Manchester 5c005e476e Bug 1526072 - Record cpu utilization and clobber/full builds in build telemetry. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D22630

--HG--
extra : moz-landing-system : lando
2019-03-27 22:42:48 +00:00
Chris Manchester 584f26283b Bug 1526072 - Add cpu utilization and clobber fields to build telemetry schema. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D22629

--HG--
extra : moz-landing-system : lando
2019-03-27 22:47:58 +00:00
Chris Manchester ed4fd3fd3a Bug 1526072 - Avoid trailing spaces when generating the schema for build telemetry. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D22628

--HG--
extra : moz-landing-system : lando
2019-03-27 22:46:22 +00:00
Mike Hommey 2a363e7418 Bug 1539355 - Don't package addons in resource directories as XPI in OmnijarFormatter. r=nalexander
The addons manager is going to support this usecase.

Depends on D25036

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

--HG--
extra : moz-landing-system : lando
2019-03-27 22:33:10 +00:00
Mike Hommey 33c810b43c Bug 1539355 - Force callers of *Formatter.add_base to order their bases. r=nalexander
Practically speaking, it makes no difference, as only the calls to
add_base from tests weren't already ordered.

This allows a simpler approach for next change.

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

--HG--
extra : moz-landing-system : lando
2019-03-27 22:19:32 +00:00
Mike Hommey 5dbf4813a5 Bug 1539355 - Add a packager test for in-resource addons. r=nalexander
This demonstrates how addons positioned under a resource directory (a
directory that would normally go in omni.ja) is currently treated.

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

--HG--
extra : moz-landing-system : lando
2019-03-27 16:12:08 +00:00
Justin Wood d2abc5343d Bug 1535393 - Fill in the correct MSI version number for release and ESR. r=mhowell,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D24994

--HG--
extra : moz-landing-system : lando
2019-03-27 17:10:58 +00:00
Noemi Erli cfaf79673c Backed out changeset e5117d2f9311 (bug 1533051) for Android xpcshell failures CLOSED TREE 2019-03-28 01:33:00 +02:00
Nick Alexander 3dce09e76f Bug 1533051 - Package GeckoView prefs at architecture-specific paths for Android fat AAR/GeckoView multi-architecture builds. r=glandium
Bug 1533425 makes Gecko try to load from $ARCH/greprefs.js, etc on
Android.  This patch teaches the packager to put preferences into
those architecture-specific locations for that code to find.

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

--HG--
extra : moz-landing-system : lando
2019-03-27 17:35:26 +00:00
Noemi Erli 6269026d4e Backed out 4 changesets (bug 1526072) for causing build bustages in test_clobber.py CLOSED TREE
Backed out changeset d3d56eca307f (bug 1526072)
Backed out changeset 37942b0f911b (bug 1526072)
Backed out changeset a0eb0f43c928 (bug 1526072)
Backed out changeset c1d1576431d7 (bug 1526072)
2019-03-27 22:51:22 +02:00