Commit Graph
154 Commits
Author SHA1 Message Date
Chris Manchester af68b9a6ef Bug 1343361 - Auomatically replace -u all with a set of suites that do not include compiled tests when requesting an artifact build via |./mach try|. r=maja_zf
MozReview-Commit-ID: BYgzbYrbw7E
2017-02-28 14:27:57 -08:00
Andrew Halberstadt 45dbf6c503 Bug 1337828 - Pass unexpected test paths as is from mach_test_package_bootstrap to the test harness, r=maja_zf
This was a bug in the mach test package bootstrap that could happen in one-click loaners. If a user neglected to
pass in --flavor, this meant that instead of a nice error message out of mochitest, they'd get a cryptic
traceback.

With this fix, it will be obvious that the problem is "no tests were found".

MozReview-Commit-ID: 5LEQFVDoJrT
2017-02-09 09:55:18 -05:00
Andrew Halberstadt 83bc098b2b Bug 1334209 - Activate mozharness virtualenv in-process from one click loaner mach commands, r=jmaher
Previously the run-wizard script would add a command to source the virtualenv in ~/.bashrc after
mozharness finished setting things up. This is fragile, assumes people are using bash, etc. Plus
it appeared to intermittently fail for some users.

Instead, this activates the virtualenv directly from individual mach commands that need it. This
guarantees we will always be using the virtualenv if required (and won't be using it if not). The
'activate_this.py' script is invoked the same way that we do it for in-tree mach commands:
https://dxr.mozilla.org/mozilla-central/rev/9c06e744b1befb3a2e2fdac7414ce18220774a1d/python/mozbuild/mozbuild/virtualenv.py#456

MozReview-Commit-ID: CfcoiVJXQTl
2017-01-31 11:53:36 -05:00
Bob Clary a979244678 Bug 1279259 - make TURN server port configurable, r=jmaher. 2017-01-25 01:56:45 -08:00
Byron Campen [:bwc] 7d3bebb1ca Bug 1056934 - Part 1: TLS support in the test ICE server. r=drno
MozReview-Commit-ID: 9Vz87jqHwGc
2016-12-16 17:04:56 -06:00
Joel Maher b1042ce50d Bug 1326467 - remove old testing/tools/ files. r=ted
MozReview-Commit-ID: H647RF4nhAu
2017-01-06 11:33:45 -05:00
Andrew Halberstadt facdedb37b Bug 1312739 - Fix marionette SEARCH_PATHS in mach_test_package_bootstrap.py, r=jmaher
In bug 1320073, the marionette package structure was refactored a bit. This made the SEARCH_PATHS
in the mach test package bootstrap outdated. While this didn't end up causing any errors due to
marionette also appearing in an activated virtualenv, it should still be fixed. Figured since I was
in the area, I would just piggy-back off this commit series rather than filing a new bug.

MozReview-Commit-ID: DCNz3xEVJfY
2016-12-20 14:08:21 -05:00
Phil Ringnalda 5d05be41ea Backed out 3 changesets (bug 1312739) for "'NoneType' object has no attribute 'startswith'" bustage in everything mochitest
CLOSED TREE

Backed out changeset 1f3f88337227 (bug 1312739)
Backed out changeset ecb1d15e8075 (bug 1312739)
Backed out changeset b2adce340421 (bug 1312739)
2016-12-21 20:19:24 -08:00
Andrew Halberstadt 75f2f0f42d Bug 1312739 - Fix marionette SEARCH_PATHS in mach_test_package_bootstrap.py, r=jmaher
In bug 1320073, the marionette package structure was refactored a bit. This made the SEARCH_PATHS
in the mach test package bootstrap outdated. While this didn't end up causing any errors due to
marionette also appearing in an activated virtualenv, it should still be fixed. Figured since I was
in the area, I would just piggy-back off this commit series rather than filing a new bug.

MozReview-Commit-ID: DCNz3xEVJfY
2016-12-20 14:08:21 -05:00
Gabriele Svelto 088fc29892 Bug 1264367 - Upgrade breakpad to upstream revision 704f41ec901c419f8c321742114b415e6f5ceacc r=ted
* * *
Bug 1264367 - Accomodate for the new version of Breakpad
2016-10-05 11:46:07 +02:00
Wes Kocher d31d166f3f Backed out changeset 1adfbab318a6 (bug 1264367) for breaking crash stacks CLOSED TREE 2016-10-03 14:50:27 -07:00
Gabriele Svelto 8bd242ea95 Bug 1264367 - Upgrade breakpad to upstream revision 704f41ec901c419f8c321742114b415e6f5ceacc r=ted 2016-10-03 13:43:28 +02:00
Maja Frydrychowicz d228ddcfb9 Bug 1278702 - Error out when compiled-code test is requested with artifact build; r=chmanchester
MozReview-Commit-ID: Es66ZuFq6PJ
2016-09-21 14:22:34 -04:00
Phil Ringnalda 40ceb1671e Backed out changeset af84ff6bfd7e (bug 1264367) for causing crash stacks to lack symbols
CLOSED TREE
2016-09-15 19:15:45 -07:00
Gabriele Svelto ae9c4a5ed1 Bug 1264367 - Upgrade breakpad to upstream revision 704f41ec901c419f8c321742114b415e6f5ceacc r=ted 2016-09-15 17:31:13 +02:00
Andrew Halberstadt c42cfbaba1 Bug 1300163 - Add support for Android mochitests to interactive loaners, r=armenzg
This will allow developers to request a loaner for an Android mochitest job and then use
|mach mochitest| to run tests.

MozReview-Commit-ID: 4lsKGpizfH7
2016-09-02 14:43:53 -04:00
Andrew Halberstadt 712da3ba96 Bug 1300163 - Lazy load certain mach context attributes using the 'key' mechanism, r=armenzg
You can set attributes on a mach context by using the 'key' argument to the context_handler. Basically,
whatever gets returned by the handler when <key> is passed in, will get set (i.e cached) on the context
object for fast retrieval next time. This is a way to lazy load these attributes.

Previously I was setting functions like 'find_firefox()' on the context object, and then having the
mach_commands call that directly. But this way is much cleaner.

Now, the loaded 'mozharness_config' can be stored as an attribute on the context. Also 'find_firefox()'
is now an attribute called 'firefox_bin'.

MozReview-Commit-ID: 4lsKGpizfH7
2016-09-02 14:35:14 -04:00
Andrew Halberstadt f054967d9d Bug 1296067 - Add mach test package integration for marionette-test, r=armenzg
This makes it possible to run |mach marionette-test| from a test package (and therefore
also an interactive loaner).

MozReview-Commit-ID: Lxhe8KMQaWq
2016-08-17 12:04:37 -04:00
Tom Tromey 1b5a2bdb96 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx
2016-07-14 10:16:42 -06:00
Andrew Halberstadt a5e68e668c Bug 1278890 - Add reftest support to test package mach environment, r=armenzg
This adds reftest support to the test package mach environment. It will allow
developers to easily run reftests after checking out an interactive worker.

MozReview-Commit-ID: fBAbfuG5XQ
2016-07-13 10:57:22 -04:00
Andrew Halberstadt ce666fcecd Bug 1278890 - Add xpcshell support to test package mach environment, r=armenzg
This adds the 'xpcshell-test' command to the mach environment found in the test
package. This will allow developers to easily run xpcshell after checking out
and interactive worker.

MozReview-Commit-ID: fBAbfuG5XQ
2016-07-13 10:55:37 -04:00
Andrew Halberstadt 5826a951af Bug 1278890 - Add a method for normalizing test paths to the test package mach environment, r=armenzg
The test path structure is slightly different in the test package compared to a srcdir. So we may need
to normalize the specified paths such that they are relative to a srcdir. Because every test harness
needs to do this, this method is being added to the bootstrap for re-use.

MozReview-Commit-ID: fBAbfuG5XQ
2016-07-13 10:49:42 -04:00
Andrew Halberstadt 348eaf8b95 Bug 1278890 - Search for a firefox binary in the test package mach bootstrap, r=armenzg
When running test harnesses from the test package, the firefox binary will live somewhere
outside of the mach context. There are two common situations where a developer might be
running from a test package:
1) From a mozharness context
2) From an objdir context

