touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #64779
[Bug 1233738] Re: AP failure: test_launcher_activate_last_focused_window
This problem no longer appears to occur. Must have been fixed by some
other change in the last year and a half.
** Changed in: unity
Status: Triaged => Fix Released
** Changed in: unity (Ubuntu)
Status: Confirmed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity in Ubuntu.
https://bugs.launchpad.net/bugs/1233738
Title:
AP failure: test_launcher_activate_last_focused_window
Status in Unity:
Fix Released
Status in unity package in Ubuntu:
Fix Released
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.launcher.test_icon_behavior.LauncherIconsTests.test_launcher_activate_last_focused_window (Single Monitor)
04:48:21.178 DEBUG globals:148 - Starting: ['/usr/bin/recordmydesktop', '--fps=6', '--no-wm-check', '--no-sound', '--no-frame', '-o', '/var/local/autopilot//videos/unity.tests.launcher.test_icon_behavior.LauncherIconsTests.test_launcher_activate_last_focused_window (Single Monitor).ogv']
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_hide_mode' in plugin 'unityshell' to 0
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 <ApplicationLauncherIcon gcalctool.desktop id=110594> on monitor 0 with mouse button 1
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 <ApplicationLauncherIcon gucharmap.desktop id=181669> on monitor 0 with mouse button 1
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_hide_mode' in plugin 'unityshell' to 0
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.icon.application ApplicationLauncherIcon.cpp:79 Created ApplicationLauncherIcon: blank, icon: , sticky: no, visible: yes, active: yes, running: yes
DEBUG 2013-10-01 04:48:22 unity.launcher.icon.application ApplicationLauncherIcon.cpp:169 blank name now Character Map
DEBUG 2013-10-01 04:48:22 unity.launcher.icon.application ApplicationLauncherIcon.cpp:176 Character Map icon now accessories-character-map
DEBUG 2013-10-01 04:48:22 unity.launcher.icon.application ApplicationLauncherIcon.cpp:159 Character Map active now true
DEBUG 2013-10-01 04:48:22 unity.launcher.icon.application ApplicationLauncherIcon.cpp:181 Character Map running now true
DEBUG 2013-10-01 04:48:22 unity.launcher.icon.application ApplicationLauncherIcon.cpp:164 Character Map desktop_file now /usr/share/applications/gucharmap.desktop
DEBUG 2013-10-01 04:48:22 unity.launcher.icon.application ApplicationLauncherIcon.cpp:159 Calculator active now false
DEBUG 2013-10-01 04:48:22 unity.launcher.icon.application ApplicationLauncherIcon.cpp:181 Calculator running now false
DEBUG 2013-10-01 04:48:22 unity.launcher.icon.application ApplicationLauncherIcon.cpp:154 Calculator urgent now false
DEBUG 2013-10-01 04:48:22 unity.launcher.icon.application ApplicationLauncherIcon.cpp:169 Calculator name now Calculator
DEBUG 2013-10-01 04:48:22 unity.launcher.icon.application ApplicationLauncherIcon.cpp:181 Calculator running now true
DEBUG 2013-10-01 04:48:22 unity.launcher.icon.application ApplicationLauncherIcon.cpp:176 Calculator icon now accessories-calculator
DEBUG 2013-10-01 04:48:22 unity.launcher.icon.application ApplicationLauncherIcon.cpp:169 Calculator name now Calculator
DEBUG 2013-10-01 04:48:22 unity.launcher.icon.application ApplicationLauncherIcon.cpp:159 Character Map active now false
DEBUG 2013-10-01 04:48:22 unity.launcher.icon.application ApplicationLauncherIcon.cpp:159 Calculator active now true
DEBUG 2013-10-01 04:48:23 unity.launcher.icon.application ApplicationLauncherIcon.cpp:159 Calculator active now false
DEBUG 2013-10-01 04:48:23 unity.launcher.icon.application ApplicationLauncherIcon.cpp:159 Character Map active now true
DEBUG 2013-10-01 04:48:25 unity.launcher.icon.application ApplicationLauncherIcon.cpp:159 Calculator active now true
DEBUG 2013-10-01 04:48:25 unity.launcher.icon.application ApplicationLauncherIcon.cpp:159 Character Map active now false
DEBUG 2013-10-01 04:48:29 unity.launcher.icon.application ApplicationLauncherIcon.cpp:159 Calculator active now false
DEBUG 2013-10-01 04:48:29 unity.launcher.icon.application ApplicationLauncherIcon.cpp:159 Character Map active now true
DEBUG 2013-10-01 04:48:41 unity.launcher.icon.application ApplicationLauncherIcon.cpp:159 Character Map active now false
DEBUG 2013-10-01 04:48:41 unity.launcher.icon.application ApplicationLauncherIcon.cpp:181 Character Map running now false
DEBUG 2013-10-01 04:48:41 unity.launcher.icon.application ApplicationLauncherIcon.cpp:181 Calculator running now false
}}}
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/unity/tests/launcher/test_icon_behavior.py", line 127, in test_launcher_activate_last_focused_window
self.assertThat(lambda: char_win2.is_hidden, Eventually(Equals(True)))
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 417, in assertThat
raise MismatchError(matchee, matcher, mismatch, verbose)
MismatchError: After 10.0 seconds test failed: True != False
To manage notifications about this bug go to:
https://bugs.launchpad.net/unity/+bug/1233738/+subscriptions