Commit Graph

76 Commits

Author SHA1 Message Date
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
25f27d0783 Bug 1059609 - Provide enumeration of known log actions in mozlog.structured. r=jgraham 2014-09-02 14:43:18 -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
Chris Manchester
d217075421 Bug 1057056 - Set __doc__ attribute of decorated structured logger methods. r=jgraham 2014-08-25 11:16:50 -04:00
James Graham
61223f7d83 Bug 1057666 - Ensure that only one log message is printed per line, r=chmanchester 2014-08-23 19:15:00 +01:00
Chris Manchester
ebbccbdb5c Bug 1056930 - Release a new mozlog for inclusion of exception stacks in test_end message. DONTBUILD;r=jgraham 2014-08-21 17:49:14 -04:00
James Graham
308ea12c94 Bug 1056587 - Only print line with expected status in tbpl logs when this isn't PASS, r=chmanchester
--HG--
extra : rebase_source : 7a7505b90f156381e5be563dab5c783f45860456
2014-08-21 23:35:25 +01:00
Chris Manchester
6dcbff056e Bug 1055679 - Log stacks and messages separately in moztest's unittest adapter and include stacks in mozlog's test_end.;r=jgraham 2014-08-19 17:22:53 -04:00
Chris Manchester
dbbcf5b458 Bug 1054324 - Bump mozlog version to pick up exception stack logging. r=ahal 2014-08-15 12:00:55 -04: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
Chris Manchester
b0b695d91c Bug 1054114 - Add exception stacks logged in test_status to mach and tbpl formatters.;r=jgraham 2014-08-15 10:55:48 -04:00
James Graham
9fdc3637f8 Bug 1053207 - Count number of passing subtests in mach formatter, r=chmanchester 2014-08-13 18:52:48 +01:00
James Graham
c6e8f5f252 Bug 1050700 - Add support for exc_info to mozlog.structured log actions, r=chmanchester 2014-08-13 18:52:47 +01:00
Ms2ger
8cd956ad44 Bug 1051199 - Bump mozlog to version 2.4; r=jgraham (DONTBUILD) 2014-08-10 09:56:56 +02:00
James Graham
05ef68b31b Bug 1050724 - Correct list of possible subtest statuses, r=Ms2ger 2014-08-08 11:42:21 +01: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
4b9d5a3895 Bug 1048288 - Log test_end messages instead of errors to prevent useful messages about assertion counts from being buffered.;r=ahal 2014-08-06 17:14:11 -04:00
Chris Manchester
7962d26866 Bug 1049667 - Bump mozlog to version 2.3;r=jgraham 2014-08-06 13:45:04 -04: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
Ms2ger
abfd78c161 Bug 1048859 - Bump version of mozlog to 2.2.1; r=jgraham
--HG--
extra : rebase_source : ee125df12d629b84e9989b5e45071e5b748f98b8
2014-08-05 14:07:11 +02:00
Chris Manchester
f5810405cb Bug 1048423 - Don't retain a default for the 'expected' field of objects logged with log_raw.;r=jgraham 2014-08-04 20:29:12 -04:00
James Graham
e3552220aa Bug 1048547 - Improve mozlog.structured argument handling, r=chmanchester 2014-08-05 09:56:05 +01:00
Ms2ger
f7fce3f803 Bug 1048262 - Bump version of mozlog to 2.2; r=jgraham 2014-08-04 16:23:37 +02: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
4dbda546cc Bug 1026181 - Make mach terminal formatter work outside mach context, r=chmanchester 2014-07-31 14:54:05 +01:00
Ms2ger
2a569678d6 Bug 1044973 - Avoid storing None in the |unexpected| array in machformatter.py; r=ahal
In the case of an unexpected pass, there will be no |message| field in the
data, which will lead to a None message in the tuple. This will trip up
the "".join() call in test_end.
2014-07-28 17:51:28 +02: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
James Graham
1af097e889 Bug 1042557 - Update version number of mozlog, r=ahal 2014-07-23 15:58:45 +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
Arnav Sharma
7a619f244c Bug 1037521 - Add information about unexpected results to mach output. 2014-07-22 20:19:00 +01:00
James Graham
3481e04468 Bug 1041546 - Ensure that structured log message fields are always strings, r=chmanchester 2014-07-22 19:01:00 +01:00
Ahmed Kachkach
4b03d2c025 Bug 886570 - Initial integration of structured logs in mochitest; r=ahal,Ms2ger 2014-07-17 09:02:00 +02:00
Armen Zambrano Gasparnian
d268839202 Bug 1026710 - Make DeviceManagerADB use mozprocess to allow logging. r=wlach
Up until now, mozdevice has been using subprocess. The switch gives us the
ability to log adb commands and its output. This will be mainly used
for the Firefox OS cert suite.
2014-07-15 08:59:48 -04:00
Carsten "Tomcat" Book
ce57787693 Backed out changeset cf85693280c7 (bug 886570) frequent mochitest-3 errors on windows 2014-07-11 14:15:29 +02:00
Ahmed Kachkach
50db9012f6 Bug 886570 - Initial integration of structured logs in mochitest. r=ahal,Ms2ger 2014-07-10 13:33:00 +02: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
1c97de1410 Bug 1035006 - Fix pyflakes warnings in mozbase.;r=wlach 2014-07-07 14:51:34 -04:00
Chris Manchester
34529c249f Bug 1030845 - Modify mozlog.structured's tbplformatter to comply with tbpl. r=edmorley,jgraham 2014-07-01 10:42:16 -04:00
Wes Kocher
7d39d62d88 Backed out changeset 53b54cd44410 (bug 1026181) for lots of bustage causing a CLOSED TREE 2014-06-20 12:33:36 -07:00
James Graham
78349a69ed Bug 1026181 - Make mach terminal formatter work outside mach context, r=wlach
--HG--
extra : rebase_source : ac66edb9f80fc5fbebebb953ca15861a91095d4b
2014-06-20 19:41:04 +01:00
Malini Das
d39e56d762 Bug 1028239 - release updated mozlog client, r=wlach 2014-06-20 13:15:25 -04:00
Ted Mielczarek
1a344c3441 Bug 1025181 - [mozlog] Fix structured logging HTML formatter to actually produce results. r=jgraham 2014-06-16 11:52:52 -04:00
James Graham
104b8ea183 Bug 1016916 - Add a 'structlog format' command for formatting logfiles, r=wlach
This replaces the __main__ sections in the formatters
2014-06-16 12:53:48 +01: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
William Lachance
c6f074b1e3 Bug 1021943 - Add some additional features to mozlog.structured to help with informational level logging;r=jgraham 2014-06-12 11:28:19 -04:00
Chris Manchester
8acb189dde Bug 1021117 - Add legacy tbpl formatter to mozlog.structured.formatters. r=jgraham 2014-06-06 11:36:28 -04:00
James Graham
ecf1a3c65c Bug 1020470 - Package mozlog.structured html formatter support files, r=:ted.mielczarek 2014-06-04 19:30:07 +01:00
Chris Manchester
c1e65a5f55 Bug 1019883 - Don't populate expected field in log messages for skipped tests. r=jgraham 2014-06-03 16:08:53 -04:00
James Graham
e7a04fee40 Bug 1018277 - Fix time output in mozlog.structured.formatters.MachFormatter, r=wlach
Use the same units for time everywhere.
2014-05-30 20:59:33 +01:00
James Graham
250d54d299 Bug 1015287 - Add complete example to mozlog.structured documentation, r=wlach 2014-05-30 17:10:26 +01:00