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

3382 Коммитов

Автор SHA1 Сообщение Дата
Nicolas Silva 9e32351a84 Bug 1732000 - use utf-8 when parsing the wrench logcat on android. r=gfx-reviewers,gw
Differential Revision: https://phabricator.services.mozilla.com/D126681
2021-09-28 08:44:46 +00:00
Alex Lopez 63022efc7a Bug 1696251: Allow mach commands as stand-alone functions and adapt existing commands. r=mhentges,webdriver-reviewers,perftest-reviewers,sparky,whimboo
This removes the `@CommandProvider` decorator and the need to implement
mach commands inside subclasses of `MachCommandBase`, and moves all
existing commands out from classes to module level functions.

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

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

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

Differential Revision: https://phabricator.services.mozilla.com/D121512
2021-09-17 19:00:39 +00:00
Mike Hommey 744c7c2d64 Bug 1728507 - Remove mozilla-build NSIS path from $PATH on automation. r=firefox-build-system-reviewers,mhentges
The few builds that still run on Windows are supposed to be using NSIS
from fetches rather than from from mozilla-build already.

Differential Revision: https://phabricator.services.mozilla.com/D124161
2021-09-14 23:18:22 +00:00
Mike Hommey 8fda6d0a50 Bug 1729413 - Don't reset the environment when setting UPLOAD_PATH for make upload. r=releng-reviewers,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D124895
2021-09-08 21:01:43 +00:00
Connor Sheehan 2ebbff83c0 Bug 1723985: coerce exceptions to `str` and then `pycompat.bytestr` before displaying to screen r=mhentges
Adds exception formatting changes from version-control-tools to the
in-tree copy of `robustcheckout`.

Differential Revision: https://phabricator.services.mozilla.com/D124826
2021-09-08 14:41:43 +00:00
Mike Hommey a8480fc1c2 Bug 1729383 - Move sccache shutdown back to client.mk. r=firefox-build-system-reviewers,mhentges
It was moved in bug 1495798 for rusttests, because they didn't use
client.mk, but as of bug 1683797, they do. And it turns out that when
sccache is really started as originally intended, inheriting the make
jobserver, the build is dead-locked until sccache quits (because sccache
still has a jobserver token for some reason). But sccache never quits
when we make it stop outside client.mk.

Differential Revision: https://phabricator.services.mozilla.com/D124728
2021-09-08 00:10:22 +00:00
Jamie Nicol 15d74fcee2 Bug 1728064 - Add test to ensure shaders don't contain flat scalar varyings on android. r=gfx-reviewers,kvark
There is a driver bug on Adreno 3xx devices causing incorrect
rendering when flat scalar varyings are used in fragment shaders. This
has occured several times in different shaders, so this patch finally
adds a test to ensure it does not occur again.

We have used the glsl crate to parse and validate the shaders rather
than angle, as exposing the required bindings to mozangle is messy. We
must therefore use the pre-optimized shaders as the glsl crate does
not handle preprocessor directives correctly.

This has been implemented as a wrench test rather than a unit test as
running unit tests on android is difficult. Additionally we want to
use the shaders specific to the platform the tests are ran on, the bug
only affects (some) android devices, and shaders on other platforms
may differ.

Differential Revision: https://phabricator.services.mozilla.com/D124205
2021-09-06 13:56:58 +00:00
Marian-Vasile Laza c39298632e Backed out 2 changesets (bug 1728064) for causing webrender bustages. CLOSED TREE
Backed out changeset 9c7077da42f2 (bug 1728064)
Backed out changeset 4daf6a7a42f7 (bug 1728064)
2021-09-06 15:10:51 +03:00
Jamie Nicol 7542987dcd Bug 1728064 - Add test to ensure shaders don't contain flat scalar varyings on android. r=gfx-reviewers,kvark
There is a driver bug on Adreno 3xx devices causing incorrect
rendering when flat scalar varyings are used in fragment shaders. This
has occured several times in different shaders, so this patch finally
adds a test to ensure it does not occur again.

We have used the glsl crate to parse and validate the shaders rather
than angle, as exposing the required bindings to mozangle is messy. We
must therefore use the pre-optimized shaders as the glsl crate does
not handle preprocessor directives correctly.

This has been implemented as a wrench test rather than a unit test as
running unit tests on android is difficult. Additionally we want to
use the shaders specific to the platform the tests are ran on, the bug
only affects (some) android devices, and shaders on other platforms
may differ.

