Testcase: test_write_new_message(with touch)

Build #:295:20141023:20141017.2
Arch:flo (Nexus 7 2013)
Release:utopic
Variant:touch
Artifacts
Console Log

Failure explanation

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

Test case data

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

/var/log/syslog: {{{
Oct 23 04:23:48 ubuntu-phablet kernel: [  576.049011] bq27541_get_psp voltage_now= 3790000 uV
Oct 23 04:23:48 ubuntu-phablet kernel: [  576.050415] bq27541_get_psp status: Charging ret= 0x0180
Oct 23 04:23:48 ubuntu-phablet kernel: [  576.051971] bq27541_get_psp current = -49 mA
Oct 23 04:23:48 ubuntu-phablet kernel: [  576.052612] bq27541_get_psp voltage_now= 3790000 uV
Oct 23 04:23:48 ubuntu-phablet kernel: [  576.053283] bq27541_get_capacity = 30% ret= 34
Oct 23 04:23:48 ubuntu-phablet kernel: [  576.053955] bq27541_get_psp temperature= 263 (0.1¢XC)
}}}

Application Log (messaging-app): {{{
messaging-app: unrecognized option '--test-contacts'
Testability driver loaded. Wire protocol version is "1.4".
UbuntuWindow - regular geometry
UbuntuWindow::handleSurfaceResize(width=1200, height=1866)
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:56: 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.
messaging-app: unrecognized option '--test-contacts'
Testability driver loaded. Wire protocol version is "1.4".
UbuntuWindow - regular geometry
UbuntuWindow::handleSurfaceResize(width=1200, height=1866)
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:56: 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.
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
messaging-app: unrecognized option '--test-contacts'
Testability driver loaded. Wire protocol version is "1.4".
UbuntuWindow - regular geometry
UbuntuWindow::handleSurfaceResize(width=1200, height=1866)
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:56: 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.
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
file:///usr/share/messaging-app/ThreadDelegate.qml:50:34: Unable to assign [undefined] to QString
messaging-app: unrecognized option '--test-contacts'
Testability driver loaded. Wire protocol version is "1.4".
UbuntuWindow - regular geometry
UbuntuWindow::handleSurfaceResize(width=1200, height=1866)
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:56: 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.
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
file:///usr/share/messaging-app/ThreadDelegate.qml:50:34: Unable to assign [undefined] to QString
messaging-app: unrecognized option '--test-contacts'
Testability driver loaded. Wire protocol version is "1.4".
UbuntuWindow - regular geometry
UbuntuWindow::handleSurfaceResize(width=1200, height=1866)
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:56: 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.
file:///usr/share/messaging-app/ThreadDelegate.qml:50:34: Unable to assign [undefined] to QString
messaging-app: unrecognized option '--test-contacts'
Testability driver loaded. Wire protocol version is "1.4".
UbuntuWindow - regular geometry
UbuntuWindow::handleSurfaceResize(width=1200, height=1866)
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:56: 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.
messaging-app: unrecognized option '--test-contacts'
messaging-app: unrecognized option '--test-contacts'
UbuntuClientIntegration: connection to Mir server failed. Check that a Mir server is
running, and the correct socket is being used and is accessible. The shell may have
rejected the incoming connection, so check its log file
messaging-app: unrecognized option '--test-contacts'
UbuntuClientIntegration: connection to Mir server failed. Check that a Mir server is
running, and the correct socket is being used and is accessible. The shell may have
rejected the incoming connection, so check its log file
messaging-app: unrecognized option '--test-contacts'
UbuntuClientIntegration: connection to Mir server failed. Check that a Mir server is
running, and the correct socket is being used and is accessible. The shell may have
rejected the incoming connection, so check its log file
messaging-app: unrecognized option '--test-contacts'
UbuntuClientIntegration: connection to Mir server failed. Check that a Mir server is
running, and the correct socket is being used and is accessible. The shell may have
rejected the incoming connection, so check its log file
messaging-app: unrecognized option '--test-contacts'
Testability driver loaded. Wire protocol version is "1.4".
UbuntuWindow - regular geometry
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.
UbuntuWindow::handleSurfaceResize(width=1200, height=1866)
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:56: 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.
messaging-app: unrecognized option '--test-contacts'
Testability driver loaded. Wire protocol version is "1.4".
UbuntuWindow - regular geometry
UbuntuWindow::handleSurfaceResize(width=1200, height=1866)
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:56: 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: {{{
04:23:48.152 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
04:23:48.159 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
04:23:48.212 INFO _launcher:120 - Attempting to launch application 'messaging-app' with URIs '--test-contacts' via upstart-app-launch
04:23:53.661 INFO logging:45 - MainView: Write a new message and send it. Arguments ('123', 'hello from Ubuntu'). Keyword arguments: {}.
04:23:54.196 DEBUG _uinput:541 - Dragging from 600,1906 to 600,714
}}}

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/messaging_app/tests/test_messaging.py", line 95, in test_write_new_message
    self.main_view.send_message(phone_num, message)
  File "/usr/lib/python3/dist-packages/autopilot/logging.py", line 46, in inner
    return f(instance, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/messaging_app/emulators.py", line 376, in send_message
    self.start_new_message()
  File "/usr/lib/python3/dist-packages/messaging_app/emulators.py", line 253, in start_new_message
    self.get_main_page().reveal_bottom_edge_page()
  File "/usr/lib/python3/dist-packages/messaging_app/emulators.py", line 407, in reveal_bottom_edge_page
    self.isReady.wait_for(True)
  File "/usr/lib/python3/dist-packages/autopilot/introspection/types.py", line 178, in wait_for
    failure_msg))
AssertionError: After 10.0 seconds test on MainPage.isReady failed: True != dbus.Boolean(False, variant_level=1)

command_type
testcase_test