Determine if we can easily add screenshot/video as output to failing benchmark tests
Categories
(Testing :: Raptor, enhancement, P3)
Tracking
(firefox125 fixed)
| Tracking | Status | |
|---|---|---|
| firefox125 | --- | fixed |
People
(Reporter: kshampur, Assigned: kshampur)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fxp])
Attachments
(2 files)
currently we output screenshots/videos in the treeherder artifacts for pageload tests. This has been useful in identifying issues in the past and resolving the failing tests
A similar thing could be useful for benchmark tests, probably as an optional flag that could be passed with the custom raptor-extra-options in treeherder
Updated•2 years ago
|
| Assignee | ||
Updated•2 years ago
|
Comment 1•2 years ago
|
||
We could integrate mozscreenshot into raptor like we're doing for talos (it's always enabled in CI too): bug 1861641
| Assignee | ||
Comment 2•1 year ago
|
||
That's cool was not aware of this tool
I initially was thinking something in browsertime (I am assuming mozscreenshot would not work with other browsers?)
| Assignee | ||
Comment 3•1 year ago
|
||
As I was debugging A linux failure in CI for Bug 1689537, I ended up adding this (based on comment 1)
e.g.
a hacky implementation was smoother than I anticipated, so I will probably write a quick patch for this now
| Assignee | ||
Comment 4•1 year ago
|
||
This patch uses mozscreenshot to take a screenshot of the test right up
to the moment of failure. This should be helpful in diagnosing failures
in CI like benchmark tests (which don't output videos like pageload
tests) as well as pageload tests if they fail before visual metrics can
capture a video/screenshot to output.
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
| Assignee | ||
Comment 6•1 year ago
|
||
This patch fixes the logic for --screenshot-on-failure in Talos that was
caught.
Updated•1 year ago
|
Comment 8•1 year ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/1e62a9735dfb
https://hg.mozilla.org/mozilla-central/rev/5640911065b0
Description
•