Differential Revision: https://phabricator.services.mozilla.com/D124205
2021-09-06 11:20:48 +00:00
Alexandru Michis 5b0ce631d6 Backed out changeset c1aa00bd2722 (bug 1660870) for causing wpt timeouts. 2021-09-03 02:55:44 +03:00
Aki Sasaki 1095044489 Bug 1660870 - ignore non-wpt test paths in wpt. r=releng-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D124129
2021-09-02 20:55:01 +00:00
Alexandru Michis b7d5d6511c Backed out changeset 69bd8bc9c511 (bug 1660870) for causing wpt failures in block-page-break-inside-avoid-1-print.html
CLOSED TREE
2021-09-02 23:31:46 +03:00
Aki Sasaki 1abcb47ac3 Bug 1660870 - ignore non-wpt test paths in wpt. r=releng-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D124129
2021-09-02 18:54:30 +00:00
Alexandru Michis 627d1a124d Backed out changeset 2000fe6ec3bc (bug 1660870) for causing multiple wpt failures.
CLOSED TREE
2021-09-02 20:08:56 +03:00
Aki Sasaki b5a94c8eb4 Bug 1660870 - ignore non-wpt test paths in wpt. r=releng-reviewers,ahal DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D124129
2021-09-02 16:03:00 +00:00
Mike Hommey 278fa528e2 Bug 1727687 - Upgrade windows builds to MSVC 15.9.6. r=firefox-build-system-reviewers,agashlin,jgilbert,mhentges
There are two big parts in the MSVC toolchain we use:
- the Windows 10 SDK
- Visual C++

For the former, both the 15.8.4 and 15.9.6 toolchains are using the same
version of the Win10 SDK.
For the latter, we're not using the compiler itself anymore, so the only
substantial difference is in the headers and libraries included with
Visual C++, as well as the redist libraries for the CRT. Both versions
are supposed to be compatible to the same set of OS versions, fitting
our system requirements.

This makes us use the same version of MSVC on all our Windows builds
(arm64 builds were already on 15.9.6).

Differential Revision: https://phabricator.services.mozilla.com/D123720
2021-08-30 21:29:35 +00:00
Ben Hearsum 2ba2f74f31 Bug 1614200: fix linting issues. r=jmaher CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D120847
2021-07-26 13:55:02 +00:00
Ben Hearsum 638b80adab Bug 1714200: Resign python virtualenv binaries on macOS to workaround issues on M1s. r=jmaher
Depends on D120750

Differential Revision: https://phabricator.services.mozilla.com/D120751
2021-07-26 13:16:24 +00:00
Joel Maher 0750a93f78 Bug 1722028 - fix partial compare to work in python3 when using ESR versions. r=bhearsum
Differential Revision: https://phabricator.services.mozilla.com/D120737
2021-07-23 21:05:30 +00:00
Agi Sferro 8fc4964dd1 Bug 1709640 - Add GeckoView Lite build variant. r=jmaher,aklotz,mhentges,glandium
This patch adds a new GeckoView build variant dubbed "lite". We are in the
process of adding some optional dependencies to GeckoView that are needed by
Fenix (like Glean and Nimbus) which are likely not going to be used by anyone
else at Mozilla. To avoid bloating third party consumers, we provide a
geckoview-lite build that doesn't contain any optional dependency.

The min SDK version of GeckoView (non-lite) is being increased to 21 to match
Glean's min SDK. Given that Fenix's min SDK version is already 21 and that the
lite version's min SDK is still at 16 this change is safe to do and will not
incur in any loss of usability.

Differential Revision: https://phabricator.services.mozilla.com/D114370
2021-07-20 22:19:17 +00:00
Agi Sferro e0e133ae7b Bug 1718341 - Use generated emulator when running WR Android jobs. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D119222
2021-07-20 22:19:14 +00:00
Agi Sferro 7517b3ca00 Bug 1718341 - Generate Android AVD in TL job instead of using tooltool r=aklotz,nalexander
Tooltool images are hard to update because we don't provide a script to
generate the image and documentation is often inaccurate.

This patch makes it so we generate the AVD in the android-sdk TL job instead.

Differential Revision: https://phabricator.services.mozilla.com/D119221
2021-07-20 22:19:14 +00:00
Agi Sferro 6e06d728d2 Bug 1718341 - Run instrumented build on x86_64. r=aklotz,glandium
The ARM emulator images have very poor support and haven't been updated for a
long time.

Normally x86_64 images need KVM acceleration which is not available on build
machines (see Bug 1545497). We can work around this by starting the emulator
with the command line |--no-accel|.

Differential Revision: https://phabricator.services.mozilla.com/D119223
2021-07-20 22:19:13 +00:00
Agi Sferro 05486b27b3 Bug 1718341 - Rename arm-4.3 -> arm r=aklotz,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D119220
2021-07-20 22:19:13 +00:00
Agi Sferro d38faa5bde Bug 1718341 - Rename androidx86_7_0.py to android-x86_64. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D119219
2021-07-20 22:19:13 +00:00
Sebastian Hengst 5a4f8ee0eb Backed out 13 changesets (bug 1709640, bug 1718341) for failing geckoview-junit tasks on shippable lite platform. CLOSED TREE
Backed out changeset abc4249b08a0 (bug 1709640)
Backed out changeset c7f2fa8d7535 (bug 1709640)
Backed out changeset 45b07d37f247 (bug 1709640)
Backed out changeset a15b3b87d71e (bug 1718341)
Backed out changeset a87639f2921b (bug 1718341)
Backed out changeset 31a57851c6d1 (bug 1718341)
Backed out changeset c7de56a1f886 (bug 1718341)
Backed out changeset 5e76806752c8 (bug 1718341)
Backed out changeset 74cfe6df218b (bug 1718341)
Backed out changeset 3bd0e376de51 (bug 1718341)
Backed out changeset 176238f92cfe (bug 1718341)
Backed out changeset 38d622f60fa5 (bug 1718341)
Backed out changeset 2e16fa5f0a1f (bug 1718341)
2021-07-20 11:31:01 +02:00
Mike Hommey d81e64d72b Bug 1719608 - Make robustcheckout compatible with up to Mercurial 5.8. r=sheehan
Differential Revision: https://phabricator.services.mozilla.com/D119374
2021-07-20 04:01:34 +00:00
Agi Sferro 4c9aa8ef11 Bug 1709640 - Add GeckoView Lite build variant. r=jmaher,aklotz,mhentges,glandium
This patch adds a new GeckoView build variant dubbed "lite". We are in the
process of adding some optional dependencies to GeckoView that are needed by
Fenix (like Glean and Nimbus) which are likely not going to be used by anyone
else at Mozilla. To avoid bloating third party consumers, we provide a
geckoview-lite build that doesn't contain any optional dependency.

The min SDK version of GeckoView (non-lite) is being increased to 21 to match
Glean's min SDK. Given that Fenix's min SDK version is already 21 and that the
lite version's min SDK is still at 16 this change is safe to do and will not
incur in any loss of usability.

Differential Revision: https://phabricator.services.mozilla.com/D114370
2021-07-20 03:23:32 +00:00
Agi Sferro 619b3fa49d Bug 1718341 - Use generated emulator when running WR Android jobs. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D119222
2021-07-20 03:23:30 +00:00
Agi Sferro 43584d5056 Bug 1718341 - Generate Android AVD in TL job instead of using tooltool r=aklotz,nalexander
Tooltool images are hard to update because we don't provide a script to
generate the image and documentation is often inaccurate.

This patch makes it so we generate the AVD in the android-sdk TL job instead.

Differential Revision: https://phabricator.services.mozilla.com/D119221
2021-07-20 03:23:29 +00:00
Agi Sferro 967c4e3272 Bug 1718341 - Run instrumented build on x86_64. r=aklotz,glandium
The ARM emulator images have very poor support and haven't been updated for a
long time.

Normally x86_64 images need KVM acceleration which is not available on build
machines (see Bug 1545497). We can work around this by starting the emulator
with the command line |--no-accel|.

Differential Revision: https://phabricator.services.mozilla.com/D119223
2021-07-20 03:23:29 +00:00
Agi Sferro 910da6cc43 Bug 1718341 - Rename arm-4.3 -> arm r=aklotz,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D119220
2021-07-20 03:23:29 +00:00
Agi Sferro 5f7b3c764a Bug 1718341 - Rename androidx86_7_0.py to android-x86_64. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D119219
2021-07-20 03:23:28 +00:00
Ben Hearsum 7fd7d394ea No bug: set self.test_packages_url in Talos script to make sure TestingMixin can find test packages when they've been overridden. r=releng-reviewers,aki
Differential Revision: https://phabricator.services.mozilla.com/D120110
2021-07-19 17:02:42 +00:00
Alex Lopez 77ce415604 Bug 1696251 - Replace self with command_context where possible in existing mach commands. r=mhentges,webdriver-reviewers,perftest-reviewers,whimboo
This step removes all the dependencies of mach commands to
having a MachCommandBase as the `self` by using the `command_context`
argument instead. This also removes any remaining statefulness from those
classes that implement mach commands, ultimately making it easier to move
existing commands out of classes in a follow-up.

