AP failure: test_launcher_activate_last_focused_window
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Unity |
Fix Released
|
High
|
Unassigned | ||
unity (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
AP test is failing. the "window/minimize" key binding appears to maximize the window instead.
_StringException: test-log: {{{
04:48:21.178 INFO globals:49 - *******
04:48:21.178 INFO globals:50 - Starting test unity.tests.
04:48:21.178 DEBUG globals:148 - Starting: ['/usr/
04:48:21.206 INFO __init__:302 - Setting compiz option 'num_launchers' in plugin 'unityshell' to 0
04:48:21.752 INFO __init__:302 - Setting compiz option 'launcher_
04:48:22.257 INFO _bamf:158 - Starting application 'Character Map' with files []
04:48:22.619 INFO _bamf:158 - Starting application 'Calculator' with files []
04:48:22.948 INFO _bamf:158 - Starting application 'Character Map' with files []
04:48:24.143 DEBUG launcher:323 - Clicking launcher icon <ApplicationLau
04:48:24.188 DEBUG _X11:344 - Moving mouse to position 32,115 with animation.
04:48:25.238 DEBUG _X11:299 - Pressing mouse button 1
04:48:25.339 DEBUG _X11:306 - Releasing mouse button 1
04:48:25.351 DEBUG _X11:344 - Moving mouse to position 512,384 without animation.
04:48:25.441 DEBUG launcher:110 - Moving mouse away from launcher.
04:48:25.505 DEBUG _X11:344 - Moving mouse to position 75,396 without animation.
04:48:26.556 DEBUG launcher:323 - Clicking launcher icon <ApplicationLau
04:48:26.611 DEBUG _X11:344 - Moving mouse to position 32,693 with animation.
04:48:27.467 DEBUG _X11:344 - Moving mouse to position 32,768 with animation.
04:48:28.084 DEBUG _X11:344 - Moving mouse to position 32,500 with animation.
04:48:28.906 DEBUG _X11:299 - Pressing mouse button 1
04:48:29.007 DEBUG _X11:306 - Releasing mouse button 1
04:48:29.023 DEBUG _X11:344 - Moving mouse to position 512,384 without animation.
04:48:29.056 DEBUG launcher:110 - Moving mouse away from launcher.
04:48:29.056 DEBUG _X11:344 - Moving mouse to position 75,396 without animation.
04:48:30.103 DEBUG _X11:139 - Pressing keys 'Ctrl+Alt+KP_0' with delay 0.200000
04:48:30.104 DEBUG _X11:231 - Sending press event for key: Control_L
04:48:30.306 DEBUG _X11:231 - Sending press event for key: Alt_L
04:48:30.509 DEBUG _X11:231 - Sending press event for key: KP_0
04:48:30.711 DEBUG _X11:158 - Releasing keys 'Ctrl+Alt+KP_0' with delay 0.200000
04:48:30.711 DEBUG _X11:234 - Sending release event for key: KP_0
04:48:30.912 DEBUG _X11:234 - Sending release event for key: Alt_L
04:48:31.114 DEBUG _X11:234 - Sending release event for key: Control_L
04:48:41.343 INFO __init__:302 - Setting compiz option 'launcher_
04:48:41.845 INFO __init__:302 - Setting compiz option 'num_launchers' in plugin 'unityshell' to 0
04:48:42.349 INFO __init__:89 - Checking system state for badly behaving test...
04:48:42.522 INFO __init__:152 - Test was well behaved.
}}}
unity-log: {{{
INFO 2013-10-01 04:48:22 unity.launcher.
DEBUG 2013-10-01 04:48:22 unity.launcher.
DEBUG 2013-10-01 04:48:22 unity.launcher.
DEBUG 2013-10-01 04:48:22 unity.launcher.
DEBUG 2013-10-01 04:48:22 unity.launcher.
DEBUG 2013-10-01 04:48:22 unity.launcher.
DEBUG 2013-10-01 04:48:22 unity.launcher.
DEBUG 2013-10-01 04:48:22 unity.launcher.
DEBUG 2013-10-01 04:48:22 unity.launcher.
DEBUG 2013-10-01 04:48:22 unity.launcher.
DEBUG 2013-10-01 04:48:22 unity.launcher.
DEBUG 2013-10-01 04:48:22 unity.launcher.
DEBUG 2013-10-01 04:48:22 unity.launcher.
DEBUG 2013-10-01 04:48:22 unity.launcher.
DEBUG 2013-10-01 04:48:22 unity.launcher.
DEBUG 2013-10-01 04:48:23 unity.launcher.
DEBUG 2013-10-01 04:48:23 unity.launcher.
DEBUG 2013-10-01 04:48:25 unity.launcher.
DEBUG 2013-10-01 04:48:25 unity.launcher.
DEBUG 2013-10-01 04:48:29 unity.launcher.
DEBUG 2013-10-01 04:48:29 unity.launcher.
DEBUG 2013-10-01 04:48:41 unity.launcher.
DEBUG 2013-10-01 04:48:41 unity.launcher.
DEBUG 2013-10-01 04:48:41 unity.launcher.
}}}
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
raise MismatchError(
MismatchError: After 10.0 seconds test failed: True != False
This problem no longer appears to occur. Must have been fixed by some other change in the last year and a half.