touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #31563
[Bug 1389232] Re: failed dashboard test case: unity8.shell.tests.test_emulators.DashEmulatorTestCase.test_search
What needs to be done to make the dashboard green? do we need to retry
the search if it fails the first time or wait for some element to appear
before we start searching?
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity8 in Ubuntu.
https://bugs.launchpad.net/bugs/1389232
Title:
failed dashboard test case:
unity8.shell.tests.test_emulators.DashEmulatorTestCase.test_search
Status in “unity8” package in Ubuntu:
Confirmed
Bug description:
http://dashboard.ubuntu-
ci:8080/smokeng/utopic/touch_stable/krillin/141:20141104:20141028-3ca60be/661/unity8/232676/
unity8.shell.tests.test_emulators.DashEmulatorTestCase.test_search
test-log: {{{
07:08:45.747 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
07:08:45.759 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
07:08:45.793 INFO process_helpers:151 - Starting job unity8 with arguments ('QT_LOAD_TESTABILITY=1',).
07:08:46.254 INFO process_helpers:159 - unity8 start/running, process 14617
07:09:01.266 INFO process_helpers:95 - Greeter unlocked, continuing.
07:09:01.284 INFO process_helpers:207 - Stoping job unity8-dash.
07:09:01.502 INFO process_helpers:215 - unity8-dash stop/waiting
07:09:01.543 INFO __init__:108 - New QML2 import path: /usr/lib/arm-linux-gnueabihf/unity8/qml/mocks
07:09:01.566 INFO process_helpers:151 - Starting job unity8-dash with arguments ('BINARY=/usr/bin/unity8-dash', 'QT_LOAD_TESTABILITY=1',
'QML2_IMPORT_PATH=/usr/lib/arm-linux-gnueabihf/unity8/qml/mocks').
07:09:01.657 INFO process_helpers:159 - unity8-dash start/running, process 14839
07:09:28.834 ERROR proxies:410 - Introspect error on :1.367:/com/canonical/Autopilot/Introspection: dbus.exceptions.DBusException:
org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus
security policy blocked the reply, the reply timeout expired, or the network connection was broken.
07:09:28.837 DEBUG proxies:413 - Executing introspect queue due to error
07:09:40.166 DEBUG dbus:352 - Selecting objects of type QQuickLoader with attributes: {}
07:09:42.668 WARNING backends:229 - Your query
'Query(b'/unity8-dash/QQuickView/MainView/OrientationHelper/QQuickItem/QQuickItem/Dash/DashContent/QQuickItem/QQuickListView[id=6]//QQuickLoader')'
returned a lot of data (392 items). This is likely to be slow. You may want to consider optimising your query to return fewer items.
07:09:49.835 DEBUG _uinput:470 - Tapping at: 364,86
07:09:54.196 DEBUG dbus:352 - Selecting objects of type QQuickLoader with attributes: {}
07:09:56.195 WARNING backends:229 - Your query
'Query(b'/unity8-dash/QQuickView/MainView/OrientationHelper/QQuickItem/QQuickItem/Dash/DashContent/QQuickItem/QQuickListView[id=6]//QQuickLoader')'
returned a lot of data (532 items). This is likely to be slow. You may want to consider optimising your query to return fewer items.
07:10:06.466 INFO logging:45 - TextField: Write into the text field. Arguments ('Test',). Keyword arguments: {}.
07:10:06.534 DEBUG _common:45 - Moving to object's globalRect coordinates.
07:10:06.535 DEBUG _uinput:470 - Tapping at: 309,86
07:10:06.730 INFO logging:45 - TextField: Clear the text field. Arguments (). Keyword arguments: {}.
07:10:06.786 DEBUG _uinput:195 - Typing text 'Test'
07:10:06.787 DEBUG _uinput:57 - Pressing KEY_LEFTSHIFT (42).
07:10:06.888 DEBUG _uinput:57 - Pressing T (20).
07:10:06.992 DEBUG _uinput:88 - Releasing T (20).
07:10:07.095 DEBUG _uinput:88 - Releasing KEY_LEFTSHIFT (42).
07:10:07.198 DEBUG _uinput:57 - Pressing e (18).
07:10:07.301 DEBUG _uinput:88 - Releasing e (18).
07:10:07.404 DEBUG _uinput:57 - Pressing s (31).
07:10:07.506 DEBUG _uinput:88 - Releasing s (31).
07:10:07.608 DEBUG _uinput:57 - Pressing t (20).
07:10:07.711 DEBUG _uinput:88 - Releasing t (20).
07:10:23.778 INFO process_helpers:207 - Stoping job unity8-dash.
07:10:24.078 INFO process_helpers:215 - unity8-dash stop/waiting
07:10:24.082 INFO process_helpers:207 - Stoping job unity8.
07:10:25.375 INFO process_helpers:215 - unity8 stop/waiting
}}}
Traceback (most recent call last):
File "/home/phablet/autopilot/unity8/shell/tests/test_emulators.py", line 54, in test_search
self.dash.enter_search_query('Test')
File "/home/phablet/autopilot/unity8/shell/emulators/dash.py", line 156, in enter_search_query
self.select_single(objectName="processingIndicator").visible.wait_for(False)
File "/usr/lib/python3/dist-packages/autopilot/introspection/types.py", line 178, in wait_for
failure_msg))
AssertionError: After 10.0 seconds test on QQuickRectangle.visible failed: False != dbus.Boolean(True, variant_level=1)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1389232/+subscriptions
References