Commit Graph

1517 Commits

Author SHA1 Message Date
Joel Maher
b8e9d0187b Backout f271acb304c2 (bug 799107), 2012-10-15 09:08:41 -04:00
Joel Maher
2229b63364 Bug 799107 - minidumps not being generated from robocop test crashes (breakpad environment variables not being set properly). r=kats 2012-10-15 07:10:49 -04:00
Clint Talbert
484056f0df Bug 785032 - SD card issues with new Tegras ("INFO: attempting to create file /mnt/sdcard/writetest ... Push File Failed to Validate!"). r=jmaher DONTBUILD 2012-10-10 10:17:50 -04:00
Joel Maher
d83a18bcfd Bug 797652 - Current code agent code crashes on android 2.3. r=wlach 2012-10-10 10:17:40 -04:00
Rafael Ávila de Espíndola
e9cff3d750 Bug 793109 - Stacks truncated near nsDocLoader::DoFireOnStateChange. r=rail.
Update the build script.

--HG--
extra : rebase_source : 490759f884a9576ab7307a4710b1af2cfab09db6
2012-10-09 21:58:27 -04:00
Ted Mielczarek
786b8cdcee Add mozcrash to virtualenv. r=glandium, no bug
--HG--
extra : rebase_source : 8a9a5a501e4ab47c67fe4a7df8bab9fb5864455f
2012-10-09 09:26:24 -04:00
Gary Kwong
faf4f041f0 Bug 696305 - Suppress bug 799157, a new Valgrind error, probable regression. DONTBUILD 2012-10-08 10:32:22 -07:00
Ed Morley
5abdf356a2 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-10-06 20:30:35 +01:00
Rafael Ávila de Espíndola
12194e5fc1 Bug 797525 - Upgrade clang to version >= r163716 to fix ASan issue 109. r=rail. 2012-10-06 08:28:39 -04:00
Andrew Halberstadt
bb8b4e4177 Bug 797177 - Fix missed calls to checkCmd within B2G automation, r=mikeh; DONTBUILD because NPOTB 2012-10-05 16:06:02 -04:00
Ed Morley
518e3c5e11 Bug 798419 - Fix incorrect spellings of success(ful) in test output; r=me 2012-10-05 17:48:15 +01:00
Jeff Hammel
241701cf63 Bug 792164 - add mozdevice to virtualenv in m-c;r=gps 2012-10-05 09:46:27 -07:00
Rafael Ávila de Espíndola
b1fb2b1463 Bug 784691 - Upgrade clang to r162360. r=rail.
build the new version.

--HG--
extra : rebase_source : 8a743e450a40b68b9d49db591cb694083c0f1eeb
2012-10-04 22:09:48 -04:00
William Lachance
54d781abf7 Bug 795496 - Make mozdevice raise exceptions on error;r=ahal,jmaher
It turns out that relying on the user to check return codes for every
command was non-intuitive and resulted in many hard to trace bugs.
Now most functinos just return "None", and raise a DMError when there's an
exception. The exception to this are functions like dirExists, which now return
booleans, and throw exceptions on error. This is a fairly major refactor,
and also involved the following internal changes:

