Closed Bug 1125187 Opened 10 years ago Closed 10 years ago

Uploaded Marionette raw logs have broken newline handling

Categories

(Remote Protocol :: Marionette, defect)

defect
Not set
critical

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: RyanVM, Unassigned)

Details

That's a raw JSON log, so actual newlines mean something to machine consumers, and if large amounts of text are stuffed into message objects, readability will inevitably decline. In most cases the TBPL-style log has about as much information critical to debugging failures as the raw mozlog JSON log, but for gaia-ui tests information (such as page sources, where those newlines come in, I think), is added so that the raw JSON log can be used to drive a replacement for the html and xunit reports usually generated by gaia tests. For all marionette based tests, things like the browser stdout end up in gecko.log or logcat. We have a goal this quarter of building a ui in treeherder driven by the raw JSON log, that is tracked by bug 1113873.
Yeah, this is by-design so I propose Invalid. If you want to read the log there are already tools that will allow you to convert a specific log file to a more readable format.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.