Testcase: test_search(Nexus 4)

Build #:20150907 ?
Arch:mako (Nexus 4)
Release:vivid
Variant:touch_stable
Artifacts
Console Log

Failure explanation

This test failure has not yet been categorized.
Log in to edit.

Test case data

testcase
test_search(Nexus 4)
testsuite
unity8.shell.tests.test_helpers.DashHelperTestCase
returncode
1
command
autopilot
stderr
_StringException: Binary content:
  FailedTestScreenshot (image/png)

/var/log/syslog: {{{
Jul 31 04:42:32 ubuntu-phablet powerd[923]: handle_requestWakeup from :1.545 - ubuntu push client, 1438318052
Jul 31 04:42:32 ubuntu-phablet powerd[923]: void {anonymous}::reset_alarm_clock() found 9 remaining wakeup requests
Jul 31 04:42:32 ubuntu-phablet powerd[923]: setting hardware wakeup time to 2015-07-31 04:43:45 for ubuntu push client
Jul 31 04:42:33 ubuntu-phablet kernel: [ 1436.786906] wlan: [1390:E :HDD] hdd_tx_rx_pkt_cnt_stat_timer_handler: Disable split scan
Jul 31 04:42:35 ubuntu-phablet kernel: [ 1438.461712] pm8xxx-led pm8xxx-led: resume red set 0
Jul 31 04:42:35 ubuntu-phablet kernel: [ 1438.461773] pm8xxx-led pm8xxx-led: resume green set 0
Jul 31 04:42:35 ubuntu-phablet kernel: [ 1438.461834] pm8xxx-led pm8xxx-led: resume blue set 0
Jul 31 04:42:40 ubuntu-phablet kernel: [ 1444.066839] amp_enable: AMP_EN is set to 1
Jul 31 04:42:40 ubuntu-phablet kernel: [ 1444.089790] setting pm_qos in msm_pcm_playback_copy with 1000
Jul 31 04:42:40 ubuntu-phablet kernel: [ 1444.089821] done setting pm_qos in msm_pcm_playback_copy
Jul 31 04:42:45 ubuntu-phablet kernel: [ 1449.095833] updating pm_qos value to default msm_pcm_playback_close
Jul 31 04:42:45 ubuntu-phablet kernel: [ 1449.095864] done updating pm_qos value to default msm_pcm_playback_close
Jul 31 04:42:45 ubuntu-phablet kernel: [ 1449.127636] SLIM_CL: skip reconfig sequence
Jul 31 04:42:45 ubuntu-phablet kernel: [ 1449.138287] amp_enable: amp enable bypass(2)
Jul 31 04:42:45 ubuntu-phablet kernel: [ 1449.138348] amp_enable: AMP_EN is set to 0
Jul 31 04:43:03 ubuntu-phablet kernel: [ 1466.846787] wlan: [1390:E :HDD] hdd_tx_rx_pkt_cnt_stat_timer_handler: Disable split scan
Jul 31 04:43:06 ubuntu-phablet powerd[923]: handle_requestSysState from :1.23 (usensord) - ACTIVE (1)
Jul 31 04:43:06 ubuntu-phablet powerd[923]: name_watch_add: looking for :1.23
Jul 31 04:43:06 ubuntu-phablet powerd[923]: watching :1.23 to see when it disappears on dbus
Jul 31 04:43:06 ubuntu-phablet powerd[923]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 31 04:43:06 ubuntu-phablet powerd[923]: handle_requestSysState - SUCCESS
Jul 31 04:43:06 ubuntu-phablet powerd[923]: Enqueue state change to ACTIVE
Jul 31 04:43:06 ubuntu-phablet powerd[923]: queue empty && state == current, discarding
Jul 31 04:43:06 ubuntu-phablet powerd[923]: libsuspend: release_wake_lock: powerd_power_request
Jul 31 04:43:08 ubuntu-phablet powerd[923]: handle_clearSysState from :1.23, cookie: cf7c76d3-d13c-400e-857c-0f6d3a69b90f
Jul 31 04:43:08 ubuntu-phablet powerd[923]: clear_sys_request: usensord - :1.23
Jul 31 04:43:08 ubuntu-phablet powerd[923]: name_watch_remove: looking for :1.23
Jul 31 04:43:08 ubuntu-phablet powerd[923]: name_watch: ref_count for :1.23 is now 0
Jul 31 04:43:08 ubuntu-phablet powerd[923]: no longer watching :1.23, there are no more requests
Jul 31 04:43:08 ubuntu-phablet powerd[923]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 31 04:43:08 ubuntu-phablet powerd[923]: Enqueue state change to ACTIVE
Jul 31 04:43:08 ubuntu-phablet powerd[923]: queue empty && state == current, discarding
Jul 31 04:43:08 ubuntu-phablet powerd[923]: libsuspend: release_wake_lock: powerd_power_request
Jul 31 04:43:17 ubuntu-phablet kernel: [ 1481.296779] amp_enable: AMP_EN is set to 1
Jul 31 04:43:17 ubuntu-phablet kernel: [ 1481.320341] setting pm_qos in msm_pcm_playback_copy with 1000
Jul 31 04:43:17 ubuntu-phablet kernel: [ 1481.320372] done setting pm_qos in msm_pcm_playback_copy
Jul 31 04:43:22 ubuntu-phablet kernel: [ 1486.326598] updating pm_qos value to default msm_pcm_playback_close
Jul 31 04:43:22 ubuntu-phablet kernel: [ 1486.326659] done updating pm_qos value to default msm_pcm_playback_close
Jul 31 04:43:22 ubuntu-phablet kernel: [ 1486.359712] SLIM_CL: skip reconfig sequence
Jul 31 04:43:22 ubuntu-phablet kernel: [ 1486.374210] amp_enable: amp enable bypass(2)
Jul 31 04:43:22 ubuntu-phablet kernel: [ 1486.374271] amp_enable: AMP_EN is set to 0
Jul 31 04:43:45 ubuntu-phablet powerd[923]: worker thread finished waiting for hw alarm
Jul 31 04:43:45 ubuntu-phablet powerd[923]: Emitting wakeup signal
Jul 31 04:43:45 ubuntu-phablet powerd[923]: worker thread is finished working; calling join()
Jul 31 04:43:45 ubuntu-phablet powerd[923]: worker thread is destroyed.
Jul 31 04:43:45 ubuntu-phablet powerd[923]: void {anonymous}::reset_alarm_clock() found 8 remaining wakeup requests
Jul 31 04:43:45 ubuntu-phablet powerd[923]: setting hardware wakeup time to 2015-07-31 04:44:02 for ubuntu push client
Jul 31 04:43:45 ubuntu-phablet powerd[923]: starting hardware alarm worker thread
Jul 31 04:43:45 ubuntu-phablet powerd[923]: calling wait_for_next_alarm
}}}

