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

1000 Коммитов

Автор SHA1 Сообщение Дата
Paul Yang 3d548216f0 Bug 1295093 - [mozharness] Allow excluding flavors when determining whether to use StructuredOutputParser, r=ahal
This refactors the mozharness configs such that a specific flavor of an overall suite can still use the old
DesktopUnittestOutputParser. This is necessary because mochitest-jetpack still does not use the structured
logger.

MozReview-Commit-ID: E8EpSLH4xt2

--HG--
extra : rebase_source : be18e3e4aa1f693b563a82b90fdda2f93201d9ee
2016-10-18 09:16:03 -04:00
Gregory Szorc 2dda282bea Bug 1307305 - Don't use --trusted-host with easy_install; r=ted
3fd83c9c0548 introduced the use of --trusted-host for use with pip.
Unfortunately, it unconditionally added --trusted-host, even when
easy_install is being used. This broke modules using easy_install
(which is currently limited to pywin32). Removing easy_install
and installing pywin32 is tracked in bug 1306691.

MozReview-Commit-ID: ExiO22EUr0B

--HG--
extra : rebase_source : 25dcded06a47ec8c0e61637bdd425131fe20a543
2016-10-03 17:10:52 -07:00
James Graham 053e1545f8 Bug 1238043 - Enable assert stack fixup for wpt, r=ted
MozReview-Commit-ID: GLZ4nMLilel

--HG--
extra : rebase_source : 8eaedf4538bf3da0737e7b3f89d35888feb1441f
2016-10-12 23:04:58 +01:00
Armen Zambrano Gasparnian 2c5c9fa1b1 Bug 1309912 - Add explicit timeout for urllib2.urlopen() instead of relying on global timeout r=dustin
For Mozharness' download and extract action we're blocking when trying to read the contents from a url.
This mostly happens on Mac machines.

urllib2.urlopen()'s documentation mentions about a global timeout, however, it does not seem
to kick in or perhaps this won't do what we expect it to.

MozReview-Commit-ID: L9IDnDSjgzO

--HG--
extra : rebase_source : 595c0e99342a99d6afbe0303922bd5f067e26884
2016-10-13 11:46:51 -04:00
Joel Maher 0499661895 Bug 1309593 - remove b2g, mulet, graphene, horizon references from mozharness. r=catlee
MozReview-Commit-ID: JdrltSor9dL

--HG--
extra : rebase_source : 5fd30f5e7536854ddc92104d434141c01f9ac059
2016-10-12 19:20:02 +00:00
Simon Fraser 913eb833f6 As part of the work on bug 1195365 we need funsize to known about the MAR URLs for the latest build without that information coming from balrog. r=Callek
Reduce mar url list now to simple dictionary

MozReview-Commit-ID: 7AWLrSu7BAx

--HG--
extra : rebase_source : 619c6219ee6d8c8caaa8ae8f367490411ea1e8ad
2016-10-10 16:55:10 +01:00
Phil Ringnalda 080c63d412 Merge m-i to m-c, a=merge
MozReview-Commit-ID: 6YHoSP3exdY
2016-10-08 16:48:33 -07:00
Sebastian Hengst cdcc9e20da Bug 1304829 - rename RELEASE_BUILD to RELEASE_OR_BETA: main part. r=ted,Mossop
MozReview-Commit-ID: 1lCt0xTMV5O
2016-10-08 11:14:49 +02:00
Paul Yang 16e1d08dbc Bug 1024055 - Make mozharness use StructuredOutputParser for marionette tests, r=ahal
MozReview-Commit-ID: F1TQ6moVStN

--HG--
extra : rebase_source : f62fc5263b4c409c81b13cf1b77c33ea32aa7712
2016-10-07 09:58:25 -04:00
Geoff Brown 929f35de3b Bug 1280570 - Retrigger tc tasks when mozharness returns TBPL_RETRY; r=dustin 2016-10-07 10:20:15 -06:00
Armen Zambrano Gasparnian 53bbff2f06 Bug 1303668 - Retry downloading symbols if we're expecting them. r=aki
In the case for 'ondemand' symbols, we're OK to proceed without getting a hold of the
symbols from the get go. However, in other cases we need to at least retry
before giving up (e.g. debug tests need symbols)

