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

205 Коммитов

Автор SHA1 Сообщение Дата
Joel Maher c3f53eef4d Bug 1658448 - tweaks to windows unittest setup to support running on hardware. r=markco
tweaks to windows unittest setup to support running on hardware.

Differential Revision: https://phabricator.services.mozilla.com/D86637
2020-08-11 18:45:09 +00:00
Razvan Maries 19dba4d200 Backed out changeset a4be7cf49e07 (bug 1658448) for Windows max run time exceeded failures. CLOSED TREE 2020-08-11 04:41:46 +03:00
Joel Maher fa8efffb8b Bug 1658448 - tweaks to windows unittest setup to support running on hardware. r=markco
tweaks to windows unittest setup to support running on hardware.

Differential Revision: https://phabricator.services.mozilla.com/D86637
2020-08-10 22:45:56 +00:00
Mitchell Hentges 1f5b9307c3 Bug 1636251: Patch Sentry events to ensure a raw username isn't sent to Sentry r=rstewart
To avoid sending identifying information, common absolute paths are patched with placeholder values. For example, devs
may place their Firefox repository within their home dir, so absolute paths are doctored to be prefixed with
"<topsrcdir"> instead.

Additionally, any paths including the user's home directory are patched to instead be a relate path from "~".

Differential Revision: https://phabricator.services.mozilla.com/D78962
2020-06-11 21:35:05 +00:00
Greg Tatum 4d20207a95 Bug 1628073 - Remove the view_gecko_profile.py tool; r=sparky,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D74294
2020-05-22 13:19:58 +00:00
Greg Tatum 593ab0604f Bug 1628073 - Move gecko profiler testing files to mozgeckoprofiler; r=sparky,perftest-reviewers,gbrown
I need to add symbolication support for the mochitest Gecko Profiler command line
option. These profiles also need to be symbolicated. Unfortunately, there is not
a common place where I could use these files. Talos and Raptor each had their
own copy of the snappy symbolication server.

This commit consolidates these packages into a re-usable mozbase package that can
be used in mochitests, and eventually in other places like xpcshell tests.

I stubbed out a test file, but it doesn't do anything quite yet. This commit makes
it so that the tests still work in Raptor and Talos, but doesn't add any features.
It also doesn't try too hard to make the files look like a mozbase package.

Differential Revision: https://phabricator.services.mozilla.com/D74289
2020-05-22 13:18:44 +00:00
Greg Tatum 01b425b6d5 Bug 1628073 - Rewrite view_gecko_profile.py to open a URL; r=perftest-reviewers,sparky
The current implementation opens the built Firefox in the objdir. This is not
optimal as the built Firefox is not really great for viewing files in. The build
could be broken. With this patch, the profiles will instead be opened in the users
default browser.

Differential Revision: https://phabricator.services.mozilla.com/D70089
2020-05-22 13:17:30 +00:00
Martin Stransky 4022b27cb4 Bug 1621911 [Wayland] provide gdk-screenshot.cpp for Wayland desktops, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D73014
2020-04-29 10:50:32 +00:00
Geoff Brown abf6e0fdc4 Bug 1612345 - Add custom retrigger support for gtest; r=bc
Add test package mach support for gtest and hook into the custom retrigger
action. Some existing custom retrigger features, like setting gecko prefs,
are not (easily) applicable to gtest, which doesn't use mozprofile; for
this reason, use a separate action context with items suitable for gtest.

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

--HG--
extra : moz-landing-system : lando
2020-03-19 16:12:51 +00:00
Byron Campen [:bwc] bfc7457250 Bug 1605128: Make websocket_process_bridge less picky about the version of six it wants. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D60552

--HG--
extra : moz-landing-system : lando
2020-01-21 19:45:33 +00:00
Edwin Takahashi 8b53684fdc Bug 1596590 - remove unnecessary psutil 5.4.3 specification from desktop_unittest.py r=gbrown
Changes:

Remove the unnecessary psutil == 5.4.3 specifier in `desktop_unittest.py`.

This should be a safe change. Prior to this patch, in a given test task the virtrualenv initialization will first install `psutil==5.6.3`, then proceed to invoke `desktop_unittest.py` where the `psutil==5.4.3` version forces the uninstallation of the newer version to install the older version.

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

--HG--
extra : moz-landing-system : lando
2019-11-16 04:58:02 +00:00
Andrew Halberstadt 898dfb96b4 Bug 1567642 - [lint.flake8] Fix misc flake8 under Python 3 lint issues r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D45417

--HG--
extra : moz-landing-system : lando
2019-09-24 14:44:01 +00:00
Mike Hommey 66d7fe943e Bug 1575420 - Replace MOZ_WIDGET_TOOLKIT value of "gtk3" with "gtk". r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D42765

