Commit Graph

1240 Commits

Author SHA1 Message Date
Raphael Pierzina
f17db4328b Bug 1471625 - Bump mozinfo to v1.0.0 and update classifiers;r=davehunt
MozReview-Commit-ID: 1Kgl4fCzCyq

--HG--
extra : rebase_source : 865e9abdd4a04b3e3dc1906ce8ec497096f5e6b3
2018-07-03 14:22:11 +02:00
Raphael Pierzina
6eaf5002c2 Bug 1471625 - Create setup.cfg for universal wheels in mozinfo;r=davehunt
MozReview-Commit-ID: 3GRRIx3KH6x

--HG--
extra : rebase_source : 405d134b1d9b7cf01bae2a00c470c69fa0a7c72e
2018-07-03 13:39:20 +02:00
Raphael Pierzina
b259225456 Bug 1471625 - Resolve Python 3.5 compat issues in mozinfo;r=davehunt
MozReview-Commit-ID: HdPEVAJnXZf

--HG--
extra : rebase_source : ede5641bf5a03fc59d49a95c4b93f93aa69c0c16
2018-07-03 11:06:11 +02:00
Bogdan Tara
6eafe1c00b Backed out changeset 9c75cab2e322 (bug 733530) for breaking artifact builds 2018-07-04 14:50:22 +03:00
Chris AtLee
8745339529 Bug 733530: Use .tar.gz for test archives r=gps
Differential Revision: https://phabricator.services.mozilla.com/D1743

--HG--
extra : moz-landing-system : lando
2018-07-03 18:33:02 +00:00
Cosmin Sabou
8ce5b1c6cf Backed out 3 changesets (bug 1471625) for linting failure on mozinfo/tests/test.py. CLOSED TREE
Backed out changeset 7d0fb7a6b9fa (bug 1471625)
Backed out changeset 217570468fde (bug 1471625)
Backed out changeset 70d0097e8c03 (bug 1471625)
2018-07-03 17:02:02 +03:00
Raphael Pierzina
25881406e9 Bug 1471625 - Bump mozinfo to v1.0.0 and update classifiers;r=davehunt
MozReview-Commit-ID: 1Kgl4fCzCyq

--HG--
extra : rebase_source : 62bfddcd6444fe820d0c2b94bf7d9f60d12d4fa3
2018-07-03 14:22:11 +02:00
Raphael Pierzina
8d972d1397 Bug 1471625 - Create setup.cfg for universal wheels in mozinfo;r=davehunt
MozReview-Commit-ID: 3GRRIx3KH6x

--HG--
extra : rebase_source : 73f980885e08760fa9052964ff6ae3db24e454be
2018-07-03 13:39:20 +02:00
Raphael Pierzina
d4d653049f Bug 1471625 - Resolve Python 3.5 compat issues in mozinfo;r=davehunt
MozReview-Commit-ID: HdPEVAJnXZf

--HG--
extra : rebase_source : 0fb105798e6aae08c05edf433ff65e6b8a08cba3
2018-07-03 11:06:11 +02:00
Raphael Pierzina
bb8e7208ea Bug 1471622 - Fix mozfile's test_tempfile.py under Python 3.5; r=davehunt
MozReview-Commit-ID: JuWRTVEFJtv

--HG--
extra : rebase_source : 11393471d8d199623d2150071fa75e1e5a26504f
2018-07-03 10:09:41 +02:00
Raphael Pierzina
79eaf1fafd Bug 1471622 - Fix mozfile's test_extract.py under Python 3.5; r=davehunt
MozReview-Commit-ID: 5c8SoMMpv70

--HG--
extra : rebase_source : 65717f1f056d43588b4df59ea765a7ec2e2657c0
2018-07-03 09:56:18 +02:00
Jeff Gilbert
000829776c Bug 1471112 - Split mochitest-gl into mochitest-webgl[1,2]-[core,ext] - r=gbrown
Also include webgl2-deqp, which we would like to run eventually, but not yet.