MozReview-Commit-ID: 7LHflKhpze3

--HG--
extra : rebase_source : 9061fd9827a85e4b0c761d34041743aad87386cc
2016-10-03 09:52:02 -04:00
Nick Alexander 5021324e94 Bug 1291363 - Make Gradle build produce GeckoView AAR. r=chmanchester
We also include the example APK, since it will be helpful to be able
to regression test the example without downloading the AAR and
manually building the example with that AAR.

MozReview-Commit-ID: CMtA1FRS0Rf

--HG--
extra : rebase_source : 42bab43c69093bd008242ec96e74f53bde150583
2016-10-03 10:08:13 -07:00
Nick Alexander b4c52f8bca Bug 1291363 - Add geckoview and geckoview_example Gradle projects. r=jchen,sebastian
We need to bump the Gradle Deps task, which fetches dependencies, to
include new test dependencies; and use freshly uploaded tooltool
archives (manually uploaded) containing the new test dependencies.

MozReview-Commit-ID: 8bNOVQPHlk6

--HG--
extra : rebase_source : 0c80117fb58e43f9c857027941f0a14f03b97f13
2016-10-05 20:23:38 -07:00
Wes Kocher e1ade7ef8a Backed out 8 changesets (bug 1286900) for win7vm wpt timeouts a=backout
Backed out changeset 3fff88de2f2d (bug 1286900)
Backed out changeset 748abfe6748e (bug 1286900)
Backed out changeset b4844ee1e542 (bug 1286900)
Backed out changeset bde587e47d00 (bug 1286900)
Backed out changeset a1311218621b (bug 1286900)
Backed out changeset 2de97e3cfcb3 (bug 1286900)
Backed out changeset 43df1e962f8e (bug 1286900)
Backed out changeset 6ed46e8ac86c (bug 1286900)
2016-10-04 17:17:07 -07:00
Gregory Szorc c46c5a8fa1 Bug 1286900 - Set env explicitly because mozharness; r=me
partial_env only works if the class inherits from some other base
class, which apparently not all callers of this method do. So just
pass a copy of the environ dict with PYTHONUNBUFFERED added.

MozReview-Commit-ID: Ag75x28NR4D

--HG--
extra : rebase_source : f19b2be2db0a4b321542cc353a4599481ba60146
2016-10-04 10:58:05 -07:00
Gregory Szorc fa06b09b54 Bug 1286900 - Run Mercurial with PYTHONUNBUFFERED=1; r=me
We did the same thing for run-task in bug 1304964 because otherwise
output may get buffered, triggering "no output in N seconds"
failures in automation.
2016-10-04 10:25:57 -07:00
Gregory Szorc eb72a98cc5 Bug 1286900 - Use WPT files from source checkout; r=ted
We're starting to execute mozharness scripts from source checkouts
in automation. This means we can stop downloading and extracting
files that are already available in the source checkout and just
reference files from the checkout.

Web platform tests (WPT) are a logical place to start because they
are pretty well isolated. This commit modifies the mozharness script
for WPT execution to use files from a source checkout (previous
commits have guaranteed that a pristine source checkout is available
to the test execution environment).

As part of this, we also need to define an explicit mozinfo.json
path because previously it was relying on parent directory traversal
to find it (WPT tests were under a directory containing the
mozinfo.json file).

MozReview-Commit-ID: C1dlKC4eSzr

--HG--
extra : rebase_source : af6f5ad0f88739efc5f5e0c74106a50e845564f6
2016-09-26 23:32:31 -07:00
Gregory Szorc 589bc36a24 Bug 1286900 - Inline WPT arguments into script; r=ted
4 WPT config files all contained the same config options boilerplate.
Inline it into the WPT mozharness script.

