gecko-dev/testing
Armen Zambrano Gasparnian 4c0867917e Bug 1203085 - Support fetching installer and test url from TaskCluster. r=jlund
If a Buildbot test job is scheduled through TaskCluster (The Buildbot Bridge supports this),
then the generated Buildbot Change associated to a test job does not have the installer and
test url necessary to Mozharness to run the test job.

Since we can't modify how a test job is called on Buildbot (we can't switch from
--read-builbot-config to --installer-url and --test-url), we have to detect that there is
a 'taskId' defined for the test job (this indicates that the job was scheduled through the BBB)
and based on suc 'taskID' we can determine the parent task and the artifacts it uploaded.

Changes to ScriptMixin:
* Refactor _retry_download_file() to _retry_download()
* If no file is specified when calling_retry_download() we call _urlopen() instead of _download_file()
* Add load_json_url() method to fetch the contents of a json file without writing to disk

Changes to TestingMixin:
* If the job is triggered through Buildbot we look for the Changes object, otherwise, we look
for artifacts of the parent task
* Added functions find_artifacts_from_buildbot_changes (original behaviour)
and find_artifacts_from_taskcluster (functionality via TaskClusterArtifactsFinderMixin)
* Call self.exception() instead of raising exceptions + minor fixes

New TaskClusterArtifactsFinderMixin:
* It allows any inheriting class to find the artifacts of the build job which triggers this test job

--HG--
extra : commitid : 2KCqLM0WFcK
extra : rebase_source : 77358aab22a74e0f3d77f8807b1488c3c3f9161f
2015-09-18 13:02:33 -04:00
..
config Bug 1199377 - Add tooltool manifests for host-utils, supporting Android tests; r=jmaher 2015-09-15 12:33:15 -06:00
crashtest Bug 1048624 - Cleanup and refactor the media crashtest manifests and re-enable some disabled tests that now pass. 2015-08-05 08:44:14 -04:00
docker Merge b-i to m-c, a=merge 2015-09-11 20:27:20 -07:00
gtest Bug 992983 - Add test summary lines to gtest's automation-specific output format. r=benwa 2015-08-18 11:32:31 -07:00
instrumentation
luciddream Bug 1014760 - Move mozlog.structured to mozlog; Move mozlog to mozlog.unstructured, r=jgraham 2015-07-16 10:38:40 -04:00
marionette Bug 1141519: if we try call marionette calls in the teardown and they don't work we should just carry on; r=jgriffin 2015-09-16 20:58:28 +01:00
mochitest Bug 1197266, Reset pushed pref environment between browser tests, r=martijn 2015-09-17 11:20:32 -04:00
modules Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
mozbase Bug 1205348 - Always do shutdown CCs when NS_FREE_PERMANENT_DATA is defined. r=smaug 2015-09-16 10:10:00 +02:00
mozharness Bug 1203085 - Support fetching installer and test url from TaskCluster. r=jlund 2015-09-18 13:02:33 -04:00
profiles Bug 1201535 - Always enable view source tabs for tests. r=me 2015-09-09 16:48:53 -05:00
runtimes Bug 1199241 - Average runtime data across platforms instead of keeping it distinct, r=jgriffin 2015-08-27 17:37:26 -04:00
specialpowers Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
talos Bug 1204628 - Talos' setup.py does not install psutil into virtualenv.r=jmaher 2015-09-15 07:16:42 +02:00
taskcluster Backed out changeset 4717107189fe (bug 1204800) for device build bustage CLOSED TREE 2015-09-17 11:39:14 -07:00
tools Bug 1203796 - Remove the trychooser syntax commit if pushing to the try server fails; r=chmanchester 2015-09-11 00:16:05 -04:00
tps
web-platform Bug 1105760 - Increase timeout for unstable Media Source test, rs=Ms2ger 2015-09-18 13:25:06 +01:00
xpcshell Bug 1206073 - [xpcshell] Fix default value for testingModulesDir when running from mach, r=jgraham 2015-09-18 10:00:40 -04:00
cppunittest.ini Bug 1186315 - Fix TestTuple error and add it into testing list. r=nfroyd 2015-07-21 22:54:00 +02:00
mach_commands.py Backed out 7 changesets (bug 1181516, bug 1198257, bug 1193257, bug 1194166, bug 1193223, bug 1193224, bug 1181520) for breaking android 4.0 debug reftests CLOSED TREE 2015-09-15 08:52:19 -07:00
machine-configuration.json
README.txt
remotecppunittests.py Bug 1090276 - Support mach cppunittest on Android; r=dminor 2015-09-14 08:40:35 -06:00
runcppunittests.py Bug 1090276 - Support mach cppunittest on Android; r=dminor 2015-09-14 08:40:35 -06:00
testsuite-targets.mk Backed out 7 changesets (bug 1181516, bug 1198257, bug 1193257, bug 1194166, bug 1193223, bug 1193224, bug 1181520) for breaking android 4.0 debug reftests CLOSED TREE 2015-09-15 08:52:19 -07:00

Common testing tools for mozilla codebase projects, test suite definitions
for automated test runs, tests that don't fit anywhere else, and other fun
stuff