Testcase: test_search_for_message(with touch)

Build #:256:20150715:20150708
Arch:mako (Nexus 4)
Release:wily
Variant:touch
Artifacts
Console Log

Failure explanation

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

Test case data

testcase
test_search_for_message(with touch)
testsuite
messaging_app.tests.test_messaging.MessagingTestSearch
returncode
1
command
autopilot
stderr
_StringException: Binary content:
  FailedTestScreenshot (image/png)

/var/log/syslog: {{{
Jul 15 09:06:41 ubuntu-phablet powerd[999]: handle_requestSysState from :1.63 (active) - ACTIVE (1)
Jul 15 09:06:41 ubuntu-phablet powerd[999]: name_watch_add: looking for :1.63
Jul 15 09:06:41 ubuntu-phablet powerd[999]: watching :1.63 to see when it disappears on dbus
Jul 15 09:06:41 ubuntu-phablet powerd[999]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 15 09:06:41 ubuntu-phablet powerd[999]: handle_requestSysState - SUCCESS
Jul 15 09:06:41 ubuntu-phablet powerd[999]: Enqueue state change to ACTIVE
Jul 15 09:06:41 ubuntu-phablet powerd[999]: queue empty && state == current, discarding
Jul 15 09:06:41 ubuntu-phablet powerd[999]: libsuspend: release_wake_lock: powerd_power_request
Jul 15 09:06:52 ubuntu-phablet kernel: [  252.735846] amp_enable: AMP_EN is set to 1
Jul 15 09:06:53 ubuntu-phablet kernel: [  252.758736] setting pm_qos in msm_pcm_playback_copy with 1000
Jul 15 09:06:53 ubuntu-phablet kernel: [  252.758736] done setting pm_qos in msm_pcm_playback_copy
Jul 15 09:06:58 ubuntu-phablet kernel: [  257.764840] updating pm_qos value to default msm_pcm_playback_close
Jul 15 09:06:58 ubuntu-phablet kernel: [  257.764871] done updating pm_qos value to default msm_pcm_playback_close
Jul 15 09:06:58 ubuntu-phablet kernel: [  257.797039] SLIM_CL: skip reconfig sequence
Jul 15 09:06:58 ubuntu-phablet kernel: [  257.810621] amp_enable: amp enable bypass(2)
Jul 15 09:06:58 ubuntu-phablet kernel: [  257.810682] amp_enable: AMP_EN is set to 0
Jul 15 09:07:09 ubuntu-phablet powerd[999]: handle_clearSysState from :1.63, cookie: dee2c561-bb4f-44fd-9644-f2d5d150016b
Jul 15 09:07:09 ubuntu-phablet powerd[999]: clear_sys_request: active - :1.63
Jul 15 09:07:09 ubuntu-phablet powerd[999]: name_watch_remove: looking for :1.63
Jul 15 09:07:09 ubuntu-phablet powerd[999]: name_watch: ref_count for :1.63 is now 0
Jul 15 09:07:09 ubuntu-phablet powerd[999]: no longer watching :1.63, there are no more requests
Jul 15 09:07:09 ubuntu-phablet powerd[999]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 15 09:07:09 ubuntu-phablet powerd[999]: Enqueue state change to ACTIVE
Jul 15 09:07:09 ubuntu-phablet powerd[999]: queue empty && state == current, discarding
Jul 15 09:07:09 ubuntu-phablet powerd[999]: libsuspend: release_wake_lock: powerd_power_request
Jul 15 09:07:09 ubuntu-phablet dbus[856]: [system] Activating service name='com.canonical.PropertyService' (using servicehelper)
Jul 15 09:07:10 ubuntu-phablet dbus[856]: [system] Successfully activated service 'com.canonical.PropertyService'
}}}

