Closed Bug 938745 Opened 11 years ago Closed 10 years ago

Upload raw structured xpcshell logs to blobber

Categories

(Testing :: XPCShell Harness, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla36

People

(Reporter: ahal, Assigned: chmanchester)

References

(Blocks 1 open bug)

Details

Attachments

(1 file, 2 obsolete files)

Right now the xpcshell harness supports structured logging, but the only thing we do with it is convert it back into unstructured format. I think blobber is finished now, so we should at least have the slaves upload the unstructured versions there for mass consumption.

We should also add links to it in the normal logs and tbpl ui for convenience.
From irc:
<ahal> catlee-away: is blobber ready for mass use?
<ahal> and is there documentation somewhere on how to use it?
<catlee-away> ahal: write files into $MOZ_UPLOAD_DIR if it exists
<catlee-away> done
<ahal> catlee-away: nice.. how do I get a url for it?
<catlee-away> all the files are uploaded at the end, and urls for each file printed in the log for now
Depends on: 749421
A alternative and/or supplement is to write a concise machine readable file (probably JSON) of the high-level test results (e.g. list of test files that ran and their result). That's probably more manageable than the low-level structured log "stream." Once that's in place, TBPL and other downstream consumers can start using that file and the text log becomes irrelevant to machines and we can focus on tailoring stdout for humans.
I don't really care whether the test result processing happens in the xpcshell harness pre-upload or by consumers post upload, as long as we also upload the raw logs and the processing logic lives in an easily accessible library (I'd vote for mozresults :p).
A patch to do this when the time comes.
Assignee: nobody → cmanchester
Status: NEW → ASSIGNED
Comment on attachment 8488840 [details] [diff] [review]
Add command line args to in-tree config to upload raw logs to blobber.

This is bitrotted. I'll upload a new patch when I'm reasonably convinced bug 1033126 isn't going to bounce.
Attachment #8488840 - Attachment is obsolete: true
/r/139 - Bug 938745 - Add command line args to in-tree config to upload raw logs to blobber.;r=ahal

Pull down this commit:

hg pull review -r 95c9cf10a3152257be8d3725d09b381238440bf6
/r/139 - Bug 938745 - Add command line args to in-tree config to upload raw logs to blobber.;r=ahal

Pull down this commit:

hg pull review -r 95c9cf10a3152257be8d3725d09b381238440bf6
Attachment #8515280 - Flags: review?(ahalberstadt)
/r/139 - Bug 938745 - Add command line args to in-tree config to upload raw logs to blobber.;r=ahal

Pull down this commit:

hg pull review -r 95c9cf10a3152257be8d3725d09b381238440bf6
Attachment #8515280 - Flags: review?(ahalberstadt) → review+
https://hg.mozilla.org/mozilla-central/rev/8b9fa04a648c
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla36
Attachment #8515280 - Attachment is obsolete: true
Attachment #8618055 - Flags: review+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: