Commit Graph

80 Commits

Author SHA1 Message Date
Dave Hunt
e0f0b34bea Bug 1065408 - Restore test result colours in the HTML formatter log. r=jgraham 2014-09-10 08:07:00 +02:00
Chris Manchester
d145fb2397 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
3a18f5f79a Bug 1063528 - Omit spurious newline for unexpected pass in the tbplformatter.;r=Ms2ger 2014-09-05 11:37:57 -04:00
Dave Hunt
e5872bafc2 Bug 1064976 - HTML structured log formatter raises UnboundLocalError. r=wlachance 2014-09-10 06:15:00 +02:00
Chris Manchester
d731e43bb7 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
1130fef2cb Bug 1059609 - Provide enumeration of known log actions in mozlog.structured. r=jgraham 2014-09-02 14:43:18 -04:00
Chris Manchester
4447ac168b 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
32b691dd60 Bug 1057056 - Set __doc__ attribute of decorated structured logger methods. r=jgraham 2014-08-25 11:16:50 -04:00
James Graham
06d03cc402 Bug 1057666 - Ensure that only one log message is printed per line, r=chmanchester 2014-08-23 19:15:00 +01:00
Chris Manchester
9b67438903 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
d9f1bf3b1c 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
0f906d024e 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
09e8e31c72 Bug 1054324 - Bump mozlog version to pick up exception stack logging. r=ahal 2014-08-15 12:00:55 -04:00
James Graham
f8790c7e21 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
9ce1406402 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
313b119011 Bug 1053207 - Count number of passing subtests in mach formatter, r=chmanchester 2014-08-13 18:52:48 +01:00
James Graham
fb28ab8ae2 Bug 1050700 - Add support for exc_info to mozlog.structured log actions, r=chmanchester 2014-08-13 18:52:47 +01:00
Ms2ger
a0992ceb80 Bug 1051199 - Bump mozlog to version 2.4; r=jgraham (DONTBUILD) 2014-08-10 09:56:56 +02:00
James Graham
e45c4dff9a Bug 1050724 - Correct list of possible subtest statuses, r=Ms2ger 2014-08-08 11:42:21 +01:00
James Graham
50f9f9949d 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
c3199ff8eb 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
0fbc2d6321 Bug 1049667 - Bump mozlog to version 2.3;r=jgraham 2014-08-06 13:45:04 -04:00
Chris Manchester
1118dd9934 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
440b819fa4 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
1fea41be7d 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
24210e1f69 Bug 1048547 - Improve mozlog.structured argument handling, r=chmanchester 2014-08-05 09:56:05 +01:00
Ms2ger
28581a4e3a Bug 1048262 - Bump version of mozlog to 2.2; r=jgraham 2014-08-04 16:23:37 +02:00
James Graham
274e8fdffc Bug 1042921 - Explicitly type-convert all input to mozlog.structured.;r=ahal 2014-08-04 10:29:58 +01:00
James Graham
0bbaf2b92f Bug 1026181 - Make mach terminal formatter work outside mach context, r=chmanchester 2014-07-31 14:54:05 +01:00
Ms2ger
fba676720e 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
7fda7367e0 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
31f97c8221 Bug 1042557 - Update version number of mozlog, r=ahal 2014-07-23 15:58:45 +01:00
Chris Manchester
68bdaa0e18 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
fd1ae0c345 Bug 1037521 - Add information about unexpected results to mach output. 2014-07-22 20:19:00 +01:00
James Graham
75a44b1360 Bug 1041546 - Ensure that structured log message fields are always strings, r=chmanchester 2014-07-22 19:01:00 +01:00
Ahmed Kachkach
68c23f6dff Bug 886570 - Initial integration of structured logs in mochitest; r=ahal,Ms2ger 2014-07-17 09:02:00 +02:00
Armen Zambrano Gasparnian
dca074ab69 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
f0569c8ad2 Backed out changeset cf85693280c7 (bug 886570) frequent mochitest-3 errors on windows 2014-07-11 14:15:29 +02:00
Ahmed Kachkach
c4872d76ea Bug 886570 - Initial integration of structured logs in mochitest. r=ahal,Ms2ger 2014-07-10 13:33:00 +02:00
Chris Manchester
2f3284b56d 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
6ba14fdd35 Bug 1035006 - Fix pyflakes warnings in mozbase.;r=wlach 2014-07-07 14:51:34 -04:00
Chris Manchester
5b352e1995 Bug 1030845 - Modify mozlog.structured's tbplformatter to comply with tbpl. r=edmorley,jgraham 2014-07-01 10:42:16 -04:00
Wes Kocher
32ccf13781 Backed out changeset 53b54cd44410 (bug 1026181) for lots of bustage causing a CLOSED TREE 2014-06-20 12:33:36 -07:00
James Graham
ae9da8bce3 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
9b8a472bd9 Bug 1028239 - release updated mozlog client, r=wlach 2014-06-20 13:15:25 -04:00
Ted Mielczarek
e97e571d19 Bug 1025181 - [mozlog] Fix structured logging HTML formatter to actually produce results. r=jgraham 2014-06-16 11:52:52 -04:00
James Graham
7f1c67ff81 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
2b66f8beff 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
e28a682e56 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
7069afa3f7 Bug 1021117 - Add legacy tbpl formatter to mozlog.structured.formatters. r=jgraham 2014-06-06 11:36:28 -04:00