Merge lp:~aacid/autopilot/precreate_keyboard15 into lp:autopilot/1.5
| Status: | Rejected |
|---|---|
| Rejected by: | Christopher Lee on 2015-04-02 |
| Proposed branch: | lp:~aacid/autopilot/precreate_keyboard15 |
| Merge into: | lp:autopilot/1.5 |
| Diff against target: |
22 lines (+1/-3) 1 file modified
autopilot/testcase.py (+1/-3) |
| To merge this branch: | bzr merge lp:~aacid/autopilot/precreate_keyboard15 |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| PS Jenkins bot | continuous-integration | Approve on 2015-03-26 | |
| Leo Arias | 2015-03-26 | Pending | |
| Thomi Richards | 2015-03-26 | Pending | |
| Autopilot Hackers | 2015-03-26 | Pending | |
|
Review via email:
|
|||
Commit Message
Create keyboard well before it's going to be used
Otherwise it can cause races when using the uinput keyboard in mir, e.g.
Mir log says
[
autopilot log says
12:17:58.305 DEBUG _uinput:60 - Pressing p (25).
25 March 2015 12:17:58.305 is 1427285878.305, that is, the key press is sent 37 milliseconds before mir sees the device, so that key press is lost
Description of the Change
Fix unstable unity8.
| Christopher Lee (veebers) wrote : | # |
Rejected as this MP isn't needed. Due to the slightly obscure way that autopilot trunk is released (i.e. merged into this one) the code is merged into lp:autopilot then at landing time merged into lp:autopilot/1.5
Unmerged revisions
- 509. By Albert Astals Cid on 2015-03-26
-
Create keyboard well before it's going to be used
Otherwise it can cause races when using the uinput keyboard in mir, e.g.
Mir log says
[1427285878. 342107] android-input: [EventHub]New device: id=18, fd=66, path='/ dev/input/ event8' , name='py- evdev-uinput' , classes=0x80000063, configuration='', keyLayout= 'Generic. kl', keyCharacterMap ='Generic. kcm', builtinKeyboard =false, usingSuspendBlo ckIoctl= true, usingClockIoctl =true autopilot log says
12:17:58.305 DEBUG _uinput:60 - Pressing p (25).25 March 2015 12:17:58.305 is 1427285878.305, that is, the key press is sent 37 milliseconds before mir sees the device, so that key press is lost

PASSED: Continuous integration, rev:509 jenkins. qa.ubuntu. com/job/ autopilot- 1.5-ci/ 21/ jenkins. qa.ubuntu. com/job/ autopilot- 1.5-vivid- amd64-ci/ 7 jenkins. qa.ubuntu. com/job/ autopilot- 1.5-vivid- amd64-ci/ 7/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ autopilot- 1.5-vivid- armhf-ci/ 7 jenkins. qa.ubuntu. com/job/ autopilot- 1.5-vivid- armhf-ci/ 7/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ autopilot- 1.5-vivid- i386-ci/ 7 jenkins. qa.ubuntu. com/job/ autopilot- 1.5-vivid- i386-ci/ 7/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- vivid-touch/ 1983/console jenkins. qa.ubuntu. com/job/ generic- mediumtests- vivid-autopilot /143 jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- runner- vivid-mako/ 1749/console jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- vivid-armhf/ 1981 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- vivid-armhf/ 1981/artifact/ work/output/ *zip*/output. zip s-jenkins. ubuntu- ci:8080/ job/touch- flash-device/ 19188 jenkins. qa.ubuntu. com/job/ autopilot- testrunner- otto-vivid- autopilot/ 145 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- vivid-amd64/ 897 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- vivid-amd64/ 897/artifact/ work/output/ *zip*/output. zip
http://
Executed test runs:
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
FAILURE: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/autopilot- 1.5-ci/ 21/rebuild
http://