Commit Graph
98 Commits
Author SHA1 Message Date
Ryan VanderMeulen b9c83e5361 Merge inbound to m-c. a=merge 2016-01-13 20:25:33 -05:00
Justin Wood 45468c328a Bug 1236835 - Disable all B2G Desktop Builds & Tests on All trees. r=garndt, r=rail 2016-01-11 12:25:05 -05:00
Armen Zambrano Gasparnian a183d9ea09 Bug 1235892 - For desktop-test instances use xsession instead of gnome-session. r=dustin
For Linux64 debug test jobs running on TaskCluster we have been using gnome-session, however,
this differs from how we run things on the Buildbot AMIs where we use xsession instead.

This does not add many changes on test results but mainly help us have a closer set-up to
Buildbot's and possibly have a better VNC experience (jmaher reported some issues with gnome-session).
2016-01-04 16:46:38 -05:00
Armen Zambrano Gasparnian 660a716b57 Bug 1239056 - No need to redirect to xsession.log as it is always empty. DONTBUILD. r=dustin
This only applies to TaskCluster Linux64 debug tests which are currently tier-2.
2016-01-13 09:42:54 -05:00
Carsten "Tomcat" Book 78e4cc82c8 Backed out changeset b7902e452e9d (bug 1235892) for fixing mulet mochitests bustage on a CLOSED TREE 2016-01-08 15:21:17 +01:00
Armen Zambrano Gasparnian 5b1841c733 Bug 1235892 - For desktop-test instances use xsession instead of gnome-session. DONTBUILD. r=dustin
For Linux64 debug test jobs running on TaskCluster we have been using gnome-session, however,
this differs from how we run things on the Buildbot AMIs where we use xsession instead.

This does not add many changes on test results but mainly help us have a closer set-up to
Buildbot's and possibly have a better VNC experience (jmaher reported some issues with gnome-session).
2016-01-04 16:46:38 -05:00
Armen Zambrano Gasparnian 3df869e9a6 Bug 1237068 - Disable the screen saver and locking of screen for desktop-test image. DONTBUILD. r=dustin
For jobs requiring a window manager for the desktop-image, disable the screen saver and prevent
it from locking the screen.

This solves an immense number of test failures which were causing long run times (2-3x) and test timeouts.
2016-01-06 16:17:47 -05:00
Armen Zambrano Gasparnian 442582a8a0 Bug 1232407 - Enable VNC and skip running Mozharness if requested. r=dustin 2015-12-18 10:32:44 -05:00
Dustin J. Mitchell b0f84bfabf Bug 1228416: make artifacts/public directory; r=armenzg 2015-12-08 15:54:46 -05:00
Dustin J. Mitchell da7aaa550c Bug 1228416: send gnome-session output to an artifact; r=armenzg 2015-12-04 17:36:14 -05:00
Armen Zambrano Gasparnian 10248db9a8 Bug 1223123 - Enable pulse_audio for Linux64 TC desktop jobs + proper window manager. r=dustin 2015-11-25 14:56:02 -05:00
Alexandre Poirot ee7ec419a2 Bug 1198877 - Support building FxOS simulators from try builds. r=jryans 2015-11-19 09:51:22 -08:00
Wander Lairson Costa e94d53d7f2 Bug 1223950: Fix branch name for balrog publishing. r=nthomas 2015-11-11 21:58:15 -02:00
Alexandre Lissy c45b63e8df Bug 1201540 - Add support for multiple OTA/FOTA types. r=catlee
B2G updates can be of multiple types:
 - OTA, applied without rebooting the device,
 - FOTA with only Gecko/Gaia,
 - FOTA with whole system partition files,
 - FOTA dumping partitions images.

Each type of updates has its advantages and drawbacks. There is an
extensive documentation maintained on MDN about each and the options:
https://developer.mozilla.org/en-US/Firefox_OS/Building_and_installing_Firefox_OS/Firefox_OS_update_packages

All those updates are being packaged as a MAR file that gets injected
into the classical Firefox update mechanism, submitted to Balrog and
downloaded by the client. The content of the MAR will however depend on
the type of update: an OTA update will packate a Gecko and Gaia set of
files to update those parts; while any FOTA package is just an
update.zip that will get applied in recovery mode on the device.

So one fundamental difference is that OTA will not reboot your device
(just Gecko) while FOTA requires a working recovery mode and will reboot
your device. But OTA needs more system partition space to get applied,
and it can only update files that are within the /system/b2g/ directory.
FOTA on the other hand can update anything since the payload will
contain an update script written in Edify (Android recovery update
scripting language).

