Merge lp:~vila/autopilot/timestamped-subunit-stream into lp:autopilot
Status: | Work in progress |
---|---|
Proposed branch: | lp:~vila/autopilot/timestamped-subunit-stream |
Merge into: | lp:autopilot |
Diff against target: |
85 lines (+41/-5) 3 files modified
.bzrignore (+1/-0) autopilot/testresult.py (+4/-5) autopilot/tests/unit/test_testresults.py (+36/-0) |
To merge this branch: | bzr merge lp:~vila/autopilot/timestamped-subunit-stream |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Christopher Lee (community) | Needs Information | ||
PS Jenkins bot | continuous-integration | Needs Fixing | |
Review via email: mp+256210@code.launchpad.net |
Commit message
Add timestamps to the subunit stream
Description of the change
This is a first step in fixing https:/
The issue is that autopilot doesn't timestamp the tests in the stream to start with (so ubuntu-sanity-tests can't preserve them either).
Guidance welcome about where to add tests for that (I found autopilot/
The fix can be checked by using 'subunit-ls --times ' on a subunit stream with and without that fix.
I tried running the autopilot test suite on my laptop but in 5 runs I got logged out 3 times from my session :-/
Unmerged revisions
- 553. By Vincent Ladeuil
-
Add a test to ensure we get a non-zero timestamp.
- 552. By Vincent Ladeuil
-
Wrap the result object to get timestamps on subunit tests.
- 551. By Vincent Ladeuil
-
Ignore python3 caches.
FAILED: Continuous integration, rev:552 jenkins. qa.ubuntu. com/job/ autopilot- ci/1044/ jenkins. qa.ubuntu. com/job/ autopilot- vivid-amd64- ci/107 jenkins. qa.ubuntu. com/job/ autopilot- vivid-amd64- ci/107/ artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ autopilot- vivid-armhf- ci/107 jenkins. qa.ubuntu. com/job/ autopilot- vivid-armhf- ci/107/ artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ autopilot- vivid-i386- ci/111 jenkins. qa.ubuntu. com/job/ autopilot- vivid-i386- ci/111/ artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ generic- mediumtests- vivid-autopilot /159/console jenkins. qa.ubuntu. com/job/ autopilot- testrunner- otto-vivid- autopilot/ 164/console jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- vivid-amd64/ 959 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- vivid-amd64/ 959/artifact/ work/output/ *zip*/output. zip
http://
Executed test runs:
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
FAILURE: http://
FAILURE: http://
SUCCESS: http://
deb: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/autopilot- ci/1044/ rebuild
http://