Merge lp:~nskaggs/autopilot/catch-stateerror-printtree into lp:autopilot
Proposed by
Thomi Richards
Status: | Superseded | ||||
---|---|---|---|---|---|
Proposed branch: | lp:~nskaggs/autopilot/catch-stateerror-printtree | ||||
Merge into: | lp:autopilot | ||||
Prerequisite: | lp:~thomir-deactivatedaccount/autopilot/trunk-make-print-tree-faster | ||||
Diff against target: |
68 lines (+28/-6) 2 files modified
autopilot/introspection/dbus.py (+10/-6) autopilot/tests/unit/test_introspection_features.py (+18/-0) |
||||
To merge this branch: | bzr merge lp:~nskaggs/autopilot/catch-stateerror-printtree | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot | continuous-integration | Needs Fixing | |
Thomi Richards | Pending | ||
Max Brustkern | Pending | ||
Nicholas Skaggs | Pending | ||
Chris Gagnon | Pending | ||
Review via email: mp+214616@code.launchpad.net |
Commit message
Don't abort print_tree when we catch StateNotFoundError exception.
Description of the change
Dumping the object tree with print_tree often fails to complete due to StateNotFound errors. This modifies the print call to catch these errors and continue to print the largest possible tree. Other errors could be considered as well to try and print as complete a dump as possible.
To post a comment you must log in.
FAILED: Continuous integration, rev:442 jenkins. qa.ubuntu. com/job/ autopilot- ci/665/ jenkins. qa.ubuntu. com/job/ autopilot- trusty- amd64-ci/ 391 jenkins. qa.ubuntu. com/job/ autopilot- trusty- amd64-ci/ 391/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ autopilot- trusty- armhf-ci/ 393 jenkins. qa.ubuntu. com/job/ autopilot- trusty- armhf-ci/ 393/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ autopilot- trusty- i386-ci/ 300 jenkins. qa.ubuntu. com/job/ autopilot- trusty- i386-ci/ 300/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ generic- mediumtests- trusty- autopilot/ 117 jenkins. qa.ubuntu. com/job/ autopilot- testrunner- otto-trusty- autopilot/ 102 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- trusty- amd64/4707 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- trusty- amd64/4707/ artifact/ work/output/ *zip*/output. zip
http://
Executed test runs:
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
UNSTABLE: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/autopilot- ci/665/ rebuild
http://