MozReview-Commit-ID: CY4hYCI95ws

--HG--
extra : rebase_source : 9973df0f905bb65d2e8b8c66a6a57e8869e527c1
2018-06-25 20:23:33 -07:00
Gurzau Raul
4074ba4032 Backed out 2 changesets (bug 1471112) for failing webgl2 tests on OSX
Backed out changeset 7f2d98706144 (bug 1471112)
Backed out changeset 1f26d0868935 (bug 1471112)
2018-06-29 18:20:55 +03:00
Jeff Gilbert
9786adccaf Bug 1471112 - Split mochitest-gl into mochitest-webgl[1,2]-[core,ext] - r=gbrown
Also include webgl2-deqp, which we would like to run eventually, but not yet.

MozReview-Commit-ID: FDWdu1J0end

--HG--
extra : rebase_source : a47d88cb2c5eb82e4dfaa9e58d76acbf0736d35d
2018-06-25 20:23:33 -07:00
Tom Ritter
0f2235111d Bug 1469933 When using ./mach run --debugger=windbg, use the x64 version of WinDBG r=ted
Summary: Bug 1469933 When using ./mach run --debugger=windbg, use the x64 version of WinDBG r?ted

Reviewers: ted

Reviewed By: ted

Bug #: 1469933

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

--HG--
extra : amend_source : 67de4dae3a129df77976da82005acb47ad64b5ed
2018-06-27 16:16:57 +03:00
Geoff Brown
15f306a0f1 Bug 1425471 - Avoid use of netcfg in Android marionette tests; r=bc 2018-06-26 16:17:50 -06:00
Dave Hunt
696d9f1858 Bug 1388016 - Run mozbase tests against Python 2 and 3; r=ahal
MozReview-Commit-ID: LdmTHHrLZwq

--HG--
extra : rebase_source : e7f21bb73ffc1a322a10eef21b705b14a2077144
2018-06-21 06:26:17 +01:00
Dave Hunt
4d7f8fd972 Bug 1428362 - Run modernize against mozlog to support Python 3; r=ahal
MozReview-Commit-ID: 6BxTt4eGmfc

--HG--
extra : rebase_source : 2185715e8664288a9847dd81695fdb1640ee32eb
2018-05-31 13:35:19 +01:00
Geoff Brown
897d7e1991 Bug 1470177 - Ensure numeric comparison of timeout in adb.py; r=bc 2018-06-25 10:09:48 -06:00
Dave Hunt
11afa9eaef Bug 1470122 - Bump mozinstall to 1.16.0; r=whimboo
MozReview-Commit-ID: LtxU2upM8Oo

--HG--
extra : rebase_source : 9ca85c85b220ad797a02c113c4d8e16f4d81f88d
2018-06-21 13:26:41 +01:00
Geoff Brown
1e82c592a2 Bug 1466657 - Retry Android 'ps' command on unexpected output; r=bc
On the Android x86 emulator, Android 7.0, ps infrequently fails, returning
no output and 0 exit code. Retries are usually effective.
2018-06-18 06:47:30 -06:00
Geoff Brown
d4345ee2d8 Bug 1468532 - Disable chatty during Android tests; r=bc 2018-06-18 06:47:29 -06:00
Andreas Tolfsen
26a47a902a Bug 1441204 - Release mozrunner 0.7.0. r=maja_zf
MozReview-Commit-ID: HszLaFJv2w5

--HG--
extra : rebase_source : d3b32046bb8c6c5db4c578a84ee91ab270e2efbc
2018-06-14 13:26:59 -07:00
Andreas Tolfsen
14a4db48fa Bug 1441204 - Upgrade rust-ini from 0.10.2 to 0.10.3. r=maja_zf
MozReview-Commit-ID: DZp1wg7uVLN

--HG--
extra : rebase_source : 6e90df2a83accff53d021303e9bafc46aa1afe98
2018-06-14 13:05:30 -07:00
Andreas Tolfsen
3239875a26 Bug 1466573 - Start Firefox with -foreground and -no-remote. r=jgraham
Start Firefox with -foreground and -no-remote arguments if they
have not already been given by the user.

-foreground will ensure the application window gets focus when
Firefox is started, and -no-remote will prevent remote commands to
this instance of Firefox and also ensure we always start a new instance.

MozReview-Commit-ID: LGEqgyHYapc

--HG--
extra : rebase_source : 50054e89106421dc6b43bc1f109dc75db37dfd2d
2018-06-05 18:02:34 +01:00
Andreas Tolfsen
93b417ca3d Bug 1466573 - Avoid resetting stdout + stderr. r=jgraham
The std::process::Command's stdout and stderr is configured earlier in
::start(), and resetting it to a static value below would invalidate the
configured stdout and stderr stored in FirefoxRunner::stdout and ::stderr.

We did not notice this bug because geckodriver does not
yet use this feature.  It was added as a precursor for
https://bugzilla.mozilla.org/show_bug.cgi?id=1466573.

MozReview-Commit-ID: CmwqCZpEMqq

--HG--
extra : rebase_source : 209d7cdde8b05db9b7e6f02b221c32a436f2ecdf
2018-06-05 15:08:52 +01:00
Andreas Tolfsen
9dbf303c69 Bug 1466573 - Write profile prefs before constructing command. r=whimboo
MozReview-Commit-ID: 5XWglxjQvZh

--HG--
extra : rebase_source : 98f68088fe81746e7e878c1fa6b8fea3fb3dd150
2018-06-05 15:08:07 +01:00
Rob Wood
7d987c78c3 Bug 1460743 - Don't install testing/profiles on Google Chrome; r=ahal
MozReview-Commit-ID: HW8iqfTDcd0

--HG--
extra : rebase_source : 27bc06df77ff699cedeab309050d690d09f25ccd
2018-06-06 13:28:54 -04:00
Andreas Tolfsen
16e1247e4d Bug 1467728 - Fix mozrunner build on macOS. r=whimboo
Bug 1464995 broke mozrunner on macOS, but we did not notice because
geckodriver is not compiled on macOS.  This fixes the build.

MozReview-Commit-ID: GnvZTT30wHG

--HG--
extra : rebase_source : 6e5b5b37d0c962c75a2a4b41c004f9cf47c2e8a2
2018-06-08 14:24:58 +01:00
Geoff Brown
619e1afee0 Bug 1433308 - Change mach android-emulator default to x86-7.0; r=me,a=test-only
The x86-7.0 avd is great and offers much better performance than the arm 4.3
configuration. 7.0 is okay if you need arm / are in an arm context.
2018-06-07 17:00:48 -06:00
Geoff Brown
bf2dcd9a16 Bug 1433308 - Remove Android 6.0/x86-6.0 options for mach android-emulator; r=me,a=test-only
mach android-emulator currently supports 6 different avds; I am struggling to maintain
that many configurations. I don't see a lot of value in keeping both 6.0 and 7.0,
and Android 6.0 is not as popular as 7.0. Let's remove 6.0, encouraging 7.0 as an
alternative; same for x86-6.0 -> x86-7.0.
2018-06-07 17:00:45 -06:00
Andreas Tolfsen
16b85ecaa0 Bug 1464995 - Ensure found Firefox is an executable binary. r=jgraham,whimboo
mozrunner fails to locate the correct binary if Firefox is found
under a "firefox" or "firefox-bin" (depending on the system)
because it thinks the parent directory is the executable.

On Unix systems, mozrunner also falsely reports non-executable
files as valid binaries.

This patch introduces a new mozrunner::path module that provides
two functions: one for searching the system path for a binary by a
given name, and another for checking whether a path is an executable
binary file.

MozReview-Commit-ID: 6N06CXZZWqd