This patch will attempt to detect either of those situations and automagically find the
firefox binary.

MozReview-Commit-ID: fBAbfuG5XQ
2016-07-13 10:50:13 -04:00
Chris Manchester c6d720ca48 Bug 1281937 - Provide a more helpful error message when ./mach try fails to push to try. r=jdm
MozReview-Commit-ID: G17BmFo1fTA
2016-06-29 13:12:18 -07:00
Chris Manchester 9f6d1994d0 Backed out changeset c407d7f3ba96 (bug 1258451) for causing issues for users of ./mach try
MozReview-Commit-ID: EJZKxaRnQxe
2016-06-29 13:12:18 -07:00
Chris Manchester 361346d133 Backed out changeset b34ff89e8bba (bug 1258451)
MozReview-Commit-ID: 1E3tic7Zso9
2016-06-29 13:12:17 -07:00
Chris Manchester ee14316026 Backed out changeset efec1285a2a1 (bug 1281570) as part of the backout of bug 1258451
MozReview-Commit-ID: KaUcqC4Es6Z
2016-06-29 13:12:17 -07:00
Phil Ringnalda 3a30305179 Merge m-i to m-c, a=merge 2016-06-25 16:23:43 -07:00
Jared Wein 28826d59f5 Bug 1281570 - Provide recommendations to fix typos when using 'mach try'. r=chmanchester
MozReview-Commit-ID: HIx5QevA3Iy
2016-06-24 21:36:39 -04:00
Jared Wein 37ea71c988 Bug 1258451 - Add a whitelist to 'mach try' for platforms, unittest suites, and talos suites. r=chmanchester
MozReview-Commit-ID: 6Hh7xGoulsC
2016-06-22 11:19:00 -04:00
Chris Manchester a6ff6ae97d Bug 1258451 - Fixup to make -p all an acceptable platform selection in mach try. r=me
MozReview-Commit-ID: 2dXP3sPcJgX
2016-06-24 11:07:58 -07:00
Andrew Halberstadt aebf974935 Bug 1278900 - Fix up the test package mach bootstrap script, r=armenzg
This is a bit of a hodge podge of small fixes that I needed to run |mach mochitest|
on an interactive worker. Included:

