Closed
Bug 794901
Opened 13 years ago
Closed 13 years ago
Add support for the new Talos TinderboxPrint json results format
Categories
(Tree Management Graveyard :: TBPL, defect)
Tree Management Graveyard
TBPL
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: emorley, Assigned: emorley)
References
Details
Attachments
(2 files)
|
4.17 KB,
patch
|
k0scist
:
review+
|
Details | Diff | Splinter Review |
|
28.39 KB,
image/jpeg
|
Details |
Current Talos output:
{
TinderboxPrint:<a href = "http://hg.mozilla.org/integration/mozilla-inbound/rev/157f3efdee37">rev:157f3efdee37</a>
TinderboxPrint: cycle time: 00:18:15<br>
TinderboxPrint:<br>
TinderboxPrint:<a href='http://graphs.mozilla.org/graph.html#tests=[[220,131,1]]'>tdhtmlr_paint: 619.03</a><br>
TinderboxPrint:<a href='http://graphs.mozilla.org/graph.html#tests=[[254,131,1]]'>tresize: 13.0</a><br>
TinderboxPrint:<p style="font-size:smaller;">Details:<br>| <a href='http://graphs.mozilla.org/graph.html#tests=[[220,131,1]]'>tdhtmlr_paint</a> | <a href='http://graphs.mozilla.org/graph.html#tests=[[254,131,1]]'>tresize</a> |</p>
}
After bug 794799:
{
TinderboxPrint: <a href='http://graphs.mozilla.org/graph.html#tests=[[220,131,1]]'>tdhtmlr_paint: 619.03</a>
TinderboxPrint: <a href='http://graphs.mozilla.org/graph.html#tests=[[254,131,1]]'>tresize: 13.0</a>
}
| Assignee | ||
Comment 1•13 years ago
|
||
Fixing dependency:
TBPL still works with the output produced with the patch in bug 794799, so this isn't a prerequisite and instead just a cleanup.
| Assignee | ||
Comment 2•13 years ago
|
||
Unassigning, since it's going to be a while until bug 794799 works its way through the trains (and also onto ESR17), so we can't remove the cruft until then.
Assignee: bmo → nobody
Status: ASSIGNED → NEW
| Assignee | ||
Updated•13 years ago
|
Whiteboard: [waiting until ESR10 obsolete]
| Assignee | ||
Comment 3•13 years ago
|
||
Post bug 812513 we can remove even more cruft :-)
Depends on: 812513
| Assignee | ||
Comment 4•13 years ago
|
||
I've done some preliminary cleanup in bug 817032 to reduce the time this bug will take.
However, until I know in what format we're going to output the results in bug 816634, I can't really proceed here.
Alternatively, we could scrap the "nice"(r) handling of TinderboxPrint (trying to match against test names and results) and just make everything use the fallback that already exists (for non-talos), which is just to show the entire line, markup and all. (Given that TBPLv2 will no doubt be doing something a lot nicer than TinderboxPrint anyway, so perhaps not worth over-engineering this).
| Assignee | ||
Updated•13 years ago
|
Whiteboard: [waiting until ESR10 obsolete]
| Assignee | ||
Updated•13 years ago
|
Assignee: nobody → edmorley.bz
Status: NEW → ASSIGNED
Comment 5•13 years ago
|
||
I think we can come up with a good resulting print/format/datatransfer from talos->log->tbpl.
| Assignee | ||
Updated•13 years ago
|
| Assignee | ||
Comment 6•13 years ago
|
||
The new log output is like:
TinderboxPrint: TalosResult:
{
"datazilla": {
"tp5n": {
"url": "https://datazilla.mozilla.org/talos/summary/Try/74794a471859?product=Firefox&branch_version=21.0a1"
}
},
"graphserver": {
"tp5n_shutdown_paint": {
"url": "http://graphs.mozilla.org/graph.html#tests=[[215,23,21]]",
"result": "1167.00"
},
"tp5n_pbytes_paint": {
"url": "http://graphs.mozilla.org/graph.html#tests=[[207,23,21]]",
"result": "3.6GB"
},
"tp5n_main_rss_paint": {
"url": "http://graphs.mozilla.org/graph.html#tests=[[209,23,21]]",
"result": "198.6MB"
},
"tp5n_paint": {
"url": "http://graphs.mozilla.org/graph.html#tests=[[206,23,21]]",
"result": "277.81"
},
"tp5n_responsiveness_paint": {
"url": "http://graphs.mozilla.org/graph.html#tests=[[216,23,21]]",
"result": "120.00"
}
}
}
TinderboxPrint: <a href='http://graphs.mozilla.org/graph.html#tests=[[206,23,21]]'>tp5n_paint: 277.81</a>
TinderboxPrint: <a href='http://graphs.mozilla.org/graph.html#tests=[[207,23,21]]'>tp5n_pbytes_paint: 3.6GB</a>
TinderboxPrint: <a href='http://graphs.mozilla.org/graph.html#tests=[[209,23,21]]'>tp5n_main_rss_paint: 198.6MB</a>
TinderboxPrint: <a href='http://graphs.mozilla.org/graph.html#tests=[[216,23,21]]'>tp5n_responsiveness_paint: 120.00</a>
TinderboxPrint: <a href='http://graphs.mozilla.org/graph.html#tests=[[215,23,21]]'>tp5n_shutdown_paint: 1167.00</a>
(Have pretty formated the json)
What do we want in the output? Both datazilla and graphserver to start with?
Ideally we could remove the redundant old style lines from talos now too.
| Assignee | ||
Updated•13 years ago
|
Summary: Clean up TBPL's TinderboxPrint scrape for talos results & add support for bug 816634's datazilla URLs → Add support for the new Talos TinderboxPrint json results format
| Assignee | ||
Comment 7•13 years ago
|
||
* Adds support for the new format added by bug 816634
* If the new format isn't found, allows the appending of the old style results. (In the new style, talosResult always appears before the others, so this works fine).
* If a TinderboxPrint line is neither a talosResult, nor a legacy graphs line, it is added to the scrape output (eg revision we built from). We don't have any of these at the moment, but may do in the future (and non-talos supports this already).
* Once Talos no longer outputs both talosResult and the legacy lines, we can remove all the |newStyleFound| nonsense.
Attachment #703555 -
Flags: review?(jhammel)
| Assignee | ||
Comment 8•13 years ago
|
||
One question:
Will there ever be more than one Datazilla testname?
| Assignee | ||
Comment 9•13 years ago
|
||
Comment 10•13 years ago
|
||
(In reply to Ed Morley [:edmorley UTC+0] from comment #8)
> One question:
> Will there ever be more than one Datazilla testname?
So that is a tricky question in two ways ;)
1. Currently all of the URLs are the same. This should probably be fixed. But until it is fixed, it won't matter which url is used for linking.
2. We accumulate datazilla results according to how specified via `--activeTests`; so for `tpn` as tested on try, there is only one test: http://k0s.org:8080/?show=active#tpn . However, for other buildbot suites, more than one `--activeTest` is specified.
Comment 11•13 years ago
|
||
e.g. for the following command:
(talos)│talos -n -d --activeTests tsvgr:tsvgr_opacity --develop -e `which firefox` --authfile /home/jhammel/mozilla/talos/passwords.py --datazilla-url https://datazilla.mozilla.org/test --branchName foo
we get this:
NOISE: Datazilla results at https://datazilla.mozilla.org/test/summary/foo/712eca11a04e?product=Firefox&branch_version=21.0a1
TinderboxPrint: TalosResult: {"datazilla": {"tsvgr": {"url": "https://datazilla.mozilla.org/test/summary/foo/712eca11a04e?product=Firefox&branch_version=21.0a1"}, "tsvgr_opacity": {"url": "https://datazilla.mozilla.org/test/summary/foo/712eca11a04e?product=Firefox&branch_version=21.0a1"}}}
Comment 12•13 years ago
|
||
Comment on attachment 703555 [details] [diff] [review]
Patch v1
lgtm. Thanks!
Attachment #703555 -
Flags: review?(jhammel) → review+
| Assignee | ||
Comment 13•13 years ago
|
||
Landing blocked on me having a working machine + ssh key.
Also, don't know if you spotted my inclusion of "whilst" specially for you :-)
| Assignee | ||
Comment 14•13 years ago
|
||
Ha, tried applying the local copy of the patch and it failed with conflicts (even though no one else has landed on the repo since). Scratching my head I took a look at the diff & the decrypt of my corrupted FDE drive had turned the second half of it into what looked like a binary file. Yey for bugzilla attachments!
https://hg.mozilla.org/webtools/tbpl/rev/17c474782b50
| Assignee | ||
Comment 15•13 years ago
|
||
In production.
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Comment 16•13 years ago
|
||
And lookin' good :) We should definitely note this at the next SfN meeting
Updated•11 years ago
|
Product: Webtools → Tree Management
Updated•11 years ago
|
Product: Tree Management → Tree Management Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•