Commit Graph

41 Commits

Author SHA1 Message Date
Geoff Brown
3bab85a102 Bug 1311528 - Do not report java-exception on "FATAL EXCEPTION"; r=jmaher 2016-10-25 08:53:31 -06:00
Francesco Pischedda
f45ed99748 Bug 1280573 - Add testing/mozbase to flake8 linter: r=ahal
added testing/mozbase to tools/lint/flake8.lint
fixed a first batch of PEP8 errors/warnings

at first the commad autopep8 -i --max-line-length 99 -r -j 8 .
has been used to fix simpler problems, run from testing/mozbase

some of the issues can not easily fixed :
- undefined 'names' in code for example isLinux - isLinux and isBsd "fixed" with # noqa
- undefined 'message' resolved with return fmt.format(...
- undefined 'structured' resolved replacing those with mozlog
- long comments - some remaining - addressed with # noqa
- package level import everything - addressed with # flake8: noqa

restored testing/mozbase/mozdevice/mozdevice/Zeroconf.py
fixed issues reported on mozreview
fixed ')' in testing/mozbase/mozprocess/mozprocess/qijo.py imports
finally fixed multiline string at testing/mozbase/manifestparser/tests/test_manifestparser.py:114
^^^ and again, but now with ./mach python-test --path-only testing/mozbase/manifestparser/tests/test_manifestparser.py passing
fixed testing/mozbase/manifestparser/tests/test_convert_directory.py assert

fixed this error:
10:15:21     INFO -      return lambda line: stack_fixer_module.fixSymbols(line)
10:15:21     INFO -  TypeError: fixSymbols() takes exactly 2 arguments (1 given)

fixed two spaces lint error even of #  noqa comments
restored assignement to lambda with #  noqa to silence the lint error
global noqa for testing/mozbase/manifestparser/tests/test_filters.py
stupid is/is not error...

MozReview-Commit-ID: 1FpJF54GqIi

--HG--
extra : rebase_source : 3cf0277fb36a296e3506aeacc2ff05e1b03f9eac
2016-09-30 16:08:37 +02:00
Geoff Brown
dd65ba7f12 Bug 1274395 - Delete pending crash reports before running tests; r=jmaher 2016-05-25 14:48:42 -06:00
Henrik Skupin
8f68142bb9 Bug 1251196 - Bump mozcrash to 0.17. r=ted
MozReview-Commit-ID: 98iyU2DXdYN

--HG--
extra : rebase_source : ad4b75f2903dd1c9b5d78306f57d1740a665df92
2016-03-03 21:41:27 +01:00
Henrik Skupin
a731eb848d Bug 1251196 - [mozcrash] If no symbols path is specified let stackwalk download the symbols. r=ted
MozReview-Commit-ID: 89bOoLwHMgK

--HG--
extra : rebase_source : 2a48d9c675cb7453bef5c14975f900286e2c4b28
2016-02-26 23:34:56 +01:00
Carsten "Tomcat" Book
6244cfb10e Backed out changeset 200da85932e9 (bug 1230862) for valgrind perma failures 2016-02-10 11:04:50 +01:00
Julien Pagès
cb348f4346 Bug 1230862 - Remove mozhttpd. r=wlach
--HG--
extra : commitid : HRDp24nhYo8
extra : rebase_source : 76443fa9938e488fcd06af7ba0676d491c9da36e
2016-02-09 03:26:43 +01:00
Chris Manchester
4c18bc2045 Bug 1194935 - Add a C++ implementation of kill_and_get_minidump as part of the build to accommodate dumping 64 bit Firefox from 32 bit python. r=ted
--HG--
extra : commitid : K6BGWSIH6Nk
2015-08-18 17:04:45 -07:00
Armen Zambrano Gasparnian
9cb894a3c7 Bug 1234353 - Notify the user if the stackwalk binary is not executable. r=chmanchester
--HG--
extra : commitid : Puf7a5bGxK
extra : rebase_source : 7d8f2bcf5d12175c695c3f7d63532de6be47cb9a
2015-12-21 16:50:49 -05:00
Steve Fink
29c5b5d917 Bug 837969 - Make mozcrash.py runnable, r=ted
--HG--
extra : commitid : FB26Q0s1SXJ
extra : rebase_source : ffbccf23816976bcae9d810828eeba50f0ace293
2015-06-16 13:14:04 -07:00
Julien Pagès
e349eb87dd Bug 1203040 - [mozcrash] bump version to 0.16. r=ahal
--HG--
extra : rebase_source : eb6f5df720deeceb54a1fa7ad55ffc312ebee28d
2015-09-09 02:15:00 +02:00
Chris Manchester
82d2096a68 Bug 890026 - Fixup to import signal in mozcrash. r=ahal
--HG--
extra : commitid : JRt9d8Qku2P
2015-07-17 12:32:53 -07:00
Andrew Halberstadt
4f232ef5f5 Bug 1014760 - Version bump mozbase modules that depend on mozlog 3.0, r=me
--HG--
extra : commitid : L7a2lDztYH4
extra : rebase_source : 6178d707787cfa11a806ea8369789092b22a5d4f
2015-07-17 10:06:59 -04:00
Andrew Halberstadt
2be5ff0c10 Bug 1014760 - Move mozlog.structured to mozlog; Move mozlog to mozlog.unstructured, r=jgraham
Mozlog currently has two implementations. The top level package is based on the logging module and is
deprecated. The newer structured logging implementation lives in mozlog.structured. This patch swaps the
two, so the top level mozlog module contains the recommended implementation, while mozlog.unstructured
contains the old one.

--HG--
rename : testing/mozbase/docs/mozlog_structured.rst => testing/mozbase/docs/mozlog.rst
rename : testing/mozbase/mozlog/mozlog/structured/commandline.py => testing/mozbase/mozlog/mozlog/commandline.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/__init__.py => testing/mozbase/mozlog/mozlog/formatters/__init__.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/base.py => testing/mozbase/mozlog/mozlog/formatters/base.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/errorsummary.py => testing/mozbase/mozlog/mozlog/formatters/errorsummary.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/html/__init__.py => testing/mozbase/mozlog/mozlog/formatters/html/__init__.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/html/html.py => testing/mozbase/mozlog/mozlog/formatters/html/html.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/html/main.js => testing/mozbase/mozlog/mozlog/formatters/html/main.js
rename : testing/mozbase/mozlog/mozlog/structured/formatters/html/style.css => testing/mozbase/mozlog/mozlog/formatters/html/style.css
rename : testing/mozbase/mozlog/mozlog/structured/formatters/html/xmlgen.py => testing/mozbase/mozlog/mozlog/formatters/html/xmlgen.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/machformatter.py => testing/mozbase/mozlog/mozlog/formatters/machformatter.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/tbplformatter.py => testing/mozbase/mozlog/mozlog/formatters/tbplformatter.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/unittest.py => testing/mozbase/mozlog/mozlog/formatters/unittest.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/xunit.py => testing/mozbase/mozlog/mozlog/formatters/xunit.py
rename : testing/mozbase/mozlog/mozlog/structured/handlers/__init__.py => testing/mozbase/mozlog/mozlog/handlers/__init__.py
rename : testing/mozbase/mozlog/mozlog/structured/handlers/base.py => testing/mozbase/mozlog/mozlog/handlers/base.py
rename : testing/mozbase/mozlog/mozlog/structured/handlers/bufferhandler.py => testing/mozbase/mozlog/mozlog/handlers/bufferhandler.py
rename : testing/mozbase/mozlog/mozlog/structured/handlers/statushandler.py => testing/mozbase/mozlog/mozlog/handlers/statushandler.py
rename : testing/mozbase/mozlog/mozlog/structured/logtypes.py => testing/mozbase/mozlog/mozlog/logtypes.py
rename : testing/mozbase/mozlog/mozlog/structured/reader.py => testing/mozbase/mozlog/mozlog/reader.py
rename : testing/mozbase/mozlog/mozlog/structured/scripts/__init__.py => testing/mozbase/mozlog/mozlog/scripts/__init__.py
rename : testing/mozbase/mozlog/mozlog/structured/scripts/format.py => testing/mozbase/mozlog/mozlog/scripts/format.py
rename : testing/mozbase/mozlog/mozlog/structured/scripts/logmerge.py => testing/mozbase/mozlog/mozlog/scripts/logmerge.py
rename : testing/mozbase/mozlog/mozlog/structured/scripts/unstable.py => testing/mozbase/mozlog/mozlog/scripts/unstable.py
rename : testing/mozbase/mozlog/mozlog/structured/stdadapter.py => testing/mozbase/mozlog/mozlog/stdadapter.py
rename : testing/mozbase/mozlog/mozlog/structured/structuredlog.py => testing/mozbase/mozlog/mozlog/structuredlog.py
rename : testing/mozbase/mozlog/mozlog/logger.py => testing/mozbase/mozlog/mozlog/unstructured/logger.py
rename : testing/mozbase/mozlog/mozlog/loggingmixin.py => testing/mozbase/mozlog/mozlog/unstructured/loggingmixin.py
rename : testing/mozbase/mozlog/mozlog/loglistener.py => testing/mozbase/mozlog/mozlog/unstructured/loglistener.py
extra : commitid : 3JWk75JY4N0
extra : rebase_source : 229bad7a7bf8ead013ce62d128c0896a75cad393
2015-07-16 10:38:40 -04:00
Ted Mielczarek
762d7f01fe bug 890026 - Add mozcrash.kill_and_get_minidump r=jimm
--HG--
extra : commitid : AiwIqkz3KIe
2013-07-31 10:41:33 -04:00
Geoff Brown
8f916d8709 Bug 1160351 - Improve newline handling in getLogcat; r=bc 2015-05-04 10:32:44 -06:00
Geoff Brown
65d6cce4d3 Bug 1093328 - Limit crashreports to first 10 minidumps; r=ted 2014-11-04 08:17:19 -07:00
Dave Hunt
3ce11fb12b Bug 1082470 - [mozcrash] Bump version to 0.14. r=ahalberstadt 2014-10-14 02:47:00 +02:00
Chris Manchester
e2b843d329 Bug 1068429 - Provide an indication whether a crash was logged by log_crashes.r=ted 2014-09-23 20:33:11 -04:00
James Graham
678f4e386e Bug 1055522 - Bump mozcrash version number for structured logging changes, r=ted.mielczarek 2014-08-19 16:17:58 +01:00
James Graham
38feb0f461 Bug 1055521 - Expose mozcrash.log_crashes for structured logging of crashes, r=ted.mielczarek 2014-08-19 16:15:19 +01:00
James Graham
48af23d3d1 Bug 1023371 - Refactor mozcrash to seperate out the IO from the stack inspection, r=ted.mielczarek
This makes it compatible with structured logging.
2014-08-15 23:19:34 +01:00
Dan Minor
d9815011e3 Bug 978066 - [mozcrash] Mozcrash check_for_java_exception function should take quiet parameter; r=wlach 2014-02-28 09:18:25 -05:00
Henrik Skupin
30621fe275 Bug 973937 - [mozcrash] check_for_crashes() doesn't save .extra file to dump_save_path. r=ted
--HG--
extra : rebase_source : 2173eb218be74052b176ba5d02f375f512e4296f
2014-02-20 15:06:38 +01:00
Andrew Halberstadt
2162ac0779 Bug 949600 - Sync mozbase to m-c one last time, r=wlach 2014-02-19 16:42:01 -05:00
Wes Kocher
572d78adfd Backed out changeset a7f8c25c07ac (bug 949600) for breaking clobber due to new update_permissions code, regardless of whether this is a CLOSED TREE. 2014-02-18 16:12:34 -08:00
Andrew Halberstadt
354168bb48 Bug 949600 - Sync mozbase to m-c one last time, r=wlach 2014-02-18 09:25:58 -05:00
Jonathan Griffin
55412b9c2e Bug 917750 - mirror several mozbase packages, r=ahal 2013-10-22 15:42:05 -07:00
Ed Morley
4e14d4843c Bug 926408 - Import mozcrash 0.9 from upstream
--HG--
extra : rebase_source : ca4b5152e0a15116dea5fd37ccb231fbb542079d
2013-10-14 07:24:00 +01:00
Andrew Halberstadt
bfcbe4015d Bug 895940 - Mirror mozbase to m-c, r=jhammel 2013-07-25 16:27:53 -04:00
Jonathan Griffin
044c968435 Bug 885591 - Add a silent argument to check_for_crashes. r=jhammel 2013-06-20 17:04:21 -07:00
Andrew Halberstadt
4f837919f3 Bug 876761 - Mirror moznetwork and mozcrash to m-c, r=jhammel 2013-05-30 10:13:29 -04:00
Jeff Hammel
c23752e4c1 Bug 838374 - release mozprofile, mozprocess, mozdevice (and other?) and mirror to m-c;r=ahal 2013-03-21 21:06:28 -07:00
Phil Ringnalda
91489a9327 Back out 27fb990d7fc7 (bug 838374) for Android bustage
CLOSED TREE
2013-03-21 22:58:41 -07:00
Jeff Hammel
00016781fd Bug 838374 - release mozprofile, mozprocess, mozdevice (and other?) and mirror to m-c;r=ahal 2013-03-21 21:06:28 -07:00
Ryan VanderMeulen
9dc32220b2 Backed out changeset 7d2ea731f5a5 (bug 838374) for B2G test bustage on a CLOSED TREE. 2013-03-14 17:45:49 -04:00
Jeff Hammel
27d9bb71ca Bug 838374 - release mozprofile, mozprocess, mozdevice (and other?) and mirror to m-c;r=ahal 2013-03-14 13:06:14 -07:00
Jeff Hammel
253f8bab17 Bug 825957 - mirror mozcrash 0.3 from github to m-c;r=jmaher
--HG--
extra : rebase_source : 66105fc53438e7cd3e4f1b2dbaacbaa270e02f34
2013-01-07 16:41:35 -08:00
Jonathan Griffin
d8e0dcfd02 Bug 788842 - Mirror mozbase to m-c, r=jhammel 2012-09-07 17:58:39 -07:00
Jonathan Griffin
a83f8b8d14 backout 69243e829931 due to OSX 10.7 bustage 2012-09-07 17:05:26 -07:00
Jonathan Griffin
0435762ffe Bug 788842 - Mirror mozbase to m-c, r=jhammel 2012-09-07 15:39:17 -07:00