For each device we might need to produce several types of updates that
will be pushed to users depending on the context: for some users we want
to push just a Gecko/Gaia update, for some we know that we need to
update more content and thus we need to send some partitions.
Previously, the b2g_build.py script would only allow one kind of update
payload to be produced for each device available: we would need to have
a device "flame-kk-ota" and "flame-kk-fota" just to produce the OTA and
FOTA packages for the same device, thus resulting in a waste of
computing power and storage.

This commit introduces a new field "update_types" that can take an array
of values:
 - ota, to produce an OTA package as before
 - fota, to produce a FOTA package with only Gecko/Gaia
 - fota:full, to produce a FOTA package of all files of the system
   partition
 - fota:fullimg, to produce a FOTA package dumping partitions

The old "update_type" will be used in the absence of "update_types". And
if none are present, we will keep defaulting to generating OTA as
previously.
2015-11-03 10:25:00 +01:00
Alexandre Lissy 3bb3d42877 Bug 1221645 - Make Nexus 4 KK and Nexus 5 L full images public. r=wcosta 2015-11-04 11:51:00 +01:00
Alexandre Poirot dd677b8501 Bug 1198877 - Tweak simulator build script to accept any platform package. r=jryans 2015-11-03 13:35:11 -08:00
Wander Lairson Costa 5631a7aebf Backout "Bug 1144808 part 2: Harden phone-builder image."
Things just got too hard for B2G people to change build scripts, so we
are backing out this.
2015-10-28 11:17:58 -02:00
Alexandre Poirot 29969f2cc2 Bug 1213011 - Use stable file name for simulator xpi in TC. r=garndt 2015-10-26 10:45:47 -07:00
Andrew Halberstadt 200cd93f14 Bug 1171033 - Add taskcluster linux64 test configs (but not scheduled anywhere yet), r=dustin
This adds test configs for desktop linux64 unittests, including: mochitest-plain,
mochitest-browser-chrome, mochitest-devtools-chrome, reftest and xpcshell. It
also does a minor refactor of the b2g configs to remove some b2g-specific logic
from the base 'test.yml' config.

This does *not* schedule these tests anywhere just yet.
2015-10-15 15:35:45 -04:00
Andrew Halberstadt da82c009a0 Backout 11ba4c03d205 for gecko decision bustage 2015-10-23 11:20:48 -04:00
Andrew Halberstadt 076dbdfb0e Bug 1171033 - Add taskcluster linux64 test configs (but not scheduled anywhere yet), r=dustin
This adds test configs for desktop linux64 unittests, including: mochitest-plain,
mochitest-browser-chrome, mochitest-devtools-chrome, reftest and xpcshell. It
also does a minor refactor of the b2g configs to remove some b2g-specific logic
from the base 'test.yml' config.

This does *not* schedule these tests anywhere just yet.
2015-10-15 15:35:45 -04:00
Wes Kocher 999e8cde6f Merge b2ginbound to central, a=merge 2015-10-22 16:50:22 -07:00
Wander Lairson Costa df1634ab75 Bug 1144808 part 2: Harden phone-builder image. r=garndt
We don't run free commands from tasks, we now allow only scripts shipped
in the phone-builder image.

We also added support to an allowed whitelist of github and bitbucket
users to run tasks from their respective private repositories.
2015-10-22 11:40:22 -02:00
Dustin J. Mitchell 510f817a88 Bug 1214809: use 'sudo' instead of 'su' to drop root privs; r=ted 2015-10-20 18:12:09 -04:00
Ehsan Akhgari d6c2b34c5e Bug 1214948 - Add a script to build Linux clang using TaskCluster; r=ted
DONTBUILD
2015-10-19 16:14:12 -04:00
Dustin J. Mitchell 85cc1730ce Bug 1213325: refactor desktop-test to use an in-tree script; r=ahal
This generally makes the approach look more like that for desktop-build.  The
major difference is that `bin/test.sh` takes arguments which are passed on to
the mzoharness script (MOZHARNESS_SCRIPT) with the addition of config
arguments (MOZHARNESS_CONFIG)
2015-10-13 14:20:34 -04:00
Wes Kocher 99de1183ae Backed out changeset e58169d5f96a (bug 1204800) for flame-kk build failures 2015-10-06 17:51:12 -07:00
Dustin J. Mitchell e945097647 Bug 1209494: remove refs to RELENGAPI_TOKEN, TOOLTOOL_CACHE; r=jlund
RELENGAPI_TOKEN is no longer needed, with the advent of the relengapi proxy.