--HG--
extra : moz-landing-system : lando
2019-08-21 12:25:42 +00:00
Gregory Mierzwinski 92d5021daf Bug 1567954 - Part 1: Initialize Mozpower module and implement PowerBase class. r=perftest-reviewers,ahal,rwood
This patch initializes the Mozpower module and implements the PowerBase class. This class is used as a base for subclasses that implement power measurement tooling for various OS and CPU combinations.

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

--HG--
extra : moz-landing-system : lando
2019-08-01 20:36:00 +00:00
Edwin Gao 1c340c7633 Bug 1559975 - convert testing/tools/iceserver to python3 syntax r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35339

--HG--
extra : moz-landing-system : lando
2019-07-05 14:28:35 +00:00
Henrik Skupin ddc6537052 Bug 1532919 - [marionette] Remove outdated browsermob-proxy mixin from marionette harness package. r=ato
The development of the package has been moved to:
https://github.com/AutomatedTester/browsermob-proxy-py

The in-tree version is outdated, and no longer developed.

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

--HG--
extra : moz-landing-system : lando
2019-03-07 12:26:43 +00:00
Greg Tatum 39cd1d4845 Bug 1525358 - Rename perf.html to profiler.firefox.com; r=julienw
Differential Revision: https://phabricator.services.mozilla.com/D18728

--HG--
extra : moz-landing-system : lando
2019-02-21 23:16:40 +00:00
Jeff Gilbert ec5431c0a2 Bug 1349064 - Wrap std::regex_error for GCC. r=glandium 2019-02-21 11:23:59 -08:00
Masatoshi Kimura e25fbce870 Bug 1528651 - Re-enable warnings-as-errors on Windows in some directories. r=dmajor
--HG--
extra : source : ba86ea25070b37f4725834e1c2d9ec4c0783e119
2019-02-17 15:03:02 +09:00
Ehsan Akhgari e5e885ae31 Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre
# ignore-this-changeset

--HG--
extra : amend_source : 7221c8d15a765df71171099468e7c7faa648f37c
extra : histedit_source : a0cce6015636202bff09e35a13f72e03257a7695
2019-01-18 10:16:18 +01:00
Mike Hommey 70f1ad55e1 Bug 1519307 - Add a new project to build useful parts of breakpad independently. r=froydnj
With `ac_add_options --enable-project=tools/crashreporter` in a
mozconfig, `./mach build` builds minidump_stackwalk, dump_syms
and fileid.

One caveat is that due to limitation in how the build system works
currently, it's cumbersome to keep dump_syms as a host program for
Gecko, and to make it a target program for this project. For now,
keep it as a host program. We're not going to use it on automation,
but it's still convenient to have for quick local builds (I've had
to resort to awful hacks downstream).

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

--HG--
extra : moz-landing-system : lando
2019-01-11 16:01:15 +00:00
Sylvestre Ledru 265e672179 Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
# ignore-this-changeset

--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Jeff Gilbert f2e0b47bd4 Bug 1499844 - Fix win64 clang-cl -Wformat warnings. r=ted
Differential Revision: https://phabricator.services.mozilla.com/D9027

--HG--
extra : moz-landing-system : lando
2018-10-23 14:18:15 +00:00
Chris Manchester 51a79e8c4f Bug 1496405 - Always build minidumpwriter on Windows to support 64 or 32 bit python. r=ted,firefox-build-system-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D7953

