Commit Graph

7883 Commits

Author SHA1 Message Date
Mitchell Hentges
95310794d0 Bug 1632429: Improve py3-compatiblity of taskgraph; r=tomprince,ahal
As |./mach| commands are migrated to python3, "taskgraph" needs to be compatible while still working with python2.

This patch migrates several iter*() calls and python2-specific imports to work with "six" instead.

Note that there's still python2-specific parts of taskgraph, I'm just modifying the pieces that are affecting
the code paths that I'm currently migrating (in this case, |./mach try|

Differential Revision: https://phabricator.services.mozilla.com/D73397
2020-05-07 04:47:17 +00:00
Gregory Mierzwinski
631c2f879c Bug 1627026 - Use Fenix nightly build variant in perftests. r=perftest-reviewers,davehunt
This patch changes the build variant we use for performance testing in raptor and browsertime from performance-test to the fennec-nightly build which is more representative of what a user might experience.

Depends on D68190

Differential Revision: https://phabricator.services.mozilla.com/D72886
2020-05-07 15:03:26 +00:00
Gregory Mierzwinski
f0f846338c Bug 1613487 - Disable Raptor-webext and enable Raptor-btime Fenix tests. r=perftest-reviewers,Bebe
This patch does a few things:
(1) Prevents Amazon and Youtube Fenix Browsertime tests from running on each push.
(2) Prevents Chrome Browsertime tests from running on each push (these should only run through the cron task).
(3) Prevents Speedometer Fenix Browsertime tests from running on each m-c push.
(4) Replaces the Raptor Fenix speedometer test in the general cron task with the Browsertime variant.
(5) Replaces the Raptor Fenix Amazon test with in the tp6m cron task with the Browsertime variant.

Differential Revision: https://phabricator.services.mozilla.com/D68190
2020-05-07 13:49:27 +00:00
Tom Prince
dc655024c6 Bug 1635732: Use a worker alias for t-linux-metal workers; r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D74188
2020-05-07 14:06:15 +00:00
Mike Hommey
4f407cb9b4 Bug 1634204 - Upgrade Linux build docker images to Debian 8. r=froydnj
This gets rid for the need of a number of local packages (mostly related
to Gtk+3). One exception is that we now need a 32-bits version of the
xz-utils package, some -dev package depends on it, and that dependency
can't be fulfilled in the 32-bits image because we already have the
64-bits backport installed, which conflicts with it (we need both
32-bits and 64-bits package to be at the same version when installed).

The system binutils fails to link clang-7 for some reason, so we now use
our toolchain binutils instead, like we already do for newer versions of
clang.

The debian-packages docker image now needs an explicit installation of
git, because it's not pulled in via the recommends of some other
package.

For some reason, snapshot.debian.org doesn't contain the jessie-backports
archive at the same location as others, and only has a few snapshots of
the archive.

Differential Revision: https://phabricator.services.mozilla.com/D73784
2020-05-06 14:16:03 +00:00
Mike Hommey
696cb0cc9c Bug 1625696 - Update winchecksec and build/use it natively for Linux. r=dmajor
Now that upstream winchecksec builds and works natively on Linux, use
that. That should solve the random crashes under Wine. If random crashes
still happen, it will be easier to debug anyways.
We bump to the last version that doesn't use vcpkg because vcpkg makes
things more difficult.

Differential Revision: https://phabricator.services.mozilla.com/D73405
2020-05-07 00:34:36 +00:00
Wander Lairson Costa
7667ce064e Bug 1635732: Switch web-platform-tests from packet.net to AWS r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D74069
2020-05-06 17:52:14 +00:00
Geoff Brown
02269c9305 Bug 1624649: Move android-em to pull emulator from toolchain instead of tooltool; r=wcosta,kats
This is very similar to wcosta's earlier patch, with a few adjustments to overcome
special cases:
 - remove the wrench override of adb path; handle in config instead
 - fix taskcluster config syntax in a couple of places
 - add android-sdk-linux fetch for test-verify