--HG--
extra : rebase_source : dbcb4d6d8478bafc23c1aa2a3081589074908bbc
2018-05-29 17:10:26 +01:00
Andreas Tolfsen
eb6512097e Bug 1464995 - Minor readability lints. r=whimboo
Removes an unnecessary as_ref() cast, a path coercion, and replaces
try!() with ?.

MozReview-Commit-ID: ASd9kNxDZ3n

--HG--
extra : rebase_source : fa88def64fc3c7ea4520403bfc7b5c391d7f83da
2018-05-29 17:10:07 +01:00
Andreas Tolfsen
50aa8dc506 Bug 1464995 - Document mozrunner::firefox_default_path(). r=whimboo
The method we use to find the Firefox binary varies from platform
to platform.  It can be useful to document how each of the system
specific implementations are meant to work.

MozReview-Commit-ID: 4SrNmlp3AdS

--HG--
extra : rebase_source : f1d54548edb416912af3a0a6d41188d0640a3ffb
2018-05-29 17:08:14 +01:00
Andreas Tolfsen
4b4f54e830 Bug 1465527 - Print stacks from parent tests in mach formatter. r=jgraham
Parent tests may also have stacktraces and this patch prints and
formats them the same way we do for subtests' stacks.

MozReview-Commit-ID: 64gfPWuQnHd

--HG--
extra : rebase_source : 6a37eda231091d66a92226c3ebadb7b7980766be
2018-05-30 18:29:35 +01:00
Dave Hunt
f6a3ef5b8c Bug 1388013 - Remove restriction of Python 2 in mozrunner; r=ahal
MozReview-Commit-ID: 1ARx4Jy2Z83

--HG--
extra : rebase_source : cd401029f79fb8792a0ce5b42947feadf2645cc9
2018-05-30 13:21:51 +01:00
Andreea Pavel
dd5cd1d832 Backed out 3 changesets (bug 1388013) for build bustages e.g. ../python/mozbuild/mozpack/test/test_files.py on a CLOSED TREE
Backed out changeset eea857170a41 (bug 1388013)
Backed out changeset c55bfefbd4e1 (bug 1388013)
Backed out changeset 3a163da2b21b (bug 1388013)
2018-05-31 11:48:19 +03:00
Dave Hunt
0fe264f656 Bug 1388013 - Remove restriction of Python 2 in mozrunner; r=ahal
MozReview-Commit-ID: 1ARx4Jy2Z83

--HG--
extra : rebase_source : 4de2a3f53dad010bdc2f1c0dc0050c279517c720
2018-05-30 13:21:51 +01:00
Joel Maher
9e5d9c55f5 Bug 1442790 - fix test-verify to not fail on: 'No checks run.'. r=ahal 2018-05-28 06:44:24 -04:00
James Graham
bf28f809d2 Bug 1265584 - Fix logging of unexpected assertions with mach formatter, r=ahal
MozReview-Commit-ID: Dk1ahUYyYIm
2018-05-25 11:58:00 +01:00
Joel Maher
28e3660b54 Bug 1400895 - Better try support for test-verify. r=ahal 2018-05-23 10:00:03 -04:00
Andrew Halberstadt
4296f8c8f5 Bug 1461980 - [taskgraph] Use run-task's 'use-artifacts' key to setup artifacts in mochitest and reftest selftests, r=dustin
Instead of downloading the build artifacts (rather hackily) in moztest.fixtures, this now happens
directly in the taskgraph module via the run-task script.

For now extraction and setup happens in the task's command key. It might be a good idea to figure
out a syntax to tell run-task to do this extraction, e.g something like:

run:
    using-artifacts:
        build:
            target.tar.bz2:
                extract: true
                path: /home/worker/build
                name: firefox

But for now I wanted to avoid this extra complexity, so maybe it could be done in a follow-up.

MozReview-Commit-ID: KOhFFpFdP7Y

