Closed
Bug 1177782
Opened 9 years ago
Closed 9 years ago
Take a screenshot after all mochitest failures
Categories
(Testing :: Mochitest, defect)
Testing
Mochitest
Tracking
(firefox42 fixed)
RESOLVED
FIXED
mozilla42
Tracking | Status | |
---|---|---|
firefox42 | --- | fixed |
People
(Reporter: RyanVM, Assigned: jgriffin)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
In our intermittent orange discussion today, the idea of taking screenshots after all test failures was raised. We currently only take them after a timeout, but state can be helpful for regular failures as well.
Comment 2•9 years ago
|
||
I guess bug 711124 is about the regular failures.
Comment 4•9 years ago
|
||
I think we wired the plumbing up for this ages ago, shouldn't be hard to turn on.
Comment 5•9 years ago
|
||
Yeah, we have --screenshot-on-fail.. I haven't used it before, so not sure how well it works, but might just be a matter of adding it to the in-tree configs.
Comment 6•9 years ago
|
||
Bug 1177782 - Enable --screenshot-on-fail for mochitests
Comment 7•9 years ago
|
||
Above might be all we need, I'd like to see it working across all the platforms first.. here's a try run: https://treeherder.mozilla.org/#/jobs?repo=try&revision=bb42ee341afc
Comment 8•9 years ago
|
||
Comment on attachment 8626630 [details] MozReview Request: Bug 1177782 - Enable --screenshot-on-fail for mochitests Bug 1177782 - Enable --screenshot-on-fail for mochitests
Attachment #8626630 -
Flags: review?(jgriffin)
Comment 9•9 years ago
|
||
The try run looks good. I'm going to be PTO all next week, so assuming r+ if someone could land or set checkin-needed that would be appreciated. Otherwise I'll do it when I get back.
Assignee | ||
Comment 10•9 years ago
|
||
Comment on attachment 8626630 [details] MozReview Request: Bug 1177782 - Enable --screenshot-on-fail for mochitests https://reviewboard.mozilla.org/r/12109/#review10691 Looks good. This is a no-op for Android emulator tests, looking at the try run, and probably for B2G emulator tests as well, but we can address those with follow-ups.
Attachment #8626630 -
Flags: review?(jgriffin) → review+
Comment 12•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/ec2988092893
Assignee: nobody → jgriffin
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox42:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla42
You need to log in
before you can comment on or make changes to this bug.
Description
•