Differential Revision: https://phabricator.services.mozilla.com/D73157
2020-05-06 14:28:37 +00:00
Narcis Beleuzu
51c3c369dd Backed out changeset 0a1edd15b210 (bug 1634204) for valgrind bustages. CLOSED TREE 2020-05-06 17:10:37 +03:00
Ken VanDine
7655efedd7 Bug 1623631 - Set GTK_USE_PORTAL to enable xdg-desktop-portal support r=jlorenzo
Differential Revision: https://phabricator.services.mozilla.com/D68081
2020-05-05 09:58:37 +00:00
Johan Lorenzo
a5c2c721c3 Bug 1623631 - Drop bundled mimeapps.list, mime cache and set TMPDIR to better take advantage of portals r=rail
Differential Revision: https://phabricator.services.mozilla.com/D67478
2020-05-05 14:29:41 +00:00
Mike Hommey
87df0b2d72 Bug 1634204 - Upgrade Linux build docker images to Debian 8. r=froydnj
This gets rid for the need of a number of local packages (mostly related
to Gtk+3). One exception is that we now need a 32-bits version of the
xz-utils package, some -dev package depends on it, and that dependency
can't be fulfilled in the 32-bits image because we already have the
64-bits backport installed, which conflicts with it (we need both
32-bits and 64-bits package to be at the same version when installed).

The system binutils fails to link clang-7 for some reason, so we now use
our toolchain binutils instead, like we already do for newer versions of
clang.

The debian-packages docker image now needs an explicit installation of
git, because it's not pulled in via the recommends of some other
package.

For some reason, snapshot.debian.org doesn't contain the jessie-backports
archive at the same location as others, and only has a few snapshots of
the archive.

Differential Revision: https://phabricator.services.mozilla.com/D73784
2020-05-06 07:35:52 +00:00
Mike Hommey
10f138dc45 Bug 1635695 - Upgrade dump-syms to 0.0.5. r=calixte
Differential Revision: https://phabricator.services.mozilla.com/D74014
2020-05-06 08:35:56 +00:00
Narcis Beleuzu
845e286da1 Backed out changeset b4d73278792e (bug 1634204) as per glandium req. 2020-05-06 10:33:08 +03:00
Mike Hommey
80e8586858 Bug 1634204 - Upgrade Linux build docker images to Debian 8. r=froydnj
This gets rid for the need of a number of local packages (mostly related
to Gtk+3). One exception is that we now need a 32-bits version of the
xz-utils package, some -dev package depends on it, and that dependency
can't be fulfilled in the 32-bits image because we already have the
64-bits backport installed, which conflicts with it (we need both
32-bits and 64-bits package to be at the same version when installed).

The system binutils fails to link clang-7 for some reason, so we now use
our toolchain binutils instead, like we already do for newer versions of
clang.

The debian-packages docker image now needs an explicit installation of
git, because it's not pulled in via the recommends of some other
package.

For some reason, snapshot.debian.org doesn't contain the jessie-backports
archive at the same location as others, and only has a few snapshots of
the archive.

Differential Revision: https://phabricator.services.mozilla.com/D73784
2020-05-06 04:56:14 +00:00
Csoregi Natalia
dc4560dcaa Backed out changeset 2bf3343d2994 (bug 1634204) as per request. CLOSED TREE 2020-05-06 07:24:07 +03:00
Mike Hommey
2d66cac936 Bug 1634204 - Drive-by adjustment to Debian docker images. r=froydnj
While we're going to rebuild all the Debian-based docker images, we
might as well add one corrective thing that is going to be required
later on, and would require another rebuild, while doing it now would
skip that.

On Debian 10, the python3 distutils module is in a separate package,
python3-distutils, which didn't exist in previous Debian releases,
because back then the distutils module was part of the python3 package.