* Removed FileError and AgentError exceptions, replaced with DMError
  (having to manage three different types of exceptions was confusing,
  all the more so when we're raising them)
* Docstrings updated to remove references to return values where no
  longer relevant
* pushFile no longer will create a directory to accomodate the file
  if it doesn't exist (this makes it consistent with devicemanagerADB)
* dmSUT we validate the file, but assume that we get something back
  from the agent, instead of falling back to manual validation in the
  case that we didn't
* isDir and dirExists had the same intention, but different
  implementations for dmSUT. Replaced the dmSUT impl of getDirectory
  with that of isDir's (which was much simpler). Removed
  isDir from devicemanager.py, since it wasn't used externally
* killProcess modified to check for process existence before running
  (since the actual internal kill command will throw an exception
  if the process doesn't exist)

In addition to all this, more unit tests have been added to test these
changes for devicemanagerSUT.
2012-10-04 11:28:07 -04:00
Gary Kwong
c766f778f4 Bug 696305 - Tweak suppression file for bug 793533. DONTBUILD 2012-10-03 13:36:41 -07:00
Gary Kwong
7da6af38a4 Bug 696305 - Add another 64-bit suppression for bug 793533. DONTBUILD
--HG--
extra : rebase_source : 876faf080da567f882e1e989bc3597ca0f3fee00
2012-10-03 12:10:04 -07:00
David Chan
7991baddb3 Bug 797177 - Unbreak b2g mochitests, r=ahal 2012-10-02 15:43:19 -07:00
Ryan VanderMeulen
d96bd277af Merge the last PGO-green inbound changeset to m-c. 2012-10-02 21:20:48 -04:00
Gary Kwong
e9adf76f21 Bug 696305 - Remove suppressions that were commented out since they did not show up again and their original bug reports had stacks with no line numbers. DONTBUILD 2012-10-02 16:14:00 -07:00
Mike Hommey
baeb10aa34 Bug 794966 - Treat environment variables as = assignments instead of := in pymake. r=ted 2012-10-02 14:18:00 +02:00
Mike Hommey
c613ca96a6 Bug 794490 - Don't buffer stdout and stderr in pymake. r=ted 2012-10-02 14:17:43 +02:00
Rafael Ávila de Espíndola
ce056b48d0 Bug 793319 - Backport patches to make the output order deterministic. r=rail. 2012-10-01 10:40:55 -04:00
Rafael Ávila de Espíndola
5d7d0047e4 Bug 793317 - Only enable the x86,x86_64 and arm targets. r=rail. 2012-10-01 09:11:16 -04:00
Mounir Lamouri
53c4718504 Bug 795136 - 3/2 - Disabling tests until bug 795711 is fixed. r=me 2012-09-30 16:07:51 +01:00
Gary Kwong
facabd0ceb Bug 696305 - Removing another suppression from Valgrind files. DONTBUILD 2012-09-29 23:30:47 -07:00
Gary Kwong
e406ccb7dd Bug 696305 - Removing suppression from Valgrind files. DONTBUILD
--HG--
rename : dom/tests/mochitest/localstorage/test_clear_browser_data.html => dom/tests/mochitest/localstorage/test_app_uninstall.html
extra : rebase_source : 5a6769cf1f4ccd569ad0325785ebb9635f048f54
2012-09-29 23:28:54 -07:00
Gary Kwong
ec055b132e Bug 696305 - Suppress another cross architecture bug. DONTBUILD 2012-09-29 12:35:03 -07:00
Gregory Szorc
a86ac496ac Bug 795499 - Export ANDROID_CPU_ARCH via AC_SUBST. r=glandium 2012-09-29 00:49:24 -07:00
Gary Kwong
619a71bfab Bug 696305 - Remove commented-out suppression for bug 793539 and add bug 795395. DONTBUILD 2012-09-28 10:49:57 -07:00
Gary Kwong
d9a3f28ab6 Bug 696305 - Add more comments and try removing suppression for bug 793539 since the patch to disable GnomeVFS by default has landed on m-c. DONTBUILD 2012-09-27 23:25:31 -07:00
Gary Kwong
79b94f681a Bug 696305 - Update Valgrind cross architecture suppression file. DONTBUILD 2012-09-26 18:55:01 -07:00
Gary Kwong
25baa77919 Bug 696305 - Update all Valgrind suppression files. DONTBUILD 2012-09-26 11:20:55 -07:00
Mounir Lamouri
dcf0c40223 Merge mozilla-inbound in mozilla-central. 2012-09-26 11:57:25 +01:00
Gary Kwong
614495e2e7 Bug 696305 - Update all Valgrind suppression files, comment out suppressions for some known ones to try and get Valgrind stacks with line numbers. DONTBUILD 2012-09-26 01:08:52 -07:00
Gary Kwong
2ec86aac8e Bug 793584 - Update Makefile to look out for cross-architecture.sup as well, rs=njn DONTBUILD 2012-09-26 01:07:13 -07:00
John Hopkins
f2064402cb Bug 793016 - Very frequent hangs during leak tests on new linux build system. r=ted,catlee 2012-09-25 15:51:59 -04:00
Sid Stamm
59b413b8c8 Bug 768029 - Apply CSP Policy to trusted and certified apps. Temporarily using a overly permissive policy for certified apps until Gaia is updated to handle the desired policy. r=sicking Parts by sicking, r=mounir 2012-09-25 16:28:17 -07:00
Ed Morley
89011c37db Bug 793584 - Update Makefile to use i386-redhat-linux-gnu.sup too; rs=ted DONTBUILD since NPOTDB 2012-09-25 15:05:15 +01:00
Fabrice Desré
43f63c647e Backout Bug 768029 because that breaks Gaia (see https://github.com/mozilla-b2g/gaia/issues/5177) 2012-09-25 15:32:20 -07:00
Karl Tomlinson
131712b447 b=793079 set leaktest timeout to half buildbot timeout r=ted
--HG--
extra : rebase_source : e9541428bc26bf5e4e77a74f23f4d9496ef83117
2012-09-25 16:19:25 +12:00
Ryan VanderMeulen
afd4f0c71e Merge m-c to inbound. 2012-09-25 17:31:00 -04:00
Jesse Ruderman
823b421831 Bug 696298 - Add a cross-architecture Valgrind suppressions file. DONTBUILD
--HG--
rename : build/valgrind/x86_64-redhat-linux-gnu.sup => build/valgrind/cross-architecture.sup
2012-09-24 17:33:41 -07:00
Jesse Ruderman
781594129d Improve Valgrind suppressions for bug 793534 and bug 793549. DONTBUILD 2012-09-24 17:33:41 -07:00
Gary Kwong
3b5462efb1 Bug 793584 - Rename 32-bit Linux Valgrind suppressions file from i686-redhat-linux-gnu.sup to i386-redhat-linux-gnu.sup since this changed after the move to AWS, r=nthomas DONTBUILD
--HG--
rename : build/valgrind/i686-redhat-linux-gnu.sup => build/valgrind/i386-redhat-linux-gnu.sup
2012-09-24 16:56:06 -07:00
Gregory Szorc
a4458b8728 Bug 793061 - Python 3 compatible string types; r=glandium
This is the start of porting pymake to be compatible with Python 3.
There are probably other instances of this in the code base. A more
robust port will be performed in the future.

--HG--
extra : rebase_source : b2f8e85de9651dfa0ba4b57ecb39881cb6304405
2012-09-24 13:19:22 -07:00
Gregory Szorc
6ed38c69e9 Bug 793051 - Add pymake to virtualenv; r=glandium
--HG--
extra : rebase_source : 2ec2e7f7ca811efccdd87cd1519d5ce71cad705e
2012-09-24 13:18:25 -07:00
Bobby Holley
7f912ddc79 Bug 792036 - Fix up tests to avoid relying on the existence of window.Components (MANUAL). r=mccr8
These are the manual fixes that the ensuing auto-generation can't deal with. Some of them
just fix up formatting (such as Components.\nFoo, so that subsequent auto-generation can
work better).
2012-09-24 14:46:28 +02:00
Gary Kwong
d592836a00 Bug 696305 - Update i686 and x86_64 Linux Valgrind suppression files. DONTBUILD 2012-09-24 01:23:32 -07:00
Gary Kwong
ba406eaba0 No bug - Update i686 and x86_64 Linux Valgrind suppression files. DONTBUILD 2012-09-23 18:18:30 -07:00
Ryan VanderMeulen
a7b86073b5 Merge the last PGO-green inbound changeset to m-c. 2012-09-21 22:38:53 -04:00
Jonathan Griffin
93e76de9a2 Bug 793213 - Disable offline mode for b2g mochitest/reftest, r=ahal, DONTBUILD because NPOTB 2012-09-21 15:20:39 -07:00
Gregory Szorc
3c938252e5 Bug 792135 - Part 2: Add which to virtualenv; r=glandium 2012-09-20 20:55:34 -07:00
Joel Maher
c3c481579d Bug 762908 - Rip enablePrivilege out of spidermonkey tests. r=ted
--HG--
rename : testing/mochitest/specialpowers/Makefile.in => testing/specialpowers/Makefile.in
rename : testing/mochitest/specialpowers/chrome.manifest => testing/specialpowers/chrome.manifest
rename : testing/mochitest/specialpowers/components/SpecialPowersObserver.js => testing/specialpowers/components/SpecialPowersObserver.js
rename : testing/mochitest/MockFilePicker.jsm => testing/specialpowers/content/MockFilePicker.jsm
rename : testing/mochitest/tests/SimpleTest/MozillaLogger.js => testing/specialpowers/content/MozillaLogger.js
rename : testing/mochitest/tests/SimpleTest/SpecialPowersObserverAPI.js => testing/specialpowers/content/SpecialPowersObserverAPI.js
rename : testing/mochitest/specialpowers/content/specialpowers.js => testing/specialpowers/content/specialpowers.js
rename : testing/mochitest/tests/SimpleTest/specialpowersAPI.js => testing/specialpowers/content/specialpowersAPI.js
rename : testing/mochitest/specialpowers/install.rdf => testing/specialpowers/install.rdf
rename : testing/mochitest/specialpowers/jar.mn => testing/specialpowers/jar.mn
2012-09-20 09:06:50 -04:00
Mike Hommey
3fa067e66a Bug 785871 - Make importing config.status easier. r=ted,r=gps 2012-09-20 09:52:12 +02:00
Sid Stamm
e00d2f38e0 bug 768029 - Apply CSP Policy to trusted and certified apps. r=sicking. Parts by sicking, r=mounir. 2012-08-02 12:13:53 -07:00
Gregory Szorc
60b65d277f Bug 783727 - Part 5: Add psutil to virtualenv; r=ted
It is optional so if your machine does not support building Python C
extensions things should still work.
2012-09-19 11:20:19 -07:00
Gregory Szorc
5b9387e79e Bug 783727 - Part 3: Support optional actions when populating virtualenv; r=ted
This is intended to be used for packages with C extensions because we
don't yet require support for the Python SDK to build mozilla-central.
2012-09-19 11:20:13 -07:00
Rafael Ávila de Espíndola
95e925fa46 Bug 787302 - Most stacks are truncated (using minidump_stackwalk on a Mac Tinderbox debug build). r=rail.
Also apply the patch on OS X.
2012-09-18 16:58:03 -04:00
Rafael Ávila de Espíndola
8a7e8c754a Bug 791684 - Rename clang.tar.bz2 to its sha512 after building. r=rail.
--HG--
extra : rebase_source : b61abc1c5292a85d182f56aeaf01b399b7f2f222
2012-09-17 10:33:00 -04:00
Rafael Ávila de Espíndola
834326712b Bug 787302 - Most stacks are truncated (using minidump_stackwalk on a
Mac Tinderbox debug build). r=catlee.
patch clang to always produce debug_frame.

--HG--
extra : rebase_source : 0ca24100e9451b5d4d585fa27c116183fa6c5864
2012-09-17 09:21:17 -04:00
Jesse Ruderman
fe94b3e6fd Bug 789275 - Better error message when trying to process a crash report without symbols. r=wlach. DONTBUILD 2012-09-15 11:33:02 -07:00
Vladimir Vukicevic
219a0810ae b=790041; add mDNS broadcasts to SUTAgent; r=ctalbert 2012-09-14 09:29:51 -04:00
Rafael Ávila de Espíndola
b6d0d4d24d Bug 789941 - Remove stdc++compat.cpp support on OS X. r=benjamin. 2012-09-13 19:17:08 -04:00
Ed Morley
67c07956e3 Merge mozilla-central to mozilla-inbound 2012-09-12 21:58:18 +01:00
Ed Morley
4161cb07c2 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-09-12 21:50:56 +01:00
Rafael Ávila de Espíndola
5101e1a9f4 Bug 788276 - Properly check for broken (deprecated) compilers. r=gps.
Check for old gcc versions.
2012-09-12 14:54:40 -04:00
Rafael Ávila de Espíndola
3984de1de8 Bug 788276 - Properly check for broken (deprecated) compilers. r=gps.
Check for old versions of llvm.
2012-09-12 14:48:16 -04:00
Kartikaya Gupta
e240f0d40d Bug 767449 - Allow robotium tests to put files in places other than /mnt/sdcard. r=jmaher 2012-09-12 07:56:31 -04:00
Rafael Ávila de Espíndola
78cae85108 Bug 787931 - Add better error message. r=gps. 2012-09-11 09:02:20 -04:00
Ehsan Akhgari
86768ddbe3 Bug 790453 - Rename the pref for background updates to app.update.staging.enabled; r=rstrong 2012-09-11 22:13:14 -04:00
Rafael Ávila de Espíndola
6c7b4adc54 Bug 787931 - update the default compiler on OS X because we can't build with gcc 4.2 any longer. r=gps. 2012-09-10 14:52:26 -04:00
Siddharth Agarwal
94d899b9ce Bug 788971 - Pymake chokes when native commands raise exceptions without a "code" attribute. r=ted 2012-09-08 02:54:05 +05:30
William Lachance
6a7b472377 Bug 723107 - Re-add mozdevice to testing/mozbase, remove duplicate files in build/mobile;r=jmaher 2012-09-07 16:00:31 -04:00
William Lachance
972b9527b9 Bug 789458 - Restore watcher service if it comes back with a null intent;r=jmaher, a=test-only
This could happen if the watcher gets killed due to memory pressure on
Android
2012-09-07 12:00:52 -04:00
Joel Maher
6ae7d10c6a Bug 789213 - Delay SUTAgent "ready" until the SDCard is ready. r=wlach 2012-09-07 10:21:23 -04:00
Steve Fink
c26361a1fb Bug 738612 - Add mozconfig "override" files to be included after everything else, for overriding previously set options. r=ted
--HG--
extra : rebase_source : e2062258eb508541bf499a5e4bc7d7e1ead10a00
2012-09-05 12:10:21 -07:00
Steve Fink
0e7c4ec65d Bug 738612 - Include common mozconfigs so (eg) try pushes can modify them easily. r=ted
--HG--
rename : build/macosx/common => build/macosx/mozconfig.common
extra : rebase_source : fd63c04c9624177a75220a5a49f03fd0e8539e26
2012-09-05 12:09:50 -07:00
Mike Hommey
160d5d1f93 Bug 785265 - Explicitely use sh -c instead of letting subprocess.Popen do it. r=ted 2012-09-05 16:42:09 +02:00
Ryan VanderMeulen
aaebaa3af0 Merge the last PGO-green inbound changeset to m-c. 2012-09-04 21:45:09 -04:00
Siddharth Agarwal
87e1570a16 Bug 787658 - Recalculate mtime once the target is built. r=khuey 2012-09-04 21:30:32 -04:00
Siddharth Agarwal
d41314beb9 Bug 787806 - Fix LD for Pymake Win64 builds. pending-r=ted 2012-09-03 03:48:16 +05:30
Siddharth Agarwal
4ae1c79342 Bug 787600 - Pymake: Shell commands in submakes don't honour exported PATH and don't receive exported envvars. r=gps 2012-09-01 06:41:50 +05:30
Siddharth Agarwal
5e71189826 Bug 784910 - Pymake: adjust sys.path so that native commands can load other modules from their own directories. r=ted 2012-09-01 06:40:16 +05:30
Rafael Ávila de Espíndola
b83fcea944 Bug 787568 - Upgrade clang to r161152. r=rail.
Update the build script.
2012-08-31 19:08:53 -04:00
Gregory Szorc
1af03519b1 Bug 758823 - Don't create egg-info directories when populating virtualenv; r=ted
This patch basically bypasses setup.py for pure Python packages. Instead
of producing .egg-info directories in the source tree, it merely
installs .pth files pointing back to the source directory. As a result,
this is less junk in the source tree.

The .hgignore and .gitignore entries for egg-info directories have been
removed because there should no longer be egg-info directories any more.
People should clean up these orphaned directories manually. This can be
accomplished by running:

  $ hg status -u | grep .egg-info | xargs rm -rf
  $ git ls-files -o '*.egg-info*' | xargs rm -rf
2012-09-04 10:45:45 -07:00
William Lachance
4cd7f0c506 Bug 786427 - Agent should quote with ' characters, not just " characters;r=jmaher 2012-08-30 15:05:18 -04:00
William Lachance
1f6729be6c Bug 786425 - Always log debug messages to logcat, even if file logging disable;r=jmaher 2012-08-30 14:51:16 -04:00
William Lachance
a43096768a Bug 763497 - Add option to agent (and code to devicemanager) to allow executing commands as root;r=jmaher 2012-08-30 14:43:17 -04:00
Geoff Brown
a1a70f6577 Bug 787061 - Robocop: dump stack traces on event timeout; r=jmaher 2012-08-30 08:50:16 -06:00
Mike Hommey
543e39518d Bug 785871 - Make config.status importable. r=gps 2012-08-29 08:55:58 +02:00
Mike Hommey
6f9fd5c1fe Bug 785622 - Only include .pp files corresponding to files we do build. r=khuey 2012-08-29 08:55:58 +02:00
Rafael Ávila de Espíndola
98d8937345 Bug 786010 - create manifest as part of the clang build. r=rail. 2012-08-27 16:05:35 -04:00
Rafael Ávila de Espíndola
c9d4c9877d Bug 781302 - Drop support for gcc 4.2. r=ted. 2012-08-27 15:34:31 -04:00
Kartikaya Gupta
3f9c45d923 Bug 783758 - Add a close function on the PaintedSurface class to clean up the opened FileInputStream, and invoke it from tests. r=jmaher 2012-08-27 13:44:58 -04:00
Rafael Ávila de Espíndola
a6d4f95838 Bug 785772 - Don't use -O0 during stage1 on darwin. r=rail.
We only need to build stage1 with -O0 on linux because of a bug in the gcc
4.5 we use.
2012-08-27 10:20:46 -04:00
Mounir Lamouri
514acd02d1 Bug 619236 - Set user_version in generated permissions.sqlite for tests. r=sicking 2012-08-23 11:39:41 -07:00
Mounir Lamouri
2d587555ef Bug 777072 - 6/7 Update the Permission Manager database to save appId/isInBrowserElement. r=sicking 2012-08-23 11:38:26 -07:00
Ryan VanderMeulen
6989c1bf30 Merge m-c to inbound. 2012-08-24 16:18:09 -04:00
Chris Jones
5a380bfddb No bug: Merge backout on a CLOSED TREE r=bustage 2012-08-23 22:33:04 -07:00
Chris Jones
05b904ebae Back out bug 777072, bug 619236, and bug 784878 2012-08-23 22:00:14 -07:00