MozReview-Commit-ID: 5Lba8QeKMTA

--HG--
extra : rebase_source : a99f8e25d04a3e3344db1cf280fd79c47177ccb4
2016-09-20 19:28:19 -07:00
Gregory Szorc 03e3ceaf31 Bug 1286900 - Reformat WPT command argument additions; r=ted
list.extend() is favored over +=. Also use single quotes, fixup
indentation, and factor out a common variable.

MozReview-Commit-ID: 3qVDGrkYhVe

--HG--
extra : rebase_source : 7573dca951eca0611c86cbb42e3cf53ccae078f4
2016-09-20 12:59:19 -07:00
Gregory Szorc a0d2ff7232 Bug 1286900 - Ensure WPT tests have a version control checkout; r=ted
We add a mozharness action to the TestingMixin base class that ensures
we're running from a VCS checkout and we add this action to the WPT
script.

This ensures that we always have a source checkout available, even
in buildbot. (Before, we only had a source checkout in TaskCluster.)

MozReview-Commit-ID: 26NxwDZywXr

--HG--
extra : rebase_source : 6aea0390b0c9ff43972ef6fe6592f104401cc3fc
2016-09-21 10:57:08 -07:00
Maja Frydrychowicz add5306b2e Bug 1304487 - Make incompatible mozharness actions a no-op when try syntax includes '--artifact'; r=armenzg
Rather than clearing actions in volatile_config, add in actions from the artifact config's
default_actions. Incompatible actions are then skipped based on 'forced_artifact_build'
config value.

MozReview-Commit-ID: IZuDvxcQ7cN

--HG--
extra : rebase_source : 265f973959d031617beb11852bb51e7d5f90c8bc
2016-09-30 14:15:52 -04:00
Phil Ringnalda 8f867e5756 Backed out 3 changesets (bug 1306691) for Windows mda bustage
Backed out changeset 3aa78ab9fce9 (bug 1306691)
Backed out changeset 2a95fbb01ffe (bug 1306691)
Backed out changeset c7d8bed34d87 (bug 1306691)
2016-09-30 18:39:22 -07:00
Gregory Szorc 0eea770763 Bug 1306691 - Remove install_method argument and uses; r=ted
Now that we've removed support for using easy_install, we no longer
need the "install_method" argument to specify how we want to install
packages since there is only one method: pip. So remove that code.

MozReview-Commit-ID: BmjerQtfHov

--HG--
extra : rebase_source : 44427108c5a043ed929747323ea539dcda10c1cb
2016-09-30 12:20:13 -07:00
Gregory Szorc 7c16bda557 Bug 1306691 - Remove support for easy_install; r=ted
Support for easy_install was added in bug 761809 as part of supporting
pywin32. We just removed support for pywin32. And there are no in-tree
consumers using the "easy_install" install method. Furthermore,
easy_install is effectively deprecated as a package install mechanism:
pip should always be used.

So, we remove support for easy_install from mozharness.

MozReview-Commit-ID: CN1meLukqY6

--HG--
extra : rebase_source : 883e427f0b5b634a519c3564dd31577e9b164414
2016-09-30 12:17:08 -07:00
Gregory Szorc 678865dd8d Bug 1306691 - Remove references to pywin32 package; r=ted
pywin32 was removed as a requirement to run Talos in bug 726700,
~3 years ago. The references in mozharness were never updated,
apparently.

MozReview-Commit-ID: FMYxLCNa63H

--HG--
extra : rebase_source : 424b9b301a1c615acd3fd221df50e10a6c00d2cb
2016-09-30 12:14:25 -07:00
Maja Frydrychowicz 7142f0b6dd Bug 1302152 - Make forced artifact builds on buildbot trigger test jobs; r=jlund
MozReview-Commit-ID: IANN4FwYklC