TOOLTOOL_CACHE has a reasonable default (and why would you want to change
that, anyway?)
2015-10-02 11:37:28 -04:00
John Dai 05446059d8 Bug 1204800 - Add tooltool dependencies to phone builds. r=wcosta 2015-10-05 22:57:00 +02:00
Mike Hommey 22342db97d Bug 1210642 - s/APP_BUILDID/MOZ_APP_BUILDID/ to use the same variable name across products. r=gps 2015-10-06 11:15:05 +09:00
Wander Lairson Costa babc28b546 Bug 1210467: Exit script if aws fails to list backup file. r=garndt
Make a dummy call to aws client to make sure credentials are ok.
2015-10-02 11:30:08 -03:00
Wander Lairson Costa 184b2f8c45 Backed out changeset 19db5133d27c 2015-10-01 16:10:16 -03:00
Wander Lairson Costa 4118b78e67 Bug 1210467: Exit script if aws fails to list backup file. r=garndt
As the aws command line tool call is piped, its status is lost, but the
net result is an empty variable assigment. We take advantage of this to
detect errors in the aws tool.
2015-10-01 15:29:46 -03:00
Jordan Lund 89d6f23b22 Bug 1199720 - Setup builds for b2gdroid, taskcluster and mozharness bits, r=dustin 2015-09-30 13:57:52 -07:00
Alexandre Poirot a837c0de9b Bug 1207653 - Build simulator from mulet. r=garndt,jryans 2015-09-29 03:02:48 -07:00
Carsten "Tomcat" Book 33c17559d5 Merge mozilla-central to b2g-inbound 2015-09-23 12:35:32 +02:00
Alexandre Lissy d15dab7a90 Bug 1206379 - Fix blobfree distribution collect for nexus-5-l. r=wcosta 2015-09-22 04:13:00 +02:00
Jordan Lund 8da8e9b0ab Bug 1206106 - Create a java tarball that works on CentOS 6, taskcluster task template, CLOSED TREE NPOTB r=testing 2015-09-22 11:34:15 -07:00
Wes Kocher 3ccd3bed20 Backed out changeset 520103c26e0c (bug 1206106) for apparently breaking b2g device builds CLOSED TREE 2015-09-22 11:56:01 -07:00
Jordan Lund 0633b5653f Bug 1206106 - Create a java tarball that works on CentOS 6, taskcluster task template, NPOTB r=testing 2015-09-22 11:34:15 -07:00
Edgar Chen cd1347d243 Bug 1188330 - Use intree mozharness for taskcluster tests. r=dustin,garndt,wcosta 2015-09-04 17:01:36 +08:00
Edgar Chen d0273fe58b Bug 1205934 - Switch Taskcluster Dolphin builds to in-tree mozharness. r=wcosta 2015-09-18 10:44:51 +08:00
Dustin J. Mitchell 42b9e77829 Bug 1198179: in taskcluster, have 'make upload' just copy; r=ted.mielczarek 2015-09-11 11:35:00 -04:00
Ted Mielczarek 152ef48b7a Tweak cctools build script (No bug, NPOTB) 2015-09-09 11:36:28 -04:00
Ted Mielczarek 16967c9cd7 bug 1202811 - Invoke mozharness with python 2.7 from build-linux.sh. r=dustin 2015-09-08 15:32:38 -04:00
Wander Lairson Costa ae3de59727 Bug 1201179: Use custom branch gecko objdir for emulator and phone builds. r=garndt
Messing up with shared cached object directories for different branches
often triggers build bustage. Make the object directory unique for each
branch.
2015-09-10 11:40:21 -03:00
Carsten "Tomcat" Book 201b7ecb33 Backed out 1 changesets (bug 1201179) for bustage on a CLOSED TREE
Backed out changeset aa3cbda42b11 (bug 1201179)
2015-09-10 14:25:24 +02:00
Wander Lairson Costa 0f1a6b5d89 Bug 1203144: Add tooltool dependencies to emulator builds. r=garndt,dustin 2015-09-10 08:26:33 -03:00
Wander Lairson Costa 440d5e105e Bug 1201179: Use custom branch gecko objdir for emulator and phone builds. r=garndt
Messing up with shared cached object directories for different branches
often triggers build bustage. Make the object directory unique for each
branch.
2015-09-09 11:28:06 -03:00
Ted Mielczarek 1da64308a2 bug 1201012 - Update minidump_stackwalk taskcluster build script to build stackwalk-http as the minidump_stackwalk for testing (NPOTB) 2015-09-02 12:19:23 -04:00