Application Log (messaging-app): {{{
Loading module: 'libubuntu_application_api_touch_mirclient.so.3.0.0'
Testability driver loaded. Wire protocol version is "1.4".
Testability driver loaded. Wire protocol version is "1.4".
Unable to register object on D-Bus! Testability interface will not be available.
file:///usr/share/messaging-app/MainPage.qml:247:5: QML Scrollbar: Theme.createStyleComponent() is deprecated. Use ThemeSettings instead.
file:///usr/share/messaging-app/MainPage.qml:44:5: QML TextField: Theme.createStyleComponent() is deprecated. Use ThemeSettings instead.
file:///usr/share/messaging-app/Messages.qml:980:9: QML Button: Theme.createStyleComponent() is deprecated. Use ThemeSettings instead.
file:///usr/share/messaging-app/Messages.qml:741:9: QML StyledItem: Theme.createStyleComponent() is deprecated. Use ThemeSettings instead.
file:///usr/share/messaging-app/Messages.qml:210:5: QML ActivityIndicator: Theme.createStyleComponent() is deprecated. Use ThemeSettings instead.
file:///usr/share/messaging-app/Messages.qml:598:23: QML MultiRecipientInput: Theme.createStyleComponent() is deprecated. Use ThemeSettings instead.
file:///usr/share/messaging-app/Messages.qml:59: TypeError: Cannot read property 'length' of undefined
UbuntuWindow - regular geometry
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=1080, height=846)
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
qml: WARNING! Do not put Page/Tabs/PageStack inside another Page because that causes confusion which is the active page that sets the title and
actions.
qml: WARNING! Do not put Page/Tabs/PageStack inside another Page because that causes confusion which is the active page that sets the title and
actions.
file:///usr/share/messaging-app/Messages.qml:59: TypeError: Cannot read property 'length' of undefined
file:///usr/share/messaging-app/LocalPageWithBottomEdge.qml:138:5: QML InverseMouseArea: Cannot anchor to an item that isn't a parent or sibling.
file:///usr/share/messaging-app/messaging-app.qml:32:32: Unable to assign [undefined] to QObject*
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
Loading module: 'libubuntu_application_api_touch_mirclient.so.3.0.0'
Testability driver loaded. Wire protocol version is "1.4".
Testability driver loaded. Wire protocol version is "1.4".
Unable to register object on D-Bus! Testability interface will not be available.
file:///usr/share/messaging-app/MainPage.qml:247:5: QML Scrollbar: Theme.createStyleComponent() is deprecated. Use ThemeSettings instead.
file:///usr/share/messaging-app/MainPage.qml:44:5: QML TextField: Theme.createStyleComponent() is deprecated. Use ThemeSettings instead.
UbuntuWindow - regular geometry
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=1080, height=846)
qml: WARNING! Do not put Page/Tabs/PageStack inside another Page because that causes confusion which is the active page that sets the title and
actions.
file:///usr/share/messaging-app/Messages.qml:980:9: QML Button: Theme.createStyleComponent() is deprecated. Use ThemeSettings instead.
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
file:///usr/share/messaging-app/Messages.qml:741:9: QML StyledItem: Theme.createStyleComponent() is deprecated. Use ThemeSettings instead.
file:///usr/share/messaging-app/Messages.qml:210:5: QML ActivityIndicator: Theme.createStyleComponent() is deprecated. Use ThemeSettings instead.
file:///usr/share/messaging-app/Messages.qml:598:23: QML MultiRecipientInput: Theme.createStyleComponent() is deprecated. Use ThemeSettings instead.
qml: WARNING! Do not put Page/Tabs/PageStack inside another Page because that causes confusion which is the active page that sets the title and
actions.
file:///usr/share/messaging-app/Messages.qml:59: TypeError: Cannot read property 'length' of undefined
file:///usr/share/messaging-app/LocalPageWithBottomEdge.qml:138:5: QML InverseMouseArea: Cannot anchor to an item that isn't a parent or sibling.
file:///usr/share/messaging-app/messaging-app.qml:32:32: Unable to assign [undefined] to QObject*
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
Loading module: 'libubuntu_application_api_touch_mirclient.so.3.0.0'
Testability driver loaded. Wire protocol version is "1.4".
Testability driver loaded. Wire protocol version is "1.4".
Unable to register object on D-Bus! Testability interface will not be available.
file:///usr/share/messaging-app/MainPage.qml:247:5: QML Scrollbar: Theme.createStyleComponent() is deprecated. Use ThemeSettings instead.
file:///usr/share/messaging-app/MainPage.qml:44:5: QML TextField: Theme.createStyleComponent() is deprecated. Use ThemeSettings instead.
UbuntuWindow - regular geometry
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=1080, height=846)
qml: WARNING! Do not put Page/Tabs/PageStack inside another Page because that causes confusion which is the active page that sets the title and
actions.
file:///usr/share/messaging-app/Messages.qml:980:9: QML Button: Theme.createStyleComponent() is deprecated. Use ThemeSettings instead.
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
file:///usr/share/messaging-app/Messages.qml:741:9: QML StyledItem: Theme.createStyleComponent() is deprecated. Use ThemeSettings instead.
file:///usr/share/messaging-app/Messages.qml:210:5: QML ActivityIndicator: Theme.createStyleComponent() is deprecated. Use ThemeSettings instead.
file:///usr/share/messaging-app/Messages.qml:598:23: QML MultiRecipientInput: Theme.createStyleComponent() is deprecated. Use ThemeSettings instead.
qml: WARNING! Do not put Page/Tabs/PageStack inside another Page because that causes confusion which is the active page that sets the title and
actions.
file:///usr/share/messaging-app/Messages.qml:59: TypeError: Cannot read property 'length' of undefined
file:///usr/share/messaging-app/LocalPageWithBottomEdge.qml:138:5: QML InverseMouseArea: Cannot anchor to an item that isn't a parent or sibling.
file:///usr/share/messaging-app/messaging-app.qml:32:32: Unable to assign [undefined] to QObject*
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
Loading module: 'libubuntu_application_api_touch_mirclient.so.3.0.0'
Testability driver loaded. Wire protocol version is "1.4".
Testability driver loaded. Wire protocol version is "1.4".
Unable to register object on D-Bus! Testability interface will not be available.
file:///usr/share/messaging-app/MainPage.qml:247:5: QML Scrollbar: Theme.createStyleComponent() is deprecated. Use ThemeSettings instead.
file:///usr/share/messaging-app/MainPage.qml:44:5: QML TextField: Theme.createStyleComponent() is deprecated. Use ThemeSettings instead.
UbuntuWindow - regular geometry
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=1080, height=846)
qml: WARNING! Do not put Page/Tabs/PageStack inside another Page because that causes confusion which is the active page that sets the title and
actions.
file:///usr/share/messaging-app/Messages.qml:980:9: QML Button: Theme.createStyleComponent() is deprecated. Use ThemeSettings instead.
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
file:///usr/share/messaging-app/Messages.qml:741:9: QML StyledItem: Theme.createStyleComponent() is deprecated. Use ThemeSettings instead.
file:///usr/share/messaging-app/Messages.qml:210:5: QML ActivityIndicator: Theme.createStyleComponent() is deprecated. Use ThemeSettings instead.
file:///usr/share/messaging-app/Messages.qml:598:23: QML MultiRecipientInput: Theme.createStyleComponent() is deprecated. Use ThemeSettings instead.
qml: WARNING! Do not put Page/Tabs/PageStack inside another Page because that causes confusion which is the active page that sets the title and
actions.
file:///usr/share/messaging-app/Messages.qml:59: TypeError: Cannot read property 'length' of undefined
file:///usr/share/messaging-app/LocalPageWithBottomEdge.qml:138:5: QML InverseMouseArea: Cannot anchor to an item that isn't a parent or sibling.
file:///usr/share/messaging-app/messaging-app.qml:32:32: Unable to assign [undefined] to QObject*
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
Loading module: 'libubuntu_application_api_touch_mirclient.so.3.0.0'
Testability driver loaded. Wire protocol version is "1.4".
Testability driver loaded. Wire protocol version is "1.4".
Unable to register object on D-Bus! Testability interface will not be available.
file:///usr/share/messaging-app/MainPage.qml:247:5: QML Scrollbar: Theme.createStyleComponent() is deprecated. Use ThemeSettings instead.
file:///usr/share/messaging-app/MainPage.qml:44:5: QML TextField: Theme.createStyleComponent() is deprecated. Use ThemeSettings instead.
UbuntuWindow - regular geometry
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=1080, height=846)
qml: WARNING! Do not put Page/Tabs/PageStack inside another Page because that causes confusion which is the active page that sets the title and
actions.
file:///usr/share/messaging-app/Messages.qml:980:9: QML Button: Theme.createStyleComponent() is deprecated. Use ThemeSettings instead.
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
file:///usr/share/messaging-app/Messages.qml:741:9: QML StyledItem: Theme.createStyleComponent() is deprecated. Use ThemeSettings instead.
file:///usr/share/messaging-app/Messages.qml:210:5: QML ActivityIndicator: Theme.createStyleComponent() is deprecated. Use ThemeSettings instead.
file:///usr/share/messaging-app/Messages.qml:598:23: QML MultiRecipientInput: Theme.createStyleComponent() is deprecated. Use ThemeSettings instead.
qml: WARNING! Do not put Page/Tabs/PageStack inside another Page because that causes confusion which is the active page that sets the title and
actions.
file:///usr/share/messaging-app/Messages.qml:59: TypeError: Cannot read property 'length' of undefined
file:///usr/share/messaging-app/LocalPageWithBottomEdge.qml:138:5: QML InverseMouseArea: Cannot anchor to an item that isn't a parent or sibling.
file:///usr/share/messaging-app/messaging-app.qml:32:32: Unable to assign [undefined] to QObject*
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
}}}