--HG--
extra : rebase_source : 8be3878c82fadcb728348bd286a345b80cc5e79e
2016-09-28 16:10:46 -04:00
Armen Zambrano Gasparnian 4376c75ee1 Bug 1306189 - Add proper signature + better logging + stop trying to upload the corrupted file. r=dustin
MozReview-Commit-ID: EBsIFuXN3E7

--HG--
extra : rebase_source : 827be8246ca53008bd1de4afc08a3e1b9e0bc2b1
2016-09-29 11:08:27 -04:00
Gregory Szorc 27658c5d4c Bug 1306421 - Don't use proxxy if running in TaskCluster; r=armenzg
Proxxy is only configured in buildbot land. Don't enable it in
TaskCluster.

Ideally, we'd only enable proxxy if we detect we're in a buildbot
environment. But the change in this commit is more conservative
and aligns with existing behavior.

MozReview-Commit-ID: HBCdQ6MkYGa

--HG--
extra : rebase_source : 08c753d7af7a4ee95c557d9deb6401c4f2da4547
2016-09-29 13:05:57 -07:00
Gregory Szorc 6286818e67 Bug 1306421 - Add is_taskcluster to ScriptMixin; r=armenzg
So we can detect when we're running on TaskCluster. This will
be used to adjust environment settings accordingly.

MozReview-Commit-ID: JEG1E3tWsc5

--HG--
extra : rebase_source : 2acb70bd9accbde44ccb8530002ba1e892b94ce2
2016-09-29 12:50:57 -07:00
Armen Zambrano Gasparnian 35b5f1e97b Bug 1299702 - Add win32 artifact configs r=chmanchester
MozReview-Commit-ID: FfG0brRzeMv

--HG--
extra : rebase_source : 5b7bfcee313c4ecc2fe5c2c4adaf49d591d6dd26
2016-09-23 16:31:19 -04:00
Maja Frydrychowicz a13fe7b93a Bug 1299702 - Add mac64 artifact configs r=chmanchester
MozReview-Commit-ID: 5UmCwp4JjOo

--HG--
extra : rebase_source : 0262fd99d94a6e77c26d2da94b0eaaf3adc75ad1
2016-09-27 20:54:57 -04:00
Maja Frydrychowicz 22a1e37da6 Bug 1299702 - Add win64 artifact configs r=chmanchester
MozReview-Commit-ID: BtKTGX6Ahtz

--HG--
extra : rebase_source : 2e1a0fa322515ecaeef582fb653a21bda10d8c1e
2016-09-27 20:54:44 -04:00
Maja Frydrychowicz 346ac09671 Bug 1299702 - Add linux32 artifact configs r=chmanchester
MozReview-Commit-ID: 9mRJcy1c2el

--HG--
extra : rebase_source : 6d0c66ad5964c361b17b1455bafd7a4eb0724845
2016-09-09 10:48:40 -04:00
James Graham 8811a93c2d Bug 1304046 - Add wdspec support to mozharness, r=ahal
Downloads geckodriver from tooltool when wdspec tests are being run,
and adds the --webdriver-binary argument

MozReview-Commit-ID: AJeP0YDk7Yl

--HG--
extra : rebase_source : 497f25c5af32b1851adf3a6f0b90a20640b6ccc6
2016-09-21 14:14:14 +01:00
Armen Zambrano Gasparnian f76322d299 Bug 1303668 - Failing to find a symbols url should be a warning instead of a exception. r=whimboo
Failing to find symbols in this case should be turned into a warning rather than dumping the traceback
since we're going to rely on mozcrash doing the right thing later on.

This will reduce unnecessary reporting of symbols not being available.

MozReview-Commit-ID: GXO01B7vzGV

--HG--
extra : rebase_source : 99ff82ffca6eed209ce6fd31ab747239d7100516
2016-09-23 13:53:30 -04:00
Gregory Szorc 66779f5fbc Bug 1305598 - Ensure parent directory of virtualenv directory exists; r=maja_zf
The virtualenv is placed in the "work dir" by default. If we
clobber the "work dir" at the beginning of the job, the parent
directory of the virtualenv may not exist and virtualenv creation
will fail because we set cwd to the work dir.

