Open Bug 916271 Opened 8 years ago Updated 7 years ago
Implement a library for common operations required for processing structured messages from another source
There are a number of common operations that are required of python consumers of structured messages originating from a process running tests, among them are: Determining whether the output is a structured message known to interpretable by the harness or arbitrary process output. Parsing the message into an object and inspecting the fields to determine whether a test failure or other significant event has occurred in the course of the test run. Formatting the parsed message for a human consumer. Reporting the message to another consumer, mach or another consumer. Parts of this are subsumed by the output parser I'm working on for bug 907270, but there may be a simpler way to implement these operations for common cases.
Note that but 907270 is defunct, and mozlog.structured is probably the best context for this. This or something like it would be handy for bug 886570, although I absolutely don't want to block if that's close to landing.
7 years ago
Summary: Moztest should provide a library for common operations required for processing structured messages from another source → Implement a library for common operations required for processing structured messages from another source
You need to log in before you can comment on or make changes to this bug.