test-log: {{{
09:06:41.573 WARNING testcase:175 - Process manager backend unavailable, application snapshot support disabled.
09:06:41.645 INFO _launcher:120 - Attempting to launch application 'messaging-app' with URIs '' via upstart-app-launch
09:06:48.563 DEBUG dbus:352 - Selecting objects of type ThreadDelegate with attributes: {}
09:06:49.658 DEBUG _common:45 - Moving to object's globalRect coordinates.
09:06:49.659 DEBUG _uinput:485 - Tapping at: 927,121
09:06:50.617 INFO _common:107 - Stoping process maliit-server.
09:06:50.971 INFO _common:115 - maliit-server stop/waiting

09:06:50.973 INFO _common:130 - Starting job maliit-server with arguments ('QT_LOAD_TESTABILITY=1',).
09:06:51.083 INFO _common:138 - maliit-server start/running, process 7865

09:06:57.324 INFO logging:45 - TextField: Write into the text field. Arguments ('Ubuntu2',). Keyword arguments: {}.
09:06:57.325 DEBUG logging:45 - TextField: _ensure_focused. Arguments (). Keyword arguments: {}.
09:06:57.401 DEBUG _common:45 - Moving to object's globalRect coordinates.
09:06:57.402 DEBUG _uinput:485 - Tapping at: 522,256
}}}

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/messaging_app/tests/test_messaging.py", line 411, in test_search_for_message
    text_field.write('Ubuntu2')
  File "/usr/lib/python3/dist-packages/autopilot/logging.py", line 46, in inner
    return f(instance, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/ubuntuuitoolkit/_custom_proxy_objects/_textfield.py", line 43, in write
    self._ensure_focused()
  File "/usr/lib/python3/dist-packages/autopilot/logging.py", line 46, in inner
    return f(instance, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/ubuntuuitoolkit/_custom_proxy_objects/_textfield.py", line 141, in _ensure_focused
    self.activeFocus.wait_for(True)
  File "/usr/lib/python3/dist-packages/autopilot/introspection/types.py", line 180, in wait_for
    failure_msg))
AssertionError: After 10.0 seconds test on TextField.activeFocus failed: True != dbus.Boolean(False, variant_level=1)

command_type
testcase_test