--HG--
extra : rebase_source : dcea36661fa9c6442c76c850ccc67f8f6d924fda
2018-05-18 08:22:36 -04:00
Rob Wu
90138813b0 Bug 1462936 - Use QEMU 2 engine for android-emulator for x86-6.0 and x86-7.0 r=gbrown
Before this patch, the x86-6.0 and x86-7.0 Android emulators were
unusable on macOS (tested 10.13.4 High Sierra).
The emulator's UI appears (but with black screen), and the launcher
icon in the dock has a default folder icon instead of the emulator.

When I use "mach android-emulator --version=x86-6.0 --verbose",
then the full emulator command is printed. I discovered that
using the newer QEMU 2 engine ("-engine qemu2") fixes the issue, and
that the emulator launches as expected. This option is documented at:
https://developer.android.com/studio/run/emulator-commandline

However, when I modify the source of these commands, then the emulator
fails to start (as before). This is caused by the setpgid call via
preexec_fn in testing/mozbase/mozprocess/mozprocess/processhandler.py .
Passing ignore_children=True to ProcessHandler avoids the setpgid call
and allows the emulator to be used as expected on macOS.

The effect of not using setpgid is that the spawned process will not
be put in the process group of the "mach" Python script. This is not
a big deal. I can confirm that the emulator can still be killed by
quitting or force-quitting it, and did not experience other issues.

MozReview-Commit-ID: 4AKVqtwIoCj

--HG--
extra : rebase_source : df6615a32de666d0f9d4f27c1c6f462120364ee2
2018-05-19 21:48:50 +02:00
Gregory Szorc
0084dc7475 Bug 1461221 - Account for psutil.disk_io_counters() returning None; r=mshal
Apparently it can do this.

MozReview-Commit-ID: 6gMTGtcRAw6

--HG--
extra : rebase_source : 1e89583b3c15c85d1c86969f101358864c0e2e34
2018-05-15 12:02:46 -07:00
Andreas Tolfsen
95f8f2a563 Bug 1461101 - Remove unused .gitignore file. r=whimboo
Following the move to use cargo worktrees in central, the .gitignore
file for mozversion is not used anymore since we no longer generate
testing/mozbase/rust/mozversion/target on building.

MozReview-Commit-ID: 72geBjNxjZl

--HG--
extra : rebase_source : d7f11b33c91407e97416344ca1a2d0f06aa573d3
2018-05-12 14:08:07 +01:00
Geoff Brown
ec356d3b70 Bug 1459351 - Warn when 'mach android-emulator' tries to start an x86 emulator without kvm; r=jmaher 2018-05-08 07:38:55 -06:00
Andrew Halberstadt
6afabae0cc Bug 1451159 - [mozprofile] Implement ability to merge other profile directories into the current one r=gbrown
MozReview-Commit-ID: EHOFU58Ipa2

--HG--
extra : rebase_source : 081f46d8a05b7842529780dc593979f188eb7eeb
2018-04-19 15:31:43 -04:00
Bogdan Tara
b7924c2ed2 Backed out 4 changesets (bug 1451159) for linux build bustages CLOSED TREE
Backed out changeset 72926ae685af (bug 1451159)
Backed out changeset f90a99682382 (bug 1451159)
Backed out changeset 3914937893de (bug 1451159)
Backed out changeset 79931e4a2bfb (bug 1451159)

--HG--
rename : testing/profiles/common/user.js => testing/profiles/prefs_general.js
2018-05-04 00:25:56 +03:00
Andrew Halberstadt
fe14ba967c Bug 1451159 - [mozprofile] Implement ability to merge other profile directories into the current one r=gbrown
MozReview-Commit-ID: EHOFU58Ipa2

--HG--
extra : rebase_source : b54821fda2a1fa8019456077d06791d7557c10e0
2018-04-19 15:31:43 -04:00
Geoff Brown
708384fcaa Bug 1457662 - [mozdevice] Use separate file object to read shell output for callback; r=bc 2018-04-30 17:58:24 -06:00