Differential Revision: https://phabricator.services.mozilla.com/D118058
2021-07-19 16:04:25 +00:00
Butkovits Atila df5b6f3929 Backed out 13 changesets (bug 1709640, bug 1718341) for causing android build bustages. CLOSED TREE
Backed out changeset 20645ae32b84 (bug 1709640)
Backed out changeset 7c45682a8f98 (bug 1709640)
Backed out changeset 667e768fd75e (bug 1709640)
Backed out changeset f072adb45b85 (bug 1718341)
Backed out changeset cf443dddb5f5 (bug 1718341)
Backed out changeset 09d3d3e4ce7d (bug 1718341)
Backed out changeset 2b47cc469477 (bug 1718341)
Backed out changeset 8ec277361e46 (bug 1718341)
Backed out changeset b6c4c82d3efc (bug 1718341)
Backed out changeset 8afb8fcd0dc3 (bug 1718341)
Backed out changeset 7723d3a9ba7f (bug 1718341)
Backed out changeset f33b120a77d0 (bug 1718341)
Backed out changeset e7bf6deac270 (bug 1718341)
2021-07-17 01:02:51 +03:00
Agi Sferro 73fdfec807 Bug 1709640 - Add GeckoView Lite build variant. r=jmaher,aklotz,mhentges,glandium
This patch adds a new GeckoView build variant dubbed "lite". We are in the
process of adding some optional dependencies to GeckoView that are needed by
Fenix (like Glean and Nimbus) which are likely not going to be used by anyone
else at Mozilla. To avoid bloating third party consumers, we provide a
geckoview-lite build that doesn't contain any optional dependency.

The min SDK version of GeckoView (non-lite) is being increased to 21 to match
Glean's min SDK. Given that Fenix's min SDK version is already 21 and that the
lite version's min SDK is still at 16 this change is safe to do and will not
incur in any loss of usability.

Differential Revision: https://phabricator.services.mozilla.com/D114370
2021-07-16 19:26:48 +00:00
Agi Sferro 1e6db53a96 Bug 1718341 - Use generated emulator when running WR Android jobs. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D119222
2021-07-16 17:49:55 +00:00
Agi Sferro fa3a9445b3 Bug 1718341 - Generate Android AVD in TL job instead of using tooltool r=aklotz,nalexander
Tooltool images are hard to update because we don't provide a script to
generate the image and documentation is often inaccurate.

This patch makes it so we generate the AVD in the android-sdk TL job instead.

Differential Revision: https://phabricator.services.mozilla.com/D119221
2021-07-16 17:49:54 +00:00
Agi Sferro b06582c791 Bug 1718341 - Run instrumented build on x86_64. r=aklotz,glandium
The ARM emulator images have very poor support and haven't been updated for a
long time.

Normally x86_64 images need KVM acceleration which is not available on build
machines (see Bug 1545497). We can work around this by starting the emulator
with the command line |--no-accel|.

Differential Revision: https://phabricator.services.mozilla.com/D119223
2021-07-16 17:49:54 +00:00
Agi Sferro c43f1d54ef Bug 1718341 - Rename arm-4.3 -> arm r=aklotz,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D119220
2021-07-16 17:49:54 +00:00
Agi Sferro b683cdb180 Bug 1718341 - Rename androidx86_7_0.py to android-x86_64. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D119219
2021-07-16 17:49:53 +00:00
Butkovits Atila a07f790e42 Backed out changeset e1921c5112d8 (bug 1696251) for causing bustages complaining about 'CommandContext'. CLOSED TREE 2021-07-16 20:35:55 +03:00
Alex Lopez 190e03aaab Bug 1696251 - Replace self with command_context where possible in existing mach commands. r=mhentges,webdriver-reviewers,perftest-reviewers,whimboo
This step removes all the dependencies of mach commands to
having a MachCommandBase as the `self` by using the `command_context`
argument instead. This also removes any remaining statefulness from those
classes that implement mach commands, ultimately making it easier to move
existing commands out of classes in a follow-up.

Differential Revision: https://phabricator.services.mozilla.com/D118058
2021-07-16 15:51:29 +00:00