test-log: {{{
04:42:30.763 WARNING testcase:181 - Process manager backend unavailable, application snapshot support disabled.
04:42:30.823 INFO process_helpers:92 - Starting job unity8 with arguments ('QT_LOAD_TESTABILITY=1',).
04:42:32.305 INFO process_helpers:100 - unity8 start/running, process 18517

04:42:41.945 INFO process_helpers:148 - Stoping job unity8-dash.
04:42:42.298 INFO process_helpers:156 - unity8-dash stop/waiting

04:42:42.352 INFO __init__:84 - New QML2 import path: /usr/lib/arm-linux-gnueabihf/unity8/qml/mocks:/usr/lib/arm-linux-gnueabihf/qt5/imports
04:42:42.384 INFO process_helpers:92 - 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:/usr/lib/arm-linux-gnueabihf/qt5/imports').
04:42:42.558 INFO process_helpers:100 - unity8-dash start/running, process 18701

04:43:02.383 WARNING backends:244 - Your query
'Query(b'/unity8-dash/QQuickView/MainView/OrientationHelper/QQuickItem/QQuickItem/Dash/DashContent/QQuickItem/QQuickListView[id=6]//QQuickLoader')'
returned a lot of data (150 items). This is likely to be slow. You may want to consider optimising your query to return fewer items.
04:43:11.182 WARNING backends:244 - Your query
'Query(b'/unity8-dash/QQuickView/MainView/OrientationHelper/QQuickItem/QQuickItem/Dash/DashContent/QQuickItem/QQuickListView[id=6]//QQuickLoader')'
returned a lot of data (151 items). This is likely to be slow. You may want to consider optimising your query to return fewer items.
04:43:15.488 INFO _common:107 - Stoping process maliit-server.
04:43:15.896 INFO _common:115 - maliit-server stop/waiting

04:43:15.910 INFO _common:130 - Starting job maliit-server with arguments ('QT_LOAD_TESTABILITY=1',).
04:43:16.079 INFO _common:138 - maliit-server start/running, process 18863

04:43:22.255 INFO logging:45 - TextField: Write into the text field. Arguments ('Test',). Keyword arguments: {}.
04:43:22.303 INFO logging:45 - TextField: Clear the text field. Arguments (). Keyword arguments: {}.
04:43:26.649 INFO process_helpers:148 - Stoping job unity8-dash.
04:43:26.903 INFO process_helpers:156 - unity8-dash stop/waiting

04:43:26.907 INFO process_helpers:148 - Stoping job unity8.
04:43:54.391 INFO process_helpers:156 - unity8 stop/waiting
}}}

