Merge lp://qastaging/~vanvugt/mir/fix-ClientLatency-of-5 into lp://qastaging/mir
Status: | Work in progress |
---|---|
Proposed branch: | lp://qastaging/~vanvugt/mir/fix-ClientLatency-of-5 |
Merge into: | lp://qastaging/mir |
Prerequisite: | lp://qastaging/~vanvugt/mir/print-ClientLatency-stats |
Diff against target: |
37 lines (+13/-0) 1 file modified
tests/acceptance-tests/test_latency.cpp (+13/-0) |
To merge this branch: | bzr merge lp://qastaging/~vanvugt/mir/fix-ClientLatency-of-5 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot (community) | continuous-integration | Approve | |
Alan Griffiths | Needs Information | ||
Mir CI Bot | continuous-integration | Approve | |
Mir development team | Pending | ||
Review via email:
|
This proposal supersedes a proposal from 2016-02-08.
Commit message
Fix weird erratic ClientLatency stats that were regularly spiking up
to 5 (frames of latency) for one of the buffer IDs.
Turns out the problem is the server failing to display the client's first
frame. And thereafter all stats for that first frame's buffer ID were
+3, (correct answer is 2, so we saw 5).
So this change just makes the test more robust to deal with it. We still
need to find out why the server is failing to display the client's
first frame...
Description of the change
Before:
[ RUN ] ClientLatency.
[ debug ] 99 frames sampled, averaging 2.9 frames latency
[ debug ] 0: 0 1 1 1 3 2 2 5 2 2
[ debug ] 10: 5 2 2 5 2 2 5 2 2 5
[ debug ] 20: 2 2 5 2 2 5 2 2 5 2
[ debug ] 30: 2 5 2 2 5 2 2 5 2 2
[ debug ] 40: 5 2 2 5 2 2 5 2 2 5
[ debug ] 50: 2 2 5 2 2 5 2 2 5 2
[ debug ] 60: 2 5 2 2 5 2 2 5 2 2
[ debug ] 70: 5 2 2 5 2 2 5 2 2 5
[ debug ] 80: 2 2 5 2 2 5 2 2 5 2
[ debug ] 90: 2 5 2 2 5 2 2 5 2
[ OK ] ClientLatency.
After:
[ RUN ] ClientLatency.
[ debug ] 99 frames sampled, averaging 1.9 frames latency
[ debug ] 0: 0 0 1 1 2 2 2 2 2 2
[ debug ] 10: 2 2 2 2 2 2 2 2 2 2
[ debug ] 20: 2 2 2 2 2 2 2 2 2 2
[ debug ] 30: 2 2 2 2 2 2 2 2 2 2
[ debug ] 40: 2 2 2 2 2 2 2 2 2 2
[ debug ] 50: 2 2 2 2 2 2 2 2 2 2
[ debug ] 60: 2 2 2 2 2 2 2 2 2 2
[ debug ] 70: 2 2 2 2 2 2 2 2 2 2
[ debug ] 80: 2 2 2 2 2 2 2 2 2 2
[ debug ] 90: 2 2 2 2 2 2 2 2 2
[ OK ] ClientLatency.
Unmerged revisions
- 3300. By Daniel van Vugt
-
Tidy up and fix iterator madness.
- 3299. By Daniel van Vugt
-
Generalise and tidy up the fix.
- 3298. By Daniel van Vugt
-
Fix weird erratic ClientLatency stats that were regularly spiking up
to 5 (frames of latency) for one of the buffer IDs.Turns out the problem is the server failing to display the client's first
frame. And thereafter all stats for that first frame's buffer ID were
+3, (correct answer is 2, so we saw 5).So this change just makes the test more robust to deal with it. We still
need to find out why the server is failing to display the client's
first frame...
PASSED: Continuous integration, rev:3298 jenkins. qa.ubuntu. com/job/ mir-ci/ 6227/ jenkins. qa.ubuntu. com/job/ mir-android- vivid-i386- build/5826 jenkins. qa.ubuntu. com/job/ mir-clang- vivid-amd64- build/4733 jenkins. qa.ubuntu. com/job/ mir-mediumtests -vivid- touch/5782 jenkins. qa.ubuntu. com/job/ mir-mediumtests -xenial- touch/401 jenkins. qa.ubuntu. com/job/ mir-xenial- amd64-ci/ 551 jenkins. qa.ubuntu. com/job/ mir-xenial- amd64-ci/ 551/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ mir-xenial- i386-ci/ 551 jenkins. qa.ubuntu. com/job/ mir-xenial- i386-ci/ 551/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ mir-mediumtests -builder- vivid-armhf/ 5779 jenkins. qa.ubuntu. com/job/ mir-mediumtests -builder- vivid-armhf/ 5779/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ mir-mediumtests -runner- touch/8184 s-jenkins. ubuntu- ci:8080/ job/touch- flash-device/ 27383 jenkins. qa.ubuntu. com/job/ mir-mediumtests -builder- xenial- armhf/397 jenkins. qa.ubuntu. com/job/ mir-mediumtests -builder- xenial- armhf/397/ artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ mir-mediumtests -runner- xenial- touch/251 s-jenkins. ubuntu- ci:8080/ job/touch- flash-device/ 27384
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/mir- ci/6227/ rebuild
http://