Testcase: test_cancel_deleting_message_long_press(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_cancel_deleting_message_long_press(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:24:18 ubuntu-phablet kernel: [  605.977600] bq27541_get_psp status: Charging ret= 0x0181
Oct 23 04:24:18 ubuntu-phablet kernel: [  605.978149] bq27541_get_psp status: Charging ret= 0x0181
Oct 23 04:24:18 ubuntu-phablet kernel: [  605.978698] bq27541_get_psp voltage_now= 3775000 uV
Oct 23 04:24:18 ubuntu-phablet kernel: [  605.979248] bq27541_get_capacity = 30% ret= 34
Oct 23 04:24:18 ubuntu-phablet kernel: [  605.979797] bq27541_get_psp temperature= 263 (0.1¢XC)
Oct 23 04:24:18 ubuntu-phablet kernel: [  605.980926] bq27541_get_psp current = -274 mA
Oct 23 04:24:18 ubuntu-phablet kernel: [  605.983123] bq27541_get_capacity = 30% ret= 34
Oct 23 04:24:18 ubuntu-phablet kernel: [  605.983734] bq27541_get_psp voltage_now= 3775000 uV
Oct 23 04:24:18 ubuntu-phablet kernel: [  605.984954] bq27541_get_psp current = -274 mA
Oct 23 04:24:18 ubuntu-phablet kernel: [  605.985595] bq27541_get_psp temperature= 263 (0.1¢XC)
Oct 23 04:24:18 ubuntu-phablet kernel: [  605.986236] bq27541_get_psp status: Charging ret= 0x0181
Oct 23 04:24:18 ubuntu-phablet kernel: [  606.026519] bq27541_get_psp status: Charging ret= 0x0181
Oct 23 04:24:18 ubuntu-phablet kernel: [  606.027130] bq27541_get_psp voltage_now= 3775000 uV
Oct 23 04:24:18 ubuntu-phablet kernel: [  606.027709] bq27541_get_capacity = 30% ret= 34
Oct 23 04:24:18 ubuntu-phablet kernel: [  606.028259] bq27541_get_psp temperature= 263 (0.1¢XC)
Oct 23 04:24:18 ubuntu-phablet kernel: [  606.029357] bq27541_get_psp current = -274 mA
Oct 23 04:24:18 ubuntu-phablet kernel: [  606.031555] bq27541_get_psp status: Charging ret= 0x0181
Oct 23 04:24:18 ubuntu-phablet kernel: [  606.032104] bq27541_get_psp voltage_now= 3775000 uV
Oct 23 04:24:18 ubuntu-phablet kernel: [  606.032653] bq27541_get_capacity = 30% ret= 34
Oct 23 04:24:18 ubuntu-phablet kernel: [  606.033203] bq27541_get_psp temperature= 263 (0.1¢XC)
Oct 23 04:24:18 ubuntu-phablet kernel: [  606.034332] bq27541_get_psp current = -274 mA
Oct 23 04:24:18 ubuntu-phablet kernel: [  606.039947] bq27541_get_psp voltage_now= 3775000 uV
Oct 23 04:24:18 ubuntu-phablet kernel: [  606.041381] bq27541_get_psp status: Charging ret= 0x0181
Oct 23 04:24:18 ubuntu-phablet kernel: [  606.042907] bq27541_get_psp current = -274 mA
Oct 23 04:24:18 ubuntu-phablet kernel: [  606.043548] bq27541_get_psp voltage_now= 3775000 uV
Oct 23 04:24:18 ubuntu-phablet kernel: [  606.044219] bq27541_get_capacity = 30% ret= 34
Oct 23 04:24:18 ubuntu-phablet kernel: [  606.044860] bq27541_get_psp temperature= 263 (0.1¢XC)
Oct 23 04:24:18 ubuntu-phablet kernel: [  606.086883] smb345_charger: [smb345_config_thermal_limit] Bypass set HRD SFT limit=73
Oct 23 04:24:18 ubuntu-phablet kernel: [  606.087127] smb345_charger: [smb345_config_thermal_charging] temp=26, volt=3790000
Oct 23 04:24:18 ubuntu-phablet kernel: [  606.087524] smb345_charger: [smb345_config_thermal_charging] Bypass set Float Volt=e8
Oct 23 04:24:18 ubuntu-phablet kernel: [  606.087799] smb345_charger: [smb345_config_thermal_charging] Bypass charger enable
}}}

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.
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.
}}}

test-log: {{{
04:24:13.617 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
04:24:13.624 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
04:24:13.677 INFO _launcher:120 - Attempting to launch application 'messaging-app' with URIs '--test-contacts' via upstart-app-launch
04:24:18.909 INFO logging:45 - MainView: Write a new message and send it. Arguments ('5555551234', 'do not delete'). Keyword arguments: {}.
04:24:19.443 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 134, in test_cancel_deleting_message_long_press
    bubble = 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