traceback-1: {{{
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/autopilot/utilities.py", line 348, in action_on_test_end
    obj.on_test_end(test_instance)
  File "/usr/lib/python3/dist-packages/autopilot/input/_osk.py", line 113, in on_test_end
    cls._keyboard.dismiss()
  File "/usr/lib/python3/dist-packages/ubuntu_keyboard/emulators/keyboard.py", line 126, in dismiss
    if self.is_available():
  File "/usr/lib/python3/dist-packages/ubuntu_keyboard/emulators/keyboard.py", line 137, in is_available
    return (self.keyboard.state == "SHOWN")
  File "/usr/lib/python3/dist-packages/autopilot/introspection/dbus.py", line 411, in __getattr__
    self.refresh_state()
  File "/usr/lib/python3/dist-packages/autopilot/introspection/dbus.py", line 367, in refresh_state
    _, new_state = self._get_new_state()
  File "/usr/lib/python3/dist-packages/autopilot/introspection/dbus.py", line 427, in _get_new_state
    return self._backend.execute_query_get_data(self._query)[0]
  File "/usr/lib/python3/dist-packages/autopilot/introspection/backends.py", line 225, in execute_query_get_data
    data = self.ipc_address.introspection_iface.GetState(
  File "/usr/lib/python3/dist-packages/autopilot/introspection/backends.py", line 118, in introspection_iface
    "Lost dbus backend communication. It appears the "
RuntimeError: Lost dbus backend communication. It appears the application under test exited before the test finished!
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/unity8/shell/tests/test_helpers.py", line 50, in test_search
    self.dash.enter_search_query('Test')
  File "/home/phablet/autopilot/unity8/dash.py", line 170, in enter_search_query
    search_text_field.write(query)
  File "/usr/lib/python3/dist-packages/autopilot/logging.py", line 46, in inner
    return f(instance, *args, **kwargs)
  File "/home/phablet/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_textfield.py", line 49, in write
    self.keyboard.type(text)
  File "/usr/lib/python3/dist-packages/autopilot/input/_osk.py", line 105, in type
    self._keyboard.type(string, delay)
  File "/usr/lib/python3/dist-packages/ubuntu_keyboard/emulators/keyboard.py", line 211, in type
    self.press_key(char)
  File "/usr/lib/python3/dist-packages/ubuntu_keyboard/emulators/keyboard.py", line 165, in press_key
    raise RuntimeError("Keyboard is not on screen")
RuntimeError: Keyboard is not on screen

command_type
testcase_test