Testcase: test_write_new_message(with touch)

Build #:284:20141015:20140929.1
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 15 18:07:21 ubuntu-phablet kernel: [  244.865905] bq27541_get_psp status: Charging ret= 0x0100
Oct 15 18:07:21 ubuntu-phablet kernel: [  244.866485] bq27541_get_psp status: Charging ret= 0x0100
Oct 15 18:07:21 ubuntu-phablet kernel: [  244.867034] bq27541_get_psp voltage_now= 4021000 uV
Oct 15 18:07:21 ubuntu-phablet kernel: [  244.867584] bq27541_get_capacity = 71% ret= 72
Oct 15 18:07:21 ubuntu-phablet kernel: [  244.868164] bq27541_get_psp temperature= 227 (0.1¢XC)
Oct 15 18:07:21 ubuntu-phablet kernel: [  244.869262] bq27541_get_psp current = 176 mA
Oct 15 18:07:21 ubuntu-phablet kernel: [  244.870513] bq27541_get_capacity = 71% ret= 72
Oct 15 18:07:21 ubuntu-phablet kernel: [  244.871307] bq27541_get_psp status: Charging ret= 0x0fb5
Oct 15 18:07:21 ubuntu-phablet kernel: [  244.871704] bq27541_get_psp voltage_now= 4021000 uV
Oct 15 18:07:21 ubuntu-phablet kernel: [  244.872497] bq27541_get_psp voltage_now= 4021000 uV
Oct 15 18:07:21 ubuntu-phablet kernel: [  244.873718] bq27541_get_capacity check capacity, cap = 176, smb_retry = 0
Oct 15 18:07:21 ubuntu-phablet kernel: [  244.874114] bq27541_get_psp current = 4249 mA
Oct 15 18:07:21 ubuntu-phablet kernel: [  244.874908] bq27541_get_capacity check capacity, cap = 2957, smb_retry = 1
Oct 15 18:07:21 ubuntu-phablet kernel: [  244.875610] bq27541_get_psp error: temperature ret=4021, old_temp=227 
Oct 15 18:07:21 ubuntu-phablet kernel: [  244.875610] bq27541_get_psp temperature= 227 (0.1¢XC)
Oct 15 18:07:21 ubuntu-phablet kernel: [  244.877685] bq27541_get_capacity check capacity, cap = 256, smb_retry = 2
Oct 15 18:07:21 ubuntu-phablet kernel: [  244.877685] bq27541_get_capacity use old capacity=71
Oct 15 18:07:21 ubuntu-phablet kernel: [  244.878082] bq27541_get_psp status: Charging ret= 0x0af8
Oct 15 18:07:21 ubuntu-phablet kernel: [  244.879089] bq27541_get_psp temperature= 227 (0.1¢XC)
Oct 15 18:07:21 ubuntu-phablet kernel: [  244.880187] bq27541_get_psp current = 176 mA
Oct 15 18:07:21 ubuntu-phablet kernel: [  244.881195] bq27541_get_psp status: Charging ret= 0x0100
Oct 15 18:07:21 ubuntu-phablet kernel: [  244.881744] bq27541_get_psp voltage_now= 4021000 uV
Oct 15 18:07:21 ubuntu-phablet kernel: [  244.882324] bq27541_get_capacity = 71% ret= 72
Oct 15 18:07:21 ubuntu-phablet kernel: [  244.882934] bq27541_get_psp temperature= 227 (0.1¢XC)
Oct 15 18:07:21 ubuntu-phablet kernel: [  244.884033] bq27541_get_psp current = 176 mA
Oct 15 18:07:21 ubuntu-phablet kernel: [  244.886779] bq27541_get_psp status: Charging ret= 0x0100
Oct 15 18:07:21 ubuntu-phablet kernel: [  244.887725] bq27541_get_psp voltage_now= 4021000 uV
Oct 15 18:07:21 ubuntu-phablet kernel: [  244.888275] bq27541_get_capacity = 71% ret= 72
Oct 15 18:07:21 ubuntu-phablet kernel: [  244.888824] bq27541_get_psp temperature= 227 (0.1¢XC)
Oct 15 18:07:21 ubuntu-phablet kernel: [  244.889923] bq27541_get_psp current = 176 mA
Oct 15 18:07:21 ubuntu-phablet kernel: [  244.899993] bq27541_get_psp voltage_now= 4021000 uV
Oct 15 18:07:21 ubuntu-phablet kernel: [  244.901763] bq27541_get_psp status: Charging ret= 0x0100
Oct 15 18:07:21 ubuntu-phablet kernel: [  244.903259] bq27541_get_psp current = 176 mA
Oct 15 18:07:21 ubuntu-phablet kernel: [  244.904266] bq27541_get_psp voltage_now= 4021000 uV
Oct 15 18:07:21 ubuntu-phablet kernel: [  244.904937] bq27541_get_capacity = 71% ret= 72
Oct 15 18:07:21 ubuntu-phablet kernel: [  244.908508] bq27541_get_psp temperature= 227 (0.1¢XC)
Oct 15 18:07:21 ubuntu-phablet kernel: [  245.005340] smb345_charger: [smb345_config_thermal_limit] Bypass set HRD SFT limit=73
Oct 15 18:07:21 ubuntu-phablet kernel: [  245.005584] smb345_charger: [smb345_config_thermal_charging] temp=22, volt=4004000
Oct 15 18:07:21 ubuntu-phablet kernel: [  245.005950] smb345_charger: [smb345_config_thermal_charging] Bypass set Float Volt=e8
Oct 15 18:07:21 ubuntu-phablet kernel: [  245.006225] 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.
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.
}}}

test-log: {{{
18:07:14.069 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
18:07:14.076 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
18:07:14.141 INFO _launcher:120 - Attempting to launch application 'messaging-app' with URIs '--test-contacts' via upstart-app-launch
18:07:19.344 INFO logging:45 - MainView: Write a new message and send it. Arguments ('123', 'hello from Ubuntu'). Keyword arguments: {}.
18:07:19.859 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