Capture a screenshot on errors and failures
Bug #1308762 reported by
Leo Arias
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Autopilot |
Fix Released
|
High
|
Christopher Lee | ||
autopilot (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
Vivid |
New
|
Undecided
|
Unassigned |
Bug Description
If we capture a screenshot at the moment that an assertion fails or an exception is raised, it will be a lot easier to understand some of the errors that happen some times on the daily smoke runs.
Related branches
lp://staging/~veebers/autopilot/adding_screenshots_to_details
- Thomi Richards (community): Approve
- Max Brustkern (community): Approve
- PS Jenkins bot: Approve (continuous-integration)
-
Diff: 941 lines (+688/-21)15 files modifiedautopilot/_glib.py (+82/-0)
autopilot/clipboard.py (+4/-4)
autopilot/display/_X11.py (+2/-5)
autopilot/display/__init__.py (+12/-0)
autopilot/display/_screenshot.py (+165/-0)
autopilot/platform.py (+41/-0)
autopilot/process/_bamf.py (+8/-8)
autopilot/testcase.py (+45/-1)
autopilot/tests/functional/test_platform.py (+33/-0)
autopilot/tests/functional/test_testcase.py (+60/-0)
autopilot/tests/unit/test_display_screenshot.py (+158/-0)
autopilot/tests/unit/test_platform.py (+41/-3)
autopilot/tests/unit/test_testcase.py (+34/-0)
debian/control (+2/-0)
debian/rules (+1/-0)
Changed in autopilot: | |
assignee: | nobody → Christopher Lee (veebers) |
status: | Triaged → In Progress |
To post a comment you must log in.
Let's do this, but let's do it for all platforms.
We can store the results in the subunit result stream.