Closed
Bug 1275243
Opened 9 years ago
Closed 8 years ago
Marionette jobs should upload reports (screenshots) for failures
Categories
(Remote Protocol :: Marionette, defect)
Remote Protocol
Marionette
Tracking
(firefox52 fixed, firefox53 fixed)
RESOLVED
FIXED
mozilla53
People
(Reporter: Gijs, Assigned: whimboo)
References
Details
Attachments
(1 file, 1 obsolete file)
Per bug 1272652 comment 22: it seems firefox-ui-test takes screenshots on failure but marionette does not (or doesn't stick them in the upload dir so we can't see them on treeherder). It would be helpful if it did.
| Assignee | ||
Comment 1•9 years ago
|
||
This could easily be done when we run our Marionette testes with the --log-html option, and instruct taskcluster to also upload that file. This might most likely be a change in mozharness in the marionette entry script.
Comment 2•9 years ago
|
||
We do take screenshots on skips, failures, and errors. I’m happy for us to provide those to TC. If the --log-html flag already does this, that is great!
Updated•9 years ago
|
Keywords: ateam-marionette-runner
| Assignee | ||
Comment 3•9 years ago
|
||
Here those two references as what fx-ui-tests are doing to get HTML reports uploaded via mozharness:
http://mxr.mozilla.org/mozilla-central/source/testing/mozharness/mozharness/mozilla/testing/firefox_ui_tests.py#314
http://mxr.mozilla.org/mozilla-central/source/testing/mozharness/mozharness/mozilla/testing/firefox_ui_tests.py#273
| Assignee | ||
Updated•8 years ago
|
Summary: Marionette should take screenshots on failure → Marionette jobs should upload reports (screenshots) for failures
| Assignee | ||
Updated•8 years ago
|
Keywords: ateam-marionette-runner
| Assignee | ||
Comment 4•8 years ago
|
||
Let me actually get this added quickly. It would have been useful for me too various times in the past weeks. Especially now with our Firefox UI tests moving into the Marionette test jobs.
Assignee: nobody → hskupin
Status: NEW → ASSIGNED
| Comment hidden (mozreview-request) |
| Comment hidden (mozreview-request) |
| Assignee | ||
Comment 7•8 years ago
|
||
Try build works just fine:
https://public-artifacts.taskcluster.net/TGUA6_m-RJyIc_0ACg2_Ug/0/public/test_info//report.html
Andreas, do you know why we take screenshots for skipped tests? I don't see a reason for it.
Flags: needinfo?(ato)
Comment 8•8 years ago
|
||
(In reply to Henrik Skupin (:whimboo) from comment #7)
> Try build works just fine:
> https://public-artifacts.taskcluster.net/TGUA6_m-RJyIc_0ACg2_Ug/0/public/
> test_info//report.html
This is great! Thanks for doing this.
> Andreas, do you know why we take screenshots for skipped tests? I don't see
> a reason for it.
I don’t see any screenshots for skipped tests in that report?
Flags: needinfo?(ato)
| Assignee | ||
Comment 9•8 years ago
|
||
Scroll down to tests like: test_import_script.py TestImportScriptChrome.test_imports_apply_globally
I think that this is related to our own defined skip decorators. Looks like those haven't been implemented that well enough. I will file a new bug for that, which should also allow us to add a message to the skip call.
| Assignee | ||
Comment 10•8 years ago
|
||
I filed bug 1323770 for that issue.
| Assignee | ||
Updated•8 years ago
|
Attachment #8818869 -
Flags: review?(mjzffr)
| Assignee | ||
Updated•8 years ago
|
Attachment #8818870 -
Attachment is obsolete: true
Comment 11•8 years ago
|
||
| mozreview-review | ||
Comment on attachment 8818869 [details]
Bug 1275243 - Marionette test jobs should create HTML reports with screenshots.
https://reviewboard.mozilla.org/r/98824/#review99508
Attachment #8818869 -
Flags: review?(mjzffr) → review+
Comment 12•8 years ago
|
||
Pushed by hskupin@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9de6c2ae8512
Marionette test jobs should create HTML reports with screenshots. r=maja_zf
Comment 13•8 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox53:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla53
| Assignee | ||
Comment 14•8 years ago
|
||
Test-only change which would be nice to have for the next ESR release. Can you please uplift to aurora? Thanks.
status-firefox52:
--- → affected
Whiteboard: [checkin-needed-aurora]
Comment 15•8 years ago
|
||
| bugherder uplift | ||
Updated•2 years ago
|
Product: Testing → Remote Protocol
You need to log in
before you can comment on or make changes to this bug.
Description
•