Fix that by ensuring the work dir / cwd always exists when
creating the virtualenv.

MozReview-Commit-ID: FAZPP1Sm22k

--HG--
extra : rebase_source : 126443cbcd5c83aeb47848bfc90ae28be9c9f596
2016-09-28 13:41:51 -07:00
Gregory Szorc e00bae48b7 Backed out changeset 1418ec10eda2 (bug 1303668) for mozharness bustage 2016-09-28 15:24:59 -07:00
Gregory Szorc c32c3f3551 Bug 1305910 - Vendor latest version of robustcheckout; r=me
From changeset 3282813aa892f0fc247181a33ce0bde2b751da50 from the
version-control-tools repo. File added without modifications.
Upstream change was peer reviewed.
2016-09-28 14:59:30 -07:00
Armen Zambrano Gasparnian ad79e3943b Bug 1303668 - Failing to find a symbols url should be a warning instead of a exception. r=whimboo
Failing to find symbols in this case should be turned into a warning rather than dumping the traceback
since we're going to rely on mozcrash doing the right thing later on.

This will reduce unnecessary reporting of symbols not being available.

MozReview-Commit-ID: GXO01B7vzGV

--HG--
extra : rebase_source : 5fa15dcf89bedea2b4e6ff52f6d06461fe5e208d
2016-09-23 13:53:30 -04:00
Armen Zambrano Gasparnian daf2509e48 Bug 1305752 - If the file we download is a corrupted zip file store it for inspection. r=dustin
download_unpack() is managing to download files correctly, however, sometimes we get an exception
that the zip file is corrupted.

This change adds more logging and saves the fetched file to disk in order to get uploaded as an artifact
for inspection.

MozReview-Commit-ID: 2KCK6qGNor4

--HG--
extra : rebase_source : 05f29616c90f36991582d285c6fa00d62fe06b40
2016-09-28 12:35:56 -04:00
Gregory Szorc cd16187ecd Bug 1305804 - Resolve hostname before attempting to use pip link; r=ted
In automation, we try to use pypi.pvt.build.mozilla.org nearly
everywhere. This hostname doesn't resolve in TaskCluster and
outside of buildbot automation.

A consequence of work in bug 1304176 and using a modern pip is
that we attempt to connect to all defined pip links. This was resulting
in pip attempting connections to pypi.pvt.build.mozilla.org. And
since pip was attempting retries, this resulted in a several
second delay for all pip operations if that host didn't resolve.

This commit adds a DNS lookup in mozharness before using a pip
--link. We spend a little bit of overhead in mozharness doing a
DNS lookup. In return, we guarantee we'll avoid a multiple second
pause if any links don't resolve. This is somewhat hacky.
But it seems like the easiest solution.

MozReview-Commit-ID: EecqBQSW75R

--HG--
extra : rebase_source : 9664a3694232e4ce2dec216b036ba29783c2842d
2016-09-27 13:44:27 -07:00
Maja Frydrychowicz 7cd9774674 Bug 1305720 - Check for --artifact try syntax regardless of is_automation value; r=armenzg
Check try message for --artifact even if fx_desktop_build.py is run with
--skip-buildbot-actions

We can't rely on buildbot config. Add checks to TryToolsMixin._extract_try_message so
that it works even if self.buildbot_config is None.

MozReview-Commit-ID: 1xErjuOArBe

--HG--
extra : rebase_source : 2f3204b37e67fd9a77dbff0fa93ab894b08181c1
2016-09-23 14:36:09 -04:00
Phil Ringnalda 3e7326c4fd Backed out 6 changesets (bug 1286900) for making wpt-7 permanently fail on Windows debug
CLOSED TREE