--HG--
extra : moz-landing-system : lando
2018-10-06 01:16:01 +00:00
Tom Ritter 7e0fefeaa0 Bug 1475566 Disable #pragma comments for MinGW Builds r=glandium
In the MinGW browser build job, we're going to use -fms-extensions,
which will tell clang to start processing these comments. Clang
cannot process them correctly (it's an upstream bug) but it doesn't
need to, because we include the libs we need in moz.build files.

So we exclude them for MinGW builds. mingw-clang gets them wrong and
mingw-gcc (which doesn't even work anymore on -central) ignored them.

In the future, with a llvm fix, we could clean up the moz.build
files and re-enable these comments.

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

--HG--
extra : moz-landing-system : lando
2018-08-29 03:50:39 +00:00
Masatoshi Kimura 3b21b7868b Bug 1090497 - Re-enable warnings as errors on clang-cl. r=froydnj
--HG--
extra : rebase_source : c09366fb93e5b0f72abe1e99d3094e3d96a934fb
extra : intermediate-source : 5950c9d63c3b4fd63a25464a7b50944aaec7079f
extra : source : ca1b9a2bcc4381795f556fea2fb59066567c30f3
2018-07-31 22:10:07 +09:00
Henrik Skupin 894f69b8b2 Bug 1470414 - Clean-up moz.build files for BUG_COMPONENT in testing/. r=ahal
MozReview-Commit-ID: F5vHc4G13v6

--HG--
extra : rebase_source : 1c6c8de55def6026da467d589ec3a8b511986125
2018-06-22 13:32:05 +02:00
Margareta Eliza Balazs 38873b16e7 Backed out changeset 52e86ed85e54 (bug 1470414) for bustage in ./config/tests/test_mozbuild_reading.py::TestMozbuildReading on a CLOSED TREE 2018-06-25 17:29:18 +03:00
Henrik Skupin df65676052 Bug 1470414 - Clean-up moz.build files for BUG_COMPONENT in testing/. r=ahal
MozReview-Commit-ID: F5vHc4G13v6

--HG--
extra : rebase_source : c39293be7a60ecc22be2f385671769f371dca06b
2018-06-22 13:32:05 +02:00
Rob Wood 8ece360fe7 Bug 1456629 - Create a python tool to view local gecko profiles in perf-html.io; r=jmaher
MozReview-Commit-ID: 69e4dmKiRfw

--HG--
extra : rebase_source : 6a845ac767fc6fc1e40732de5b59b60a6872efa1
2018-04-24 16:49:14 -04:00
Nick Thomas 214f29b19c Bug 1449350 - distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('six'), r=aki 2018-03-28 11:50:40 +13:00
Jared Wein b6b0f69f65 Backed out changeset 99809c2e06ae since it wasn't supposed to get pushed. r=me 2018-03-03 00:17:58 -05:00
Jared Wein 95a0702231 revert bug 1436857
--HG--
extra : rebase_source : 7e5096f0f4e725d4a8f1345b88d2f608c1d11c7f
2018-02-20 12:51:54 -08:00
Henrik Skupin af62574162 Bug 1436857 - Upgrade psutil from version 3.1.1 to 5.4.3. r=gps
MozReview-Commit-ID: FQTGv4jPE83

--HG--
extra : rebase_source : 42cf991363e61bfa8f8c6aacdaf5b8d8aa9fa77b
2018-02-08 23:22:16 +01:00
Mike Hommey e7723da605 Bug 1433703 - Remove the libxss-based code from the screenshot tool. r=gps
It hasn't been used for a long while, and the screenshot tool is only
used for tests. So keeping the code essentially always disabled doesn't
have much value.

--HG--
extra : rebase_source : 6bf696d6543cbdd3ef66e19d4dc110134b761b63
2018-01-30 13:49:26 +09:00
Sylvestre Ledru 424664ff30 Bug 1278282 - Remove the 'MOZ_WIDGET_GTK == 2' defines r=karlt,lsalzman
MozReview-Commit-ID: 3v8D600g8St

--HG--
extra : rebase_source : 34ea6f9868c1b322076c24daa75dc33e27b6704e
2018-01-10 08:52:04 +01:00
Andrew Halberstadt 263b035a20 Bug 1429158 - Ensure 'six' and 'mozterm' are available from the one-click-loaner mach environment, r=jmaher
Mach itself now depends on 'six', so it needs to be packaged in the test archive.

MozReview-Commit-ID: 8lWc0cxwrss

--HG--
extra : rebase_source : fc25b5dec23d0864905ebb116114b5ef37f0595b
2018-01-09 14:29:45 -05:00
Sylvestre Ledru 9bfe27d903 Bug 1394734 - Replace CONFIG['GNU_C*'] by CONFIG['CC_TYPE'] r=glandium
MozReview-Commit-ID: 7duJk2gSd4m

--HG--
extra : rebase_source : 7312fe276e561e8c034a5f6749774ae812727f9c
2017-12-07 22:09:15 +01:00
Mike Hommey d341ad4fd1 Bug 1423094 - Remove last use of msvcrt='static'. r=gps
--HG--
extra : rebase_source : 27f2d3976c63756b07a5527062892b4218715477
2017-12-05 15:34:58 +09:00
Ted Mielczarek 2c59757b3c bug 1407368 - rename Breakpad's src/common/memory.h. r=gsvelto
memory.h conflicts with a system header, so we have workarounds to
change include paths to work around this.

This is mostly a cherry-pick of this upstream commit:
8bb3d55af7

..but the patch was applied separately to toolkit/crashreporter/google-breakpad
and toolkit/crashreporter/breakpad-client since we've forked the latter,
and there's also one other fixup of a source file included.

MozReview-Commit-ID: HH92HZG7y9n

--HG--
rename : toolkit/crashreporter/google-breakpad/src/common/memory.h => toolkit/crashreporter/google-breakpad/src/common/memory_allocator.h
rename : toolkit/crashreporter/google-breakpad/src/common/memory_unittest.cc => toolkit/crashreporter/google-breakpad/src/common/memory_allocator_unittest.cc
extra : rebase_source : d321475099f000482689d6a6fb8629274ee19a65
extra : histedit_source : d526c27d952dbe73aee87e24701e2a862e1ca3d2
2017-10-17 19:44:36 -04:00
David Major 406287685a Bug 1391420: Set NO_PGO on a bunch of binaries that we don't ship. r=ted 2017-08-23 15:05:40 -04:00
Sebastian Hengst 142b3bf28b Backed out changeset 109e89a7d561 (bug 1391420) for busting Linux pgo builds. r=backout on a CLOSED TREE
--HG--
extra : amend_source : 6a4421254e4de31071785b73abdd1186638e31f2
2017-08-23 18:12:46 +02:00
David Major 8cb2cb650a Bug 1391420: Set NO_PGO on a bunch of binaries that we don't ship. r=ted 2017-08-23 11:10:39 -04:00
Andrew Halberstadt 88348cfd21 Bug 1382775 - Move testing/tools/autotry to tools/tryselect/selectors/syntax.py, r=chmanchester
The |mach try| implementation isn't really testing specific so figured while doing this refactor
anyway we could take the opportunity to move it to /tools. This renames the "autotry" module to
"syntax" as one of the 'selectors' under the newly created tryselect module.

MozReview-Commit-ID: DmnGU5sKuCk

--HG--
rename : testing/tools/autotry/autotry.py => tools/tryselect/selectors/syntax.py
extra : rebase_source : 52f2a61d97107b8d50e3894ea0f5cd9c24d4108d
2017-07-17 21:36:23 -04:00
Ed Lee 37b62d73cb Bug 1382827 - |mach try --artifact| should remove |--artifact| if "-nightly" platforms are requested. r=chmanchester
MozReview-Commit-ID: Dqle5sBlZNr

--HG--
extra : rebase_source : d165af63dc433188fc00e778082572d5f1d35858
2017-07-20 13:37:31 -07:00
Bryce Van Dyk 6b2d7e6552 Bug 1372051 - Remove external media tests from /testing, /build, /python. r=maja_zf
MozReview-Commit-ID: 7X2kYf7HLZY

--HG--
extra : rebase_source : 09421cf96c4d214795362e0f53c51310bff0abba
2017-06-12 10:27:42 +12:00
James Graham 4480587bb8 Bug 1294820 - Add support for running wpt from one-click loaner mach environment, r=ahal
Allow running |mach wpt| on one click loaners in order to run
web-platform-tests tests.

This implementation is just like the one for other testsuites using
thee packaged tests rather than the checkout that we get with wpt, at
least on Linux. That's also where the tests run from so it seems
reasonable for now. Moving to the checkout in the future could remove
some of the logic here by using a fake mozbuild environment so that
the testsuite itself doesn't have to implement anything much.

MozReview-Commit-ID: CaewrdjJ2ef

--HG--
extra : rebase_source : 491b8014d48f06ff5bd41b28cc985608981fbdf4
2017-06-19 19:20:41 +01:00
Andrew Halberstadt a3a1865e5a Bug 1368438 - Add -j to mach try, r=chmanchester
The -j try syntax specifies a "job" task. Job tasks are different from
unittests in that they typically don't require a build and run from the
source tree. Examples include linters (eslint, flake8, etc), python tests
(mozbase, mochitest, etc) and misc things like doc generation.

Sometimes, developers might only want to run a specific "job" task with a
syntax like "./mach try -j mozbase".

This means a few assumptions need to be broken in |mach try|. Platforms
and unittests should no longer be required if -j was specified. Most of
the changes in this patch revolve around dealing with those broken
assumptions.

MozReview-Commit-ID: O0y6V2Wwej

--HG--
extra : rebase_source : d003380317cbb688fcc7113c454a5c0543ade40c
2017-06-15 08:14:22 -04:00
Andrew Halberstadt 556a61bdeb Bug 1368438 - Make it possible to only schedule builds with |mach try|, r=chmanchester
Currently if no unittests, paths or tags are specified it will error out.

MozReview-Commit-ID: O0y6V2Wwej

--HG--
extra : rebase_source : e7a438aa1131e3d473459c46fbe9f23c3c06bae1
2017-06-15 08:14:17 -04:00
Steve Fink 10d8b00d0a Bug 1343568 - Add --upload-xdbs option to mach try, r=chmanchester
--HG--
extra : rebase_source : cbd9d0e5c7cc28d596792b58866ea25246fddb96
extra : histedit_source : 318b3e52de89225d7703adda498d3a666a8e602e
2017-06-07 08:55:50 -07:00