Fortunately, the python3-distutils-extra package existed on all the
Debian versions we use and depends on the distutils module, so it is a
convenient way to have the python3-distutils package pulled in without
altering the list of packages to install based on the Debian version.

Differential Revision: https://phabricator.services.mozilla.com/D73785
2020-05-05 12:13:40 +00:00
Mike Hommey
d0b2cc67af Bug 1634204 - Upgrade Linux build docker images to Debian 8. r=froydnj
This gets rid for the need of a number of local packages (mostly related
to Gtk+3). One exception is that we now need a 32-bits version of the
xz-utils package, some -dev package depends on it, and that dependency
can't be fulfilled in the 32-bits image because we already have the
64-bits backport installed, which conflicts with it (we need both
32-bits and 64-bits package to be at the same version when installed).

The system binutils fails to link clang-7 for some reason, so we now use
our toolchain binutils instead, like we already do for newer versions of
clang.

The debian-packages docker image now needs an explicit installation of
git, because it's not pulled in via the recommends of some other
package.

For some reason, snapshot.debian.org doesn't contain the jessie-backports
archive at the same location as others, and only has a few snapshots of
the archive.

Differential Revision: https://phabricator.services.mozilla.com/D73784
2020-05-05 12:13:27 +00:00
Mike Hommey
3d64f74464 Bug 1634204 - Update Debian-based docker images to a newer snapshot. r=froydnj
20190228 is the last snapshot of Debian wheezy available on dockerhub.

Differential Revision: https://phabricator.services.mozilla.com/D73781
2020-05-05 12:15:35 +00:00
Sylvestre Ledru
8404713771 Bug 1635383 - Run yaml linter in parallel r=marco
Differential Revision: https://phabricator.services.mozilla.com/D73814
2020-05-05 11:31:06 +00:00
Sylvestre Ledru
f50ca10b6e Bug 1635384 - Run l10n linter in parallel r=marco
Differential Revision: https://phabricator.services.mozilla.com/D73812
2020-05-05 11:30:59 +00:00
Ricky Stewart
2ce561dd99 Bug 1635514 - Delete tup CI/configure stuff r=froydnj
This includes scripts that involve `tup`, jobs that build `tup` in automation, `tup.configure`, and related infrastructure and documentation.

Differential Revision: https://phabricator.services.mozilla.com/D73921
2020-05-05 18:34:16 +00:00
Ian Moody
9243ee5033 Bug 1536556 - Replace new Error(Cr.ERROR) with new Component.Exception. r=mossop
Passing Cr.ERROR to an Error constructor is incorrect since it just sets the
message of the error to the integer value of the Cr.ERROR. Cr.ERRORs need to be
used as the second argument to Component.Exception to correctly construct an
Exception object with its result property set to the Cr.ERROR value.

This was done automatically by an expansion of the new
mozilla/no-throw-cr-literal eslint rule that will be introduced in the next
commit.

Differential Revision: https://phabricator.services.mozilla.com/D28075
2020-05-05 15:00:55 +00:00
Gregory Mierzwinski
3225e6d0c5 Bug 1634406 - Implement similarity score in visual metrics tasks. r=tarek
This patch adds a new similarity metric that will allow us to determine when content changes occur in live site tests. It also enabled to recorded sites so we can get a comparison of the quality of the recording (and difference) between it and the live site. There are 2D and 3D variants of this score which capture different things. The 2D score only looks at the final frame, so it gives a measure of how consistent/similar the end state is for the test. The 3D variant is more comprehensive and captures how the page was rendered.

Differential Revision: https://phabricator.services.mozilla.com/D73450
2020-05-05 17:31:51 +00:00
Gregory Mierzwinski
39d78b2f9d Bug 1634185 - Add extra options to visual metrics perfherder data. r=perftest-reviewers,tarek,Bebe
This patch adds the extra options settings to the visual metrics perfherder data by passing it through the jobs.json file.

Differential Revision: https://phabricator.services.mozilla.com/D73277
2020-05-05 14:59:14 +00:00
Andrew Halberstadt
c4edc875e3 Bug 1635444 - Bump timeout when querying bugbug service, r=marco
Differential Revision: https://phabricator.services.mozilla.com/D73891
2020-05-05 14:33:56 +00:00
Mihai Tabara
21c44430fc Bug 1617992 - add bouncer support for Mac PKG format. r=rail
Differential Revision: https://phabricator.services.mozilla.com/D73250
2020-05-04 15:17:58 +00:00
Mihai Tabara
ca0abfba9b Bug 1632531 - bugfix key verification in partials.r=sfraser,rail
Differential Revision: https://phabricator.services.mozilla.com/D73756
2020-05-04 22:03:13 +00:00
Mike Hommey
e062c7cbfd Bug 1632723 - Update builders to rustc 1.43. r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D72771
2020-04-29 21:21:36 +00:00
Dorel Luca
36a85b48f2 Backed out changeset 902ed66de7da (bug 1632531) for linting failure in gecko/taskcluster/taskgraph/transforms/partials.py. CLOSED TREE 2020-05-05 00:56:51 +03:00
Mihai Tabara
106b516bc8 Bug 1632531 - bugfix key verification in partials.r=sfraser,rail
Differential Revision: https://phabricator.services.mozilla.com/D73756
2020-05-04 21:47:54 +00:00
Joel Maher
63d0af3015 Bug 1634230 - extend timeout for android wpt-backlog tasks. r=gbrown
extend timeout for android wpt-backlog tasks.

Differential Revision: https://phabricator.services.mozilla.com/D73731
2020-05-04 17:58:34 +00:00
Gregory Mierzwinski
0b3a27bfae Bug 1634184 - Pick up visual metrics tasks in the cron task. r=tarek
The visual metrics tasks were not being picked up by the cron task. This patch fixes this by correctly parsing for vismet tasks in the general_perf_testing cron task.

Differential Revision: https://phabricator.services.mozilla.com/D73294
2020-05-04 16:42:55 +00:00
Simon Fraser
d8878e67e5 Bug 1635072 treescript/merge-automation move version file to config r=rjl
Differential Revision: https://phabricator.services.mozilla.com/D73722
2020-05-04 16:36:17 +00:00
Axel Hecht
0cd3253e07 Bug 1635103, drop platforms from shipped-locales, r=aki
The data isn't used anymore, as it's encoded in taskcluster/ci/l10n-bump/kind.yml.
This doesn't affect mobile, but TB/SM could use a corresponding change.

Differential Revision: https://phabricator.services.mozilla.com/D73712
2020-05-04 16:05:07 +00:00
Marco Castelluccio
dea16d0d16 Bug 1635149 - Force scheduling tasks which were not known when the bugbug test selection model was trained. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D73718
2020-05-04 15:05:15 +00:00
Andrew Halberstadt
af14780613 Bug 1634484 - [ci] Add a 'bugbug_disperse_low' shadow-scheduler and related strategy, r=marco
Depends on D73328

Differential Revision: https://phabricator.services.mozilla.com/D73349
2020-04-30 21:50:13 +00:00
Andrew Halberstadt
174d41fda5 Bug 1634484 - [ci] Remove the 'bugbug_all_low' shadow-scheduler and related strategy, r=marco
Differential Revision: https://phabricator.services.mozilla.com/D73328
2020-04-30 20:42:20 +00:00
Simon Fraser
b7787faf63 Bug 1632793 Update dep key in partials generation r=mtabara
Differential Revision: https://phabricator.services.mozilla.com/D72357
2020-05-04 11:45:26 +00:00
Andreea Pavel
81629d9476 Backed out changeset fc265b3a728e (bug 1625696) for causing bug 1634877 and bug 1634916 2020-05-03 05:22:37 +03:00
Mike Hommey
137394d5a2 Bug 1625696 - Update winchecksec and build/use it natively for Linux. r=dmajor
Now that upstream winchecksec builds and works natively on Linux, use
that. That should solve the random crashes under Wine. If random crashes
still happen, it will be easier to debug anyways.
We bump to the last version that doesn't use vcpkg because vcpkg makes
things more difficult.

Differential Revision: https://phabricator.services.mozilla.com/D73405
2020-05-02 06:19:25 +00:00
Mike Hommey
a760600961 Bug 1634560 - Fix fetch-config for git repos with submodules. r=dmajor
There are cases where --recurse-submodules breaks things (e.g. when
newer versions of the repository remove a submodule). So don't
recurse-submodules at all at clone or checkout time, but instead
initialize and update submodules after the checkout.

Also don't checkout at clone time, because it's redundant with the
checkout, and we only really trust the explicit checkout anyways, so
it's better to not checkout during the clone.

Differential Revision: https://phabricator.services.mozilla.com/D73353
2020-05-02 06:18:33 +00:00
Mike Hommey
43a2e97c21 Bug 1634605 - Stop retrying on apt-get errors. r=tomprince
We starting doing that because snapshot.debian.org would ban some AWS IP
ranges, and we would get random failures, but that's not the case
anymore. OTOH, when more "normal" errors happen, like when you change a
Dockerfile to add a package, and that package actually doesn't exist,
the image build is tried 5 times, with no chance it will succeed, and
treeherder doesn't link to the log because it's purple, so you need to
manually go to taskcluster.

Removing the autoretry will make things smoother.

Differential Revision: https://phabricator.services.mozilla.com/D73392
2020-05-02 06:18:13 +00:00
Nicholas Nethercote
d1320d8780 Bug 1632928 - Update fix-stacks. r=erahm
This pulls in:
- https://github.com/mozilla/fix-stacks/pull/24, which removes some junk from
  Breakpad file names;
- https://github.com/mozilla/fix-stacks/pull/25, which avoids having two
  different versions of the goblin crate.

Differential Revision: https://phabricator.services.mozilla.com/D73407
2020-05-01 19:22:47 +00:00
Edwin Takahashi
f2f63e6f32 Bug 1627085 - apply mach try task blacklist filter to mach try auto r=jmaher,marco
Changes:

Apply the `filter_tasks_by_blacklist` filter on `mach try auto` pushes.

Differential Revision: https://phabricator.services.mozilla.com/D73376
2020-05-01 10:26:48 +00:00
Joel Maher
3099238bf8 Bug 1634230 - prevent backlog tests from running in variants, increase debug timeout. r=gbrown
prevent backlog tests from running in variants, increase debug timeout.

Differential Revision: https://phabricator.services.mozilla.com/D73226
2020-04-30 13:09:06 +00:00
Edwin Takahashi
e1fc47fa66 Bug 1631990 - additional filters on mach try selectors r=jmaher
Changes:

Add several build types to the blacklist, so that for `try fuzzy/try chooser` users, these will not show unless `--full` is applied. For `try syntax` users, these will become non-schedulable.

Differential Revision: https://phabricator.services.mozilla.com/D72068
2020-04-30 22:55:50 +00:00
Joel Maher
64226c82d8 Bug 1608388 - reduce frequency of mingw* builds. r=bc
reduce frequency of mingw* builds.

Differential Revision: https://phabricator.services.mozilla.com/D73316
2020-04-30 19:58:54 +00:00
Andrew Halberstadt
984515c753 Bug 1633866 - [taskgraph.optimize] Move logic to query 'bugbug' service to a utility file, r=marco
With dynamic-test-selection, we'll also need to query the bugbug service from
the transforms. Let's move the querying logic to a utility file to share it
more easily.

Differential Revision: https://phabricator.services.mozilla.com/D73088
2020-04-30 13:53:01 +00:00
Andrew Halberstadt
49a25c7035 Bug 1633866 - [taskgraph] Move logic to set test-verify chunks to a new transform, r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D73143
2020-04-30 14:03:10 +00:00