Backed out changeset 859457467e3c (bug 1286900)
Backed out changeset 4b08ed30e0a5 (bug 1286900)
Backed out changeset 3928e945b584 (bug 1286900)
Backed out changeset 5b0f69c86028 (bug 1286900)
Backed out changeset 01c3527edde5 (bug 1286900)
Backed out changeset 6b5f059a85ad (bug 1286900)
2016-09-27 18:24:38 -07:00
Gregory Szorc 32f73d286e Bug 1305522 - Vendor latest version of robustcheckout; r=me
From changeset 872711d144202b3f95e090a95f45cc1c45831caf from the
version-control-tools repo. File added without modifications.
Upstream change was peer reviewed.
2016-09-27 16:59:13 -07:00
Armen Zambrano Gasparnian fd5dc9e1bb Bug 1305775 - Output more metadata about files fetched to increase debuggability. r=ted
In bug 1305752 we discovered that we download a zip file into memory without any issues, however,
when we tried to unzip we discovered that we have an invalid zip file.

The information in the logs is not sufficient to determine what could be the root issue.

MozReview-Commit-ID: DKwDUCmUhFF

--HG--
extra : rebase_source : 7b1ea32dcdc497831a387986d4449fffa37f54da
2016-09-27 13:37:18 -04:00
Gregory Szorc 330a291024 Bug 1286900 - Use WPT files from source checkout; r=ted
We're starting to execute mozharness scripts from source checkouts
in automation. This means we can stop downloading and extracting
files that are already available in the source checkout and just
reference files from the checkout.

Web platform tests (WPT) are a logical place to start because they
are pretty well isolated. This commit modifies the mozharness script
for WPT execution to use files from a source checkout (previous
commits have guaranteed that a pristine source checkout is available
to the test execution environment).

As part of this, we also need to define an explicit mozinfo.json
path because previously it was relying on parent directory traversal
to find it (WPT tests were under a directory containing the
mozinfo.json file).

MozReview-Commit-ID: C1dlKC4eSzr

--HG--
extra : rebase_source : fad7905abafaf126329aa25a96efafc40b01051f
2016-09-26 23:32:31 -07:00
Gregory Szorc befb33401a Bug 1286900 - Inline WPT arguments into script; r=ted
4 WPT config files all contained the same config options boilerplate.
Inline it into the WPT mozharness script.

MozReview-Commit-ID: 5Lba8QeKMTA

--HG--
extra : rebase_source : c613db4107128ad2fd4ba568836ec27e0a9a92a8
2016-09-20 19:28:19 -07:00
Gregory Szorc bf8b5f0282 Bug 1286900 - Reformat WPT command argument additions; r=ted
list.extend() is favored over +=. Also use single quotes, fixup
indentation, and factor out a common variable.

MozReview-Commit-ID: 3qVDGrkYhVe

--HG--
extra : rebase_source : 0c5faa30f5be09165f61943300ecfb2e9c7080f4
2016-09-20 12:59:19 -07:00
Gregory Szorc 8c38bb4182 Bug 1286900 - Ensure WPT tests have a version control checkout; r=ted
We add a mozharness action to the TestingMixin base class that ensures
we're running from a VCS checkout and we add this action to the WPT
script.

This ensures that we always have a source checkout available, even
in buildbot. (Before, we only had a source checkout in TaskCluster.)

MozReview-Commit-ID: 26NxwDZywXr

--HG--
extra : rebase_source : d9c0fade450ab14c0b52be674c3c92bf670d2d3b
2016-09-21 10:57:08 -07:00
Gregory Szorc a46a97380c Bug 1147548 - Update hg fingerprint in merge day scripts; r=Callek
These are the only 2 definitions of the hg.mozilla.org certificate
fingerprint in mozilla-central. The certificate changed on
2016-09-26. So update the fingerprints.

This /might/ be a cargo cult because automation should be pinning
the hg.mozilla.org certificate everywhere. An alternative to this
commit would be to remove the fingerprint pinning from these
scripts. But if these scripts are run by humans, we may want to keep
the pinning in.

MozReview-Commit-ID: 4FUhAGc2oqx

--HG--
extra : rebase_source : fa8889ffbb70c14270acde67121192f7c1932258
2016-09-26 08:42:40 -07:00