1) Add some packages to SEARCH_PATHS that mochitest needs
2) Always add SEARCH_PATHS even if mach package is found
3) Don't try to register commands that don't exist (i.e it was in an unused test zip)

MozReview-Commit-ID: BIXcCm4LzE2
2016-06-08 10:41:13 -04:00
Byron Campen [:bwc] a41789e976 Bug 1231981 - Part 4: Pull in the necessary python dependencies in CI. r=ahal
MozReview-Commit-ID: AkmzbnI4Lq5
2016-03-15 16:27:36 -05:00
Byron Campen [:bwc] 80f9d382ca Bug 1231981 - Part 2: A websocket-to-process bridge script that can be used by JS to launch an ICE server for testing. r=ahal
MozReview-Commit-ID: FbfNzyw9SZp
2016-03-15 17:02:00 -05:00
Byron Campen [:bwc] 5bb413646e Bug 1231981 - Part 1: Very basic test TURN server for running in CI. r=ahal,drno
MozReview-Commit-ID: 96vhyPCs99p
2016-04-26 09:29:03 -05:00
Wes Kocher 7721e2c661 Backed out changesets baa6c68ec413,5b8583070c9e,2942bb31152c,dd2ad6863f53,c68772362633,c8db6695b991 (bug 1231981) a=backout
MozReview-Commit-ID: EoGyz071RoN
2016-04-27 10:24:37 -07:00
Byron Campen [:bwc] ef210dce9f Bug 1231981 - Part 4: Pull in the necessary python dependencies in CI. r=ahal
MozReview-Commit-ID: AkmzbnI4Lq5
2016-03-15 16:27:36 -05:00
Byron Campen [:bwc] fdd7508c86 Bug 1231981 - Part 2: A websocket-to-process bridge script that can be used by JS to launch an ICE server for testing. r=ahal
MozReview-Commit-ID: FbfNzyw9SZp
2016-03-15 17:02:00 -05:00
Byron Campen [:bwc] 1a8418a44f Bug 1231981 - Part 1: Very basic test TURN server for running in CI. r=ahal,drno
MozReview-Commit-ID: 96vhyPCs99p
2016-04-26 09:29:03 -05:00
Carsten "Tomcat" Book 631db5129a Backed out changeset a244bcd9911b (bug 1231981) for mass bustage with Timed out while waiting for websocket/process bridge startup on a CLOSED TREE 2016-04-25 16:29:13 +02:00
Carsten "Tomcat" Book f602f39509 Backed out changeset de3f062c9a99 (bug 1231981) 2016-04-25 16:28:55 +02:00
Carsten "Tomcat" Book a1b2635bd6 Backed out changeset 507145be7f82 (bug 1231981) 2016-04-25 16:28:52 +02:00
Byron Campen [:bwc] d8945401a3 Bug 1231981 - Part 4: Pull in the necessary python dependencies in CI. r=ahal
MozReview-Commit-ID: AkmzbnI4Lq5
2016-03-15 16:27:36 -05:00
Byron Campen [:bwc] 13f29cc725 Bug 1231981 - Part 2: A websocket-to-process bridge script that can be used by JS to launch an ICE server for testing. r=ahal
MozReview-Commit-ID: FbfNzyw9SZp
2016-03-15 17:02:00 -05:00
Byron Campen [:bwc] 26333db296 Bug 1231981 - Part 1: Very basic test TURN server for running in CI. r=drno, r=ahal
MozReview-Commit-ID: 96vhyPCs99p
2016-02-24 14:40:25 -06:00
Geoff Brown bb082cfde6 Bug 1259684 - Allow more options in 'mach try'; r=chmanchester 2016-03-31 20:35:53 -06:00
Chris Manchester 7f12bbd4b3 Bug 1258525 - Fix mach try chunk selection for selecting a directory of devtools. r=ahal
MozReview-Commit-ID: IpYFWlbnACH
2016-03-21 15:34:00 -07:00
Mike Hommey 1d8da3f130 Bug 1256988 - Replace tests on MOZ_WIDGET_GTK with tests on MOZ_WIDGET_TOOLKIT containing gtk. r=chmanchester
But only do that for the AC_SUBST. The AC_DEFINE is still useful.
2016-03-17 06:49:44 +09:00
Jacek Caban daf8a6afde Bug 1216681 - Cross compilation fixup. 2016-02-15 16:44:39 +01:00
Chris Manchester f19ac6c12a Bug 1216681 - Add a windows version of fileid to extract a guid from windows binaries. r=jimm,ted
This patch introduces a small utility program to extract a guid from a shared library
or executable on windows to identify the correct symbol file to read in fix_stack_using_bpsyms.py.
In order for this to work correctly on windows, the library name provided by
MozDescribeCodeAddress needs to be a full path, so the LoadedImageName field
from the IMAGEHLP_MODULE64 structure is used here instead of the ModuleName
field.

MozReview-Commit-ID: 8zkfLWjKVs2
2015-10-29 13:25:03 -07:00