Testcase: test_delete_thread_from_main_view(with touch)

Build #:97:20141022:20141017.2
Arch:flo (Nexus 7 2013)
Release:utopic
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_delete_thread_from_main_view(with touch)
testsuite
messaging_app.tests.test_messaging.TestMessaging
returncode
1
command
autopilot
stderr
_StringException: Binary content:
  FailedTestScreenshot (image/png)

/var/log/syslog: {{{
Oct 22 23:23:57 ubuntu-phablet kernel: [  422.365417] updating pm_qos value to default msm_pcm_playback_close
Oct 22 23:23:57 ubuntu-phablet kernel: [  422.365417] done updating pm_qos value to default msm_pcm_playback_close
Oct 22 23:24:00 ubuntu-phablet kernel: [  422.394165] SLIM_CL: skip reconfig sequence
Oct 22 23:24:00 ubuntu-phablet kernel: [  425.256042] bq27541_get_psp status: Charging ret= 0x0100
Oct 22 23:24:00 ubuntu-phablet kernel: [  425.256591] bq27541_get_psp status: Charging ret= 0x0100
Oct 22 23:24:00 ubuntu-phablet kernel: [  425.257141] bq27541_get_psp voltage_now= 4120000 uV
Oct 22 23:24:00 ubuntu-phablet kernel: [  425.258270] bq27541_get_capacity = 85% ret= 84
Oct 22 23:24:00 ubuntu-phablet kernel: [  425.258850] bq27541_get_psp temperature= 276 (0.1¢XC)
Oct 22 23:24:00 ubuntu-phablet kernel: [  425.259948] bq27541_get_psp current = 187 mA
Oct 22 23:24:00 ubuntu-phablet kernel: [  425.272460] bq27541_get_capacity = 85% ret= 84
Oct 22 23:24:00 ubuntu-phablet kernel: [  425.273101] bq27541_get_psp voltage_now= 4120000 uV
Oct 22 23:24:00 ubuntu-phablet kernel: [  425.274291] bq27541_get_psp current = 187 mA
Oct 22 23:24:00 ubuntu-phablet kernel: [  425.274932] bq27541_get_psp temperature= 276 (0.1¢XC)
Oct 22 23:24:00 ubuntu-phablet kernel: [  425.275573] bq27541_get_psp status: Charging ret= 0x0100
Oct 22 23:24:00 ubuntu-phablet kernel: [  425.307617] bq27541_get_psp status: Charging ret= 0x0100
Oct 22 23:24:00 ubuntu-phablet kernel: [  425.309204] bq27541_get_psp voltage_now= 4120000 uV
Oct 22 23:24:00 ubuntu-phablet kernel: [  425.309783] bq27541_get_capacity = 85% ret= 84
Oct 22 23:24:00 ubuntu-phablet kernel: [  425.310607] bq27541_get_psp temperature= 276 (0.1¢XC)
Oct 22 23:24:00 ubuntu-phablet kernel: [  425.311828] bq27541_get_psp current = 187 mA
Oct 22 23:24:00 ubuntu-phablet kernel: [  425.315063] bq27541_get_psp status: Charging ret= 0x0100
Oct 22 23:24:00 ubuntu-phablet kernel: [  425.315612] bq27541_get_psp voltage_now= 4120000 uV
Oct 22 23:24:00 ubuntu-phablet kernel: [  425.316467] bq27541_get_capacity = 85% ret= 84
Oct 22 23:24:00 ubuntu-phablet kernel: [  425.317047] bq27541_get_psp temperature= 276 (0.1¢XC)
Oct 22 23:24:00 ubuntu-phablet kernel: [  425.318145] bq27541_get_psp current = 187 mA
Oct 22 23:24:00 ubuntu-phablet kernel: [  425.326507] bq27541_get_psp voltage_now= 4120000 uV
Oct 22 23:24:00 ubuntu-phablet kernel: [  425.328094] bq27541_get_psp status: Charging ret= 0x0100
Oct 22 23:24:00 ubuntu-phablet kernel: [  425.329864] bq27541_get_psp current = 187 mA
Oct 22 23:24:00 ubuntu-phablet kernel: [  425.333343] bq27541_get_psp voltage_now= 4120000 uV
Oct 22 23:24:00 ubuntu-phablet kernel: [  425.335510] bq27541_get_capacity = 85% ret= 84
Oct 22 23:24:00 ubuntu-phablet kernel: [  425.336395] bq27541_get_psp temperature= 276 (0.1¢XC)
Oct 22 23:24:00 ubuntu-phablet kernel: [  425.389129] smb345_charger: [smb345_config_thermal_limit] Bypass set HRD SFT limit=73
Oct 22 23:24:00 ubuntu-phablet kernel: [  425.389404] smb345_charger: [smb345_config_thermal_charging] temp=27, volt=4122000
Oct 22 23:24:00 ubuntu-phablet kernel: [  425.389770] smb345_charger: [smb345_config_thermal_charging] Bypass set Float Volt=e8
Oct 22 23:24:00 ubuntu-phablet kernel: [  425.390045] 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=1862)
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=1862)
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=1862)
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=1862)
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=1862)
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=1862)
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=1862)
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=1862)
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=1862)
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=1862)
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=1862)
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: {{{
23:23:51.787 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
23:23:51.794 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
23:23:51.852 INFO _launcher:120 - Attempting to launch application 'messaging-app' with URIs '--test-contacts' via upstart-app-launch
23:23:57.188 INFO logging:45 - MainView: Write a new message and send it. Arguments ('123', 'hello from Ubuntu'). Keyword arguments: {}.
23:23:57.708 DEBUG _uinput:541 - Dragging from 600,1902 to 600,713
}}}

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/messaging_app/tests/test_messaging.py", line 253, in test_delete_thread_from_main_view
    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