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

31 Коммитов

Автор SHA1 Сообщение Дата
Julien Pagès 78ef1c279b Bug 1186551 - [mozlog] add structured action process_start/process_exit. r=jgraham
--HG--
extra : transplant_source : %23%B9%0D%23%93Kf%8F%3F%1A%F5%8DP%97%AA%81%8D%1C%8D%7E
2015-07-22 21:00:25 +02: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
Julien Pagès 2756b8c420 Bug 1066643 - [mozlog] Allow users of mozlog's command line options to exclude inappropriate log types. r=jgraham 2015-02-24 14:01:00 -05:00
Andrew Halberstadt bc64a1699e Bug 1129495 - [mozlog] Add optional 'path' attribute to test_start, r=jgraham
--HG--
extra : rebase_source : d26387e9674a97c4571d29ee80e0e00609ed2a72
2015-02-10 17:11:35 -05:00
Chris Manchester 11a1ff5261 Bug 1055765 - Implement log buffering as a handler in mozlog.;r=jgraham 2014-12-12 12:08:31 -05:00
Julien Pagès e93266931a Bug 1065390 - [mozlog] various minor improvements of XUnit structured formatter; r=jgraham 2014-10-20 14:35:00 +02:00
James Graham 9526da9ec9 Bug 1098404 - Implement per-component filters for mozlog, r=chmanchester
This allows individual component loggers to e.g. discard all messages below a
set level, or rewrite messages from one level to another.

--HG--
extra : rebase_source : 9b37981368edb099ac555a2dacfafd486f8fcd2d
extra : histedit_source : 144d17f582944703b07529e31bf13b845d5f9695%2C706e2b7db06a1217d0e956614f0232c153a6a3d0
2014-11-21 11:43:54 +00:00
Chris Manchester a0be7e74a4 Bug 1066785 - Log a summary of expected and unexpected statuses in the mozlog StatusHandler summary.;r=jgraham 2014-10-17 11:59:02 -04:00
Chris Manchester 278a8890a3 Bug 1078869 - Structured logging for mozbase unit tests. r=ahal 2014-10-06 20:20:38 -04:00
Chris Manchester afc544aa33 Bug 1068732 - Add action counts to mozlog status handler to account for crashes. r=jgraham 2014-09-22 14:37:10 -04:00
Chris Manchester 80f2eb2c37 Bug 1063535 - Provide a mozlog handler to report overall status of a test run for the benefit of mozharness and others. r=jgraham 2014-09-12 15:00:39 -04:00
Chris Manchester 907cf18b8d Bug 1063528 - Omit spurious newline for unexpected pass in the tbplformatter.;r=Ms2ger 2014-09-05 11:37:57 -04:00
Chris Manchester 4efbf9265e Bug 1060366 - Log a message about the expected status when an unexpected status is encountered and no message is provided. r=jgraham 2014-09-03 10:03:29 -04:00
Chris Manchester f54fd4e5b1 Bug 1059453 - Treat either str or unicode as a file in mozlog's commandline.py. r=jgraham 2014-08-28 09:42:02 -04:00
James Graham 89a9b41c8a Bug 1046242 - Provide a run summary in the structuredlog mach formatter, r=chmanchester
--HG--
extra : rebase_source : dc0aaab5252068db22ecb1a1d32b60743c80365d
2014-08-07 22:32:43 +01:00
Chris Manchester d8e11b813f Bug 1044751 - Add command line options for configuring log level of formatters in mozlog.structured.;r=jgraham 2014-08-05 22:54:12 -04:00
James Graham e3552220aa Bug 1048547 - Improve mozlog.structured argument handling, r=chmanchester 2014-08-05 09:56:05 +01:00
James Graham 0da7281b20 Bug 1042921 - Explicitly type-convert all input to mozlog.structured.;r=ahal 2014-08-04 10:29:58 +01:00
James Graham f84e1a5994 Bug 1043314 - Enforce the invariant that we have suite_start before suite_end or test_start in mozlog, r=chmanchester 2014-07-25 13:42:56 +01:00
Chris Manchester 0cfccb5e79 Bug 1036427 - Warn in the structured logger for ending a test not in progress.;r=jgraham
* * *
Bug 1036565 - Prevent the tbplformatter from throwing when multiple test_end messages are issued.;r=jgraham
2014-07-22 18:51:32 -04:00
Chris Manchester a5d8f66b8a Bug 1036392 - Add a parameter to the structured log api for stacks in test_status and test_end.;r=jgraham 2014-07-10 09:21:22 -04:00
Chris Manchester 45f5ce74f1 Bug 1021931 - Add a fallback in mozlog.structured.commandline for users of optparse. r=jgraham 2014-06-12 13:53:23 -04:00
James Graham 9d05da6229 Bug 1011432 - Move structured log stdlogging adapter to its own module, r=ahal
The previous design did not work well with multiprocessing on
Windows since it didn't pickle correctly
2014-05-21 16:36:38 +01:00
Julien Pagès 918631c8ca Bug 1003412 - Fix Mozbase unit test mozlog/tests/test_structured.py on windows. r=dminor 2014-05-16 05:46:00 -04:00
James Graham 7a442850ba Bug 1002267 - Stop trying to compare times in the mozlog unit tests, r=wlach. 2014-04-28 10:27:00 +02:00
Ted Mielczarek b5c05a42f1 bug 985612 - fix mozlog.structured.commandline.setup_logging to handle argparse Namespace objects. r=jgraham 2014-03-19 15:27:30 -04:00
James Graham fd7d29db1c Bug 985606 - Improve API for reading structured logs, r=ahal 2014-04-02 14:32:41 +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
Andrew Halberstadt bfcbe4015d Bug 895940 - Mirror mozbase to m-c, r=jhammel 2013-07-25 16:27:53 -04:00