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
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
This patch enables non-local connections when we are running condprof to obtain a conditioned profile. The only reason these connections are being disabled to begin with is because of the web-extension we use. This fixes an issue with using the condprofs in release builds such as beta.
Differential Revision: https://phabricator.services.mozilla.com/D119304
Going forward, all jobs will be running on WebRender platform variants
so we don't really need this check anymore. This fixes a regression from
bug 1717825.
Differential Revision: https://phabricator.services.mozilla.com/D119273
In the vendored `mock` library, `assert_called()` returns the
`MagicMock` instance again - I'm not sure that it does the actual
assertion, so `assert instance.is_called()` may be a no-op.
Fortunately, in `unittest.mock`, `assert_called()` does the assertion
internally, and returns `None`. Since `assert None` causes a failure,
we need to tweak the invalid usage accordingly.
Differential Revision: https://phabricator.services.mozilla.com/D117454
This patch adds the ability to build conditioned profiles during a test (i.e. in-test, prebuilt, or in-task for CI). Using the `artifact:` prefix in --conditioned-profile will cause the conditioned profile to be downloaded from mozilla-central rather than being built locally.
The condprof package was also modified to prevent it from building and saving logs that are not very useful in local runs, preventing useless downloads or archiving, and to also be able to obtain the location of the test-built profile.
Differential Revision: https://phabricator.services.mozilla.com/D116520
As an intermediate step to allow mach commands as standalone functions, the MachCommandBase
subclass instance that currently corresponds to self has to be made available as a separate
argument (named command_context).
Differential Revision: https://phabricator.services.mozilla.com/D109650
This patch removes the mitm4 recordings that were being used in the raptor desktop unittests and replaces them with the mitm5 recordings.
Differential Revision: https://phabricator.services.mozilla.com/D114951
This patch enables the process-switch test on mozilla-central. It also adds a new field in the raptor manifest to specify whether or not zero-values in vismets can be accepted.
Differential Revision: https://phabricator.services.mozilla.com/D113221
This patch adds a test to measure fission process switch time. It uses two recordings replayed at the same time, along with a custom browsertime pageload script to do this. Two urls are provided through the manifest and the second url is the one that gets measured.
* * *
Bug 1704129 - Add test_script field to raptor manifests. r?#perftest
This patch adds a `test_script` field to the raptor manifests that allows us to customize the browsertime test script to use. However, we only allow it to be used on pageload tests for the time being.
Differential Revision: https://phabricator.services.mozilla.com/D113220