Closed
Bug 1011434
Opened 11 years ago
Closed 11 years ago
[mozlog.structured] Add a framework for structured logging command line scripts and a script for printing unstable tests
Categories
(Testing :: Mozbase, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla32
People
(Reporter: jgraham, Assigned: jgraham)
Details
Attachments
(1 file, 1 obsolete file)
After doing a run with multiple repetitions, it is useful to see which tests gave different results across runs. This adds a script to do that and a framework for adding more command line scripts to mozlog.structured.
| Assignee | ||
Comment 1•11 years ago
|
||
Attachment #8423774 -
Flags: review?(ahalberstadt)
Comment 2•11 years ago
|
||
Comment on attachment 8423774 [details] [diff] [review]
Add a framework for structured logging command line scripts and a script for printing unstable tests.
Review of attachment 8423774 [details] [diff] [review]:
-----------------------------------------------------------------
I don't really like the pattern of storing arbitrary console scripts in mozlog since mozlog itself is not a CLI application. It seems like the CLI application that uses mozlog should be responsible for creating whatever scripts are needed. If this script is super common and would be useful in the general case, maybe it could live in moztest? Or at least create a new submodule for them under mozlog.structured so they are hidden away?
Attachment #8423774 -
Flags: review?(ahalberstadt) → review-
Comment 3•11 years ago
|
||
James, I think you may have missed my comment in irc, but I would be ok with e.g:
"from mozlog.structured.scripts import unstable" (possibly s/scripts/tools ?)
I think my biggest complaint about the current patch is just that unstable.py is a confusing name, and it's not clear that it's a utility script.
| Assignee | ||
Comment 4•11 years ago
|
||
Attachment #8423774 -
Attachment is obsolete: true
Attachment #8426276 -
Flags: review?(ahalberstadt)
Comment 5•11 years ago
|
||
Comment on attachment 8426276 [details] [diff] [review]
Add a framework for structured logging command line scripts and a script for printing unstable tests.
Review of attachment 8426276 [details] [diff] [review]:
-----------------------------------------------------------------
Thanks!
Attachment #8426276 -
Flags: review?(ahalberstadt) → review+
Comment 6•11 years ago
|
||
Assignee: nobody → james
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla32
You need to log in
before you can comment on or make changes to this bug.
Description
•