Commit Graph

3246 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
Edwin Takahashi
098fa2f275 Bug 1633536 - remove suite attribute from web-platform.yml r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D72739
2020-04-29 10:05:04 +00:00
Andrew Halberstadt
826ab27049 Bug 1633866 - [taskgraph] Call tasks 'tasks' rather than 'tests' in tests.py transforms, r=jmaher
We use the term 'tests' to refer to 'tasks' in the tests.py transforms.  Imo,
this makes things very hard to follow as the term 'test' is also used for all
kinds of other contexts in that file. Let's just call them what they are:
tasks.

I decided to land this as part of this series as I will be adding further uses
of the word 'test' later on.

Differential Revision: https://phabricator.services.mozilla.com/D73063
2020-04-29 16:03:06 +00:00
Aaron Klotz
78c73bc94f Bug 1622060: Add test transform for gv e10s-multi; r=gbrown
This adds a multi-e10s variant for geckoview-junit tests. With bug 1622944
resolved, the test suite passes, so we allow this variant to be tier-1.

Differential Revision: https://phabricator.services.mozilla.com/D66676
2020-04-28 15:06:42 +00:00
Marian Raiciof
37cad3c37a Bug 1609373 - Update raptor branch for upstream changes on 2020 branch r=perftest-reviewers,whimboo,sparky,Bebe,AlexandruIonescu
- changed test URL to match the dev server
- changed output.py in several places to fix new test names, dict keys, to cover all tests
- added amazonaws.com to manifest.json file to fix the loading issue for benchmark.js file
- added all raptor tests
- changed the constants for measure and alert_on

Differential Revision: https://phabricator.services.mozilla.com/D62546
2020-04-28 19:49:41 +00:00
Andrew Halberstadt
45c245a6e3 Bug 1629642 - [taskgraph] Implement a 'disperse' platform optimization strategy r=marco
Differential Revision: https://phabricator.services.mozilla.com/D72465
2020-04-28 15:05:31 +00:00
Andrew Halberstadt
85fdc991a0 Bug 1629642 - [taskgraph] Split 'test' optimization strategy arg into two r=marco
The default way to split the 'arg' parameter for CompositeStrategies, is to
duplicate it across all substrategies. By setting 'split_arg=tuple', we instead
break the arg up so the first index goes to the first substrategy, the second
index goes to the second substrategy, etc.

This means that the length of the 'test' arg must be at least as long as the
number of substrategies.

Differential Revision: https://phabricator.services.mozilla.com/D72464
2020-04-28 14:53:20 +00:00
Gregory Mierzwinski
d84ec8ca2c Bug 1633513 - Prevent browsertime tests from running on opt android builds. r=perftest-reviewers,AlexandruIonescu
This patch prevents speedometer tests from running on all android builds and also prevents chrome tests from running there.

Differential Revision: https://phabricator.services.mozilla.com/D72727
2020-04-28 12:47:55 +00:00
Gregory Mierzwinski
c909a79d87 Bug 1632616 - Download and install google chrome through tooltool. r=aerickson,perftest-reviewers,Bebe
This patch changes how Google Chrome for Android is deployed. Rather than relying on automatic updates, we will use tooltool to download the APK and install it ourselves. Some changes were done in taskcluster to remove a hack that was put in place to disable interal tooltool downloads (the issue is resolved now).

A tooltool manifest is added for this, and to keep ourselves organized, all manifests (including the playback ones) are moved into a folder called `tooltool-manifests`.

Differential Revision: https://phabricator.services.mozilla.com/D72198
2020-04-28 09:23:21 +00:00
Nick Thomas
945ba650bb Bug 1630154 - Add dummy certificate to Windows full installers, r=catlee
Differential Revision: https://phabricator.services.mozilla.com/D71245
2020-04-17 15:48:49 +00:00
Andrew Halberstadt
fb956306b3 Bug 1629642 - [ci] Fix wrong strategy name in bugbug_combined_high shadow-scheduler, DONTBUILD, r=marco
Differential Revision: https://phabricator.services.mozilla.com/D72702
2020-04-27 17:14:42 +00:00
Joel Maher
18ac0dd2f1 Bug 1632822 - create webrender list of crashtests to have focused tests on android phones. r=bc
create webrender list of crashtests to have focused tests on android phones

Differential Revision: https://phabricator.services.mozilla.com/D72570
2020-04-27 18:06:47 +00:00
Joel Maher
f8875234b3 Bug 1621095 - add reftest-qr to run focused webrender reftests on android phones. r=bc
add reftest-qr to run focused webrender reftests on android phones.

Differential Revision: https://phabricator.services.mozilla.com/D72312
2020-04-24 18:54:51 +00:00
Geoff Brown
5ad94f631b Bug 1612345 - Restrict custom retrigger to docker-worker tasks; r=bc
The custom retrigger actions work well on linux and android-em, but fail
on windows, osx, and android-hw. At least part of the problem seems to be
the worker implementation, but I am not entirely clear on what goes wrong.
It looks like I won't have much more time for retrigger improvements in the
near future, so I'd prefer to "turn off" the actions on tasks known to fail.
I found helpful examples for the 'context' parameter in
https://searchfox.org/mozilla-central/source/taskcluster/docs/actions.rst

Differential Revision: https://phabricator.services.mozilla.com/D72233
2020-04-24 10:09:54 +00:00
Bogdan Tara
a5112d03db Backed out changeset 97280448a042 (bug 1621095) for test_ext_test.html failures CLOSED TREE 2020-04-24 17:09:37 +03:00
Bob Clary
145ac575a5 Bug 1621764 - Define push-interval-{10,25} Backstop optimization strategies, r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D72020
2020-04-24 12:58:06 +00:00
Andrew Halberstadt
542d9d9bb9 Bug 1629642 - [taskgraph] Add an option to sum confidence thresholds of manifests in bugbug scheduler, r=marco
This adds a parameter that will cause a task to sum all the confidence
thresholds of the relative manifests it contains to gather a larger overall
task confidence.

This also adds a new strategy + shadow-scheduler to go along with it.

Differential Revision: https://phabricator.services.mozilla.com/D71314
2020-04-24 10:20:06 +00:00
Joel Maher
b9a6e9d31c Bug 1621095 - add reftest-qr to run focused webrender reftests on android phones. r=bc
add reftest-qr to run focused webrender reftests on android phones.

Differential Revision: https://phabricator.services.mozilla.com/D72312
2020-04-24 12:35:12 +00:00
Gregory Mierzwinski
5b8e43c99f Bug 1625470 - Part 3: Add CI tasks for Chrome and Fenix live site tests. r=perftest-reviewers,Bebe
This patch adds the new live site tests as Raptor-Browsertime tasks in CI. These will be scheduled to run through the general-perf-testing cron task on Monday/Wednesday/Friday.

Differential Revision: https://phabricator.services.mozilla.com/D69053
2020-04-23 13:05:15 +00:00
Simon Fraser
815925ab00 Bug 1632531 - Ensure unique working directory for parallel use. r=mtabara
Bug 1632531 Refactor funsize/partials to remove unused code, add safer checks

Differential Revision: https://phabricator.services.mozilla.com/D72162
2020-04-23 21:37:44 +00:00
Arthur Iakab
5b06305b9f Backed out 4 changesets (bug 1602832) for causing multiple xpcshell failures.
CLOSED TREE

Backed out changeset a5cc1585581f (bug 1602832)
Backed out changeset 3de4624b41dc (bug 1602832)
Backed out changeset da106d35137e (bug 1602832)
Backed out changeset f9388129262a (bug 1602832)
2020-04-23 16:25:26 +03:00
Kershaw Chang
87223aa639 Bug 1602832 - P2: Create 'socketprocess_networking' test variant r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D58112
2020-04-23 12:09:00 +00:00
Andrew Halberstadt
2628eda322 Bug 1629642 - [taskgraph] Pull bugbug's 'platform filter' into a standalone strategy, r=marco
This change is beneficial for two reasons:

1) Improvement on the single responsibility principle
2) Platform filter isn't 'bugbug' specific. E.g, the 'relevant tests' optimizer
could also theoretically use this. Having it as a standalone optimizer allows
us to compose it with other strategies.

Differential Revision: https://phabricator.services.mozilla.com/D71210
2020-04-22 19:16:02 +00:00
Joel Maher
c788dd3c4b Bug 1572820 - run wpt components we are not implementing as tier-2 on m-c only. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D71746
2020-04-22 16:24:57 +00:00
Andrew Halberstadt
6706e24d66 Bug 1624859 - [ci] Rename 'fuzzing-builds' optimization alias to 'build-fuzzing', r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D71822
2020-04-22 15:52:53 +00:00
Andrew Halberstadt
5454fdd8bb Bug 1624859 - [taskgraph] Always optimize build tasks with ./mach try auto, r=tomprince
This ensures we don't run every build with every push via ./mach try auto. It
introduces a new 'optimization-overrides' try_config that can be used to
replace optimizations. For now, there is no user interface to pass this in via
the 'mach try' command line.

Differential Revision: https://phabricator.services.mozilla.com/D68207
2020-04-22 15:51:35 +00:00
Andrew Halberstadt
a0bcf43891 Bug 1624859 - [taskgraph] Remove 'bugbug' internal class in experimental optimization strategies, r=tomprince
It was making things more complicated.

Differential Revision: https://phabricator.services.mozilla.com/D71821
2020-04-22 15:50:13 +00:00
Edwin Takahashi
e2f3473016 Bug 1630350 - apply mach try filter to try syntax selector r=jmaher,gbrown
Changes:

Applies the `filter_tasks_by_blacklist` method to try syntax pushes as well.

  - moved `TARGET_TASK_BLACKLIST`and `filter_tasks_by_blacklist` method to live in `taskcluster/taskgraph/target_tasks.py`.
  - removed existing filters against `ccov, windows10-aarch64` and `android-hw` filters against try syntax pushes.
  - update imports for `fuzzy` and `chooser` selectors to refer to the new location of `filter_tasks_by_blacklist` method.

The reason for moving the logic (again) from `tools/tryselect` to `taskcluster/` is due to the placement of `try_option_syntax` and `target_tasks` files and both of those files handle the processing of `mach try syntax` pushes.

Differential Revision: https://phabricator.services.mozilla.com/D71698
2020-04-21 19:51:25 +00:00
Marian Raiciof
732f1bbcce Bug 1627898 - Disable youtube playback Fenix VP9 tests r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D71734
2020-04-21 16:22:57 +00:00
Tom Prince
54007d46a3 No bug: Use worker aliases for osx test workers; r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D71665
2020-04-20 22:02:54 +00:00
Geoff Brown
e245496607 Bug 1612345 - Ensure that most custom retriggers repeat the original task by default; r=bc
Various updates to the custom retrigger action so that, without any custom changes to
parameters, the retriggered task runs with the same parameters as the original task.
Several issues were found and corrected, notably:
 - parameters like --allow-software-gl-layers were ignored
 - MOZHARNESS_TEST_PATHS was ignored
 - many parameter customizations in the desktop mozharness configs were ignored
 - mochitest suite/subsuite/flavor selection was not always correct
 - using repeat=1 by default meant that each test ran twice

Differential Revision: https://phabricator.services.mozilla.com/D70457
2020-04-17 22:11:02 +00:00
Marco Castelluccio
65cb638d0e Bug 1630708 - Increase the confidence thresholds used by the bugbug-based strategies. r=ahal
Keeping the same for the currently chosen strategy for try auto, since we
don't want to decrease its regression detection rate.

We also add a new shadow scheduler which uses the reduced set with a higher
confidence threshold.

Differential Revision: https://phabricator.services.mozilla.com/D71205
2020-04-17 13:53:55 +00:00
Tarek Ziadé
fc7f072b74 Bug 1628982 - Activate the condprofile on desktop + GV r=Bebe,perftest-reviewers,whimboo
This patches fixes several problems found on Raptor and the condprof:

Raptor:

- Make sure the conditioned profile dir is removed after
  it's been used, not before.
- Adds the --project option to raptor so we know if we're on try
  autoland or mozilla-central.
- Both Fennec and Fenix are deactivated for now
- Use the allow-downgrade flag to be flexible on build ids (the next step will be bug 1628666)

Conditioned profiles, curation of the profile prefs:
- Fully deactivates Normandy during Raptor tests (app.normandy.enabled)
- Removes any GFX blacklisting (gfx.blacklist.*)
- Removes any marionette pref
- Enforce extensions sideloading (extensions.startupScanScopes)

Differential Revision: https://phabricator.services.mozilla.com/D70518
2020-04-16 14:01:55 +00:00
Andrew Halberstadt
3362e14674 Bug 1625200 - [taskgraph] Pull the 10th push backstop out of SETA, r=tomprince
We'll want some kind of backstop no matter what optimization algorithm we use.
We don't want to go too long without running any given task so we can find
regressions quickly and have a good merge candidate.

This pulls the logic that handles this out of the SETA strategy and into its
own strategy.

This will also make the SETA shadow scheduler more representative of what the
algorithm is doing.

Note in the future we may find ways to make this backstop more efficient (i.e
only run tasks that didn't run in the last 9 pushes for example).

Depends on D68621

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

--HG--
extra : moz-landing-system : lando
2020-04-15 19:45:34 +00:00