Testcase: test_write_new_message(with touch)

Build #:74:20141008.2:20140929.1
Arch:manta (Nexus 10)
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_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  8 20:55:40 ubuntu-phablet ofonod[4466]: Provisioning for MCC 246, MNC 81, SPN 'oFono', IMSI '246813579', GID1 '(null)'
Oct  8 20:55:40 ubuntu-phablet ofonod[4466]: Provisioning for MCC 246, MNC 81, SPN 'oFono', IMSI '246813579', GID1 '(null)'
Oct  8 20:55:40 ubuntu-phablet ofonod[4466]: provision_get_settings: provisioning failed - no APNs found.
Oct  8 20:55:40 ubuntu-phablet ofonod[4466]: Provisioning failed
Oct  8 20:55:40 ubuntu-phablet ofonod[4466]: Registered handle for channel 1: 0x10001
Oct  8 20:55:40 ubuntu-phablet NetworkManager[1173]: message repeated 11 times: [ <info> (/phonesim) updated available interfaces]
Oct  8 20:55:40 ubuntu-phablet NetworkManager[1173]: <info> ofono: found new ConnectionManager interface
Oct  8 20:55:40 ubuntu-phablet NetworkManager[1173]: <info> WWAN now enabled by management service
Oct  8 20:55:40 ubuntu-phablet NetworkManager[1173]: <info> (/phonesim) marked enabled: 1
Oct  8 20:55:40 ubuntu-phablet NetworkManager[1173]: <info> trying to read IMSI contexts from oFono files
Oct  8 20:55:40 ubuntu-phablet NetworkManager[1173]:    SCPlugin-Ofono: reading configuration for IMSI 246813579
Oct  8 20:55:40 ubuntu-phablet NetworkManager[1173]:    SCPlugin-Ofono: add context for 246813579
Oct  8 20:55:40 ubuntu-phablet NetworkManager[1173]:    SCPlugin-Ofono: add property 'Name': Internet
Oct  8 20:55:40 ubuntu-phablet NetworkManager[1173]:    SCPlugin-Ofono: add property 'AccessPointName': 
Oct  8 20:55:40 ubuntu-phablet NetworkManager[1173]:    SCPlugin-Ofono: add property 'Username': 
Oct  8 20:55:40 ubuntu-phablet NetworkManager[1173]:    SCPlugin-Ofono: add property 'Password': 
Oct  8 20:55:40 ubuntu-phablet NetworkManager[1173]:    SCPlugin-Ofono: add property 'Type': internet
Oct  8 20:55:40 ubuntu-phablet NetworkManager[1173]:    SCPlugin-Ofono: add property 'Protocol': ip
Oct  8 20:55:40 ubuntu-phablet NetworkManager[1173]:    SCPlugin-Ofono: found internet context 'Internet' (context1)
Oct  8 20:55:40 ubuntu-phablet NetworkManager[1173]:    SCPlugin-Ofono: update_connection_setting_from_context: name:Internet, path:context1,
type:internet, id:/246813579/context1, uuid: f8de7e56-8035-c868-3329-e837ddd5d548
Oct  8 20:55:40 ubuntu-phablet NetworkManager[1173]:    SCPlugin-Ofono: adding Internet (f8de7e56-8035-c868-3329-e837ddd5d548) to connections
Oct  8 20:55:40 ubuntu-phablet NetworkManager[1173]: <info> Auto-activating connection '/246813579/context1'.
Oct  8 20:55:40 ubuntu-phablet NetworkManager[1173]: <info> Activation (/phonesim) starting connection '/246813579/context1'
Oct  8 20:55:40 ubuntu-phablet NetworkManager[1173]: <info> (/phonesim): device state change: disconnected -> prepare (reason 'none') [30 40 0]
Oct  8 20:55:40 ubuntu-phablet NetworkManager[1173]: <info> Activation (/phonesim) Stage 1 of 5 (Device Prepare) scheduled...
Oct  8 20:55:40 ubuntu-phablet NetworkManager[1173]: <info> Activation (/phonesim) Stage 1 of 5 (Device Prepare) started...
Oct  8 20:55:40 ubuntu-phablet NetworkManager[1173]: <info> Activation (/phonesim) Stage 1 of 5 (Device Prepare) complete.
Oct  8 20:55:40 ubuntu-phablet NetworkManager[1173]: <info> (/phonesim): IPv4 static configuration:
Oct  8 20:55:40 ubuntu-phablet NetworkManager[1173]: <info> (/phonesim): device state change: prepare -> failed (reason 'ip-config-unavailable') [40
120 5]
Oct  8 20:55:40 ubuntu-phablet NetworkManager[1173]: <warn> Activation (/phonesim) failed for connection '/246813579/context1'
Oct  8 20:55:40 ubuntu-phablet NetworkManager[1173]: <info> (/phonesim): device state change: failed -> disconnected (reason 'none') [120 30 0]
Oct  8 20:55:40 ubuntu-phablet NetworkManager[1173]: <info> (/phonesim): deactivating device (reason 'none') [0]
Oct  8 20:55:40 ubuntu-phablet NetworkManager[1173]: <info> (/phonesim): IPv4 static configuration:
Oct  8 20:55:40 ubuntu-phablet NetworkManager[1173]: modem_prepare_result: assertion 'state == NM_DEVICE_STATE_PREPARE' failed
Oct  8 20:55:41 ubuntu-phablet NetworkManager[1173]:    SCPluginOfono: watching file changes for 246813579
Oct  8 20:55:41 ubuntu-phablet NetworkManager[1173]:    SCPlugin-Ofono: reading configuration for IMSI 246813579
Oct  8 20:55:41 ubuntu-phablet NetworkManager[1173]:    SCPlugin-Ofono: add context for 246813579
Oct  8 20:55:41 ubuntu-phablet NetworkManager[1173]:    SCPlugin-Ofono: add property 'Name': Internet
Oct  8 20:55:41 ubuntu-phablet NetworkManager[1173]:    SCPlugin-Ofono: add property 'AccessPointName': 
Oct  8 20:55:41 ubuntu-phablet NetworkManager[1173]:    SCPlugin-Ofono: add property 'Username': 
Oct  8 20:55:41 ubuntu-phablet NetworkManager[1173]:    SCPlugin-Ofono: add property 'Password': 
Oct  8 20:55:41 ubuntu-phablet NetworkManager[1173]:    SCPlugin-Ofono: add property 'Type': internet
Oct  8 20:55:41 ubuntu-phablet NetworkManager[1173]:    SCPlugin-Ofono: add property 'Protocol': ip
Oct  8 20:55:41 ubuntu-phablet NetworkManager[1173]:    SCPlugin-Ofono: found internet context 'Internet' (context1)
Oct  8 20:55:43 ubuntu-phablet NetworkManager[1173]: <info> Auto-activating connection '/246813579/context1'.
Oct  8 20:55:43 ubuntu-phablet NetworkManager[1173]: <info> Activation (/phonesim) starting connection '/246813579/context1'
Oct  8 20:55:43 ubuntu-phablet NetworkManager[1173]: <info> (/phonesim): device state change: disconnected -> prepare (reason 'none') [30 40 0]
Oct  8 20:55:43 ubuntu-phablet NetworkManager[1173]: <info> Activation (/phonesim) Stage 1 of 5 (Device Prepare) scheduled...
Oct  8 20:55:43 ubuntu-phablet NetworkManager[1173]: <info> Activation (/phonesim) Stage 1 of 5 (Device Prepare) started...
Oct  8 20:55:43 ubuntu-phablet NetworkManager[1173]: <info> Activation (/phonesim) Stage 1 of 5 (Device Prepare) complete.
Oct  8 20:55:43 ubuntu-phablet NetworkManager[1173]: <info> (/phonesim): IPv4 static configuration:
Oct  8 20:55:43 ubuntu-phablet NetworkManager[1173]: <info> (/phonesim): device state change: prepare -> failed (reason 'ip-config-unavailable') [40
120 5]
Oct  8 20:55:43 ubuntu-phablet NetworkManager[1173]: <warn> Activation (/phonesim) failed for connection '/246813579/context1'
Oct  8 20:55:43 ubuntu-phablet NetworkManager[1173]: <info> (/phonesim): device state change: failed -> disconnected (reason 'none') [120 30 0]
Oct  8 20:55:43 ubuntu-phablet NetworkManager[1173]: <info> (/phonesim): deactivating device (reason 'none') [0]
Oct  8 20:55:43 ubuntu-phablet NetworkManager[1173]: <info> (/phonesim): IPv4 static configuration:
Oct  8 20:55:43 ubuntu-phablet NetworkManager[1173]: modem_prepare_result: assertion 'state == NM_DEVICE_STATE_PREPARE' failed
Oct  8 20:55:44 ubuntu-phablet kernel: [  364.798679] input: py-evdev-uinput as /devices/virtual/input/input5
Oct  8 20:55:44 ubuntu-phablet kernel: [  364.799416] keychord: using input dev py-evdev-uinput for fevent
Oct  8 20:55:46 ubuntu-phablet NetworkManager[1173]: <info> Auto-activating connection '/246813579/context1'.
Oct  8 20:55:46 ubuntu-phablet NetworkManager[1173]: <info> Activation (/phonesim) starting connection '/246813579/context1'
Oct  8 20:55:46 ubuntu-phablet NetworkManager[1173]: <info> (/phonesim): device state change: disconnected -> prepare (reason 'none') [30 40 0]
Oct  8 20:55:46 ubuntu-phablet NetworkManager[1173]: <info> Activation (/phonesim) Stage 1 of 5 (Device Prepare) scheduled...
Oct  8 20:55:46 ubuntu-phablet NetworkManager[1173]: <info> Activation (/phonesim) Stage 1 of 5 (Device Prepare) started...
Oct  8 20:55:46 ubuntu-phablet NetworkManager[1173]: <info> Activation (/phonesim) Stage 1 of 5 (Device Prepare) complete.
Oct  8 20:55:46 ubuntu-phablet NetworkManager[1173]: <info> (/phonesim): IPv4 static configuration:
Oct  8 20:55:46 ubuntu-phablet NetworkManager[1173]: <info> (/phonesim): device state change: prepare -> failed (reason 'ip-config-unavailable') [40
120 5]
Oct  8 20:55:46 ubuntu-phablet NetworkManager[1173]: <warn> Activation (/phonesim) failed for connection '/246813579/context1'
Oct  8 20:55:46 ubuntu-phablet NetworkManager[1173]: <info> (/phonesim): device state change: failed -> disconnected (reason 'none') [120 30 0]
Oct  8 20:55:46 ubuntu-phablet NetworkManager[1173]: <info> (/phonesim): deactivating device (reason 'none') [0]
Oct  8 20:55:46 ubuntu-phablet NetworkManager[1173]: <info> (/phonesim): IPv4 static configuration:
Oct  8 20:55:46 ubuntu-phablet NetworkManager[1173]: modem_prepare_result: assertion 'state == NM_DEVICE_STATE_PREPARE' failed
Oct  8 20:55:49 ubuntu-phablet NetworkManager[1173]: <info> Auto-activating connection '/246813579/context1'.
Oct  8 20:55:49 ubuntu-phablet NetworkManager[1173]: <info> Activation (/phonesim) starting connection '/246813579/context1'
Oct  8 20:55:49 ubuntu-phablet NetworkManager[1173]: <info> (/phonesim): device state change: disconnected -> prepare (reason 'none') [30 40 0]
Oct  8 20:55:49 ubuntu-phablet NetworkManager[1173]: <info> Activation (/phonesim) Stage 1 of 5 (Device Prepare) scheduled...
Oct  8 20:55:49 ubuntu-phablet NetworkManager[1173]: <info> Activation (/phonesim) Stage 1 of 5 (Device Prepare) started...
Oct  8 20:55:49 ubuntu-phablet NetworkManager[1173]: <info> Activation (/phonesim) Stage 1 of 5 (Device Prepare) complete.
Oct  8 20:55:49 ubuntu-phablet NetworkManager[1173]: <info> (/phonesim): IPv4 static configuration:
Oct  8 20:55:49 ubuntu-phablet NetworkManager[1173]: <info> (/phonesim): device state change: prepare -> failed (reason 'ip-config-unavailable') [40
120 5]
Oct  8 20:55:49 ubuntu-phablet NetworkManager[1173]: <info> Marking connection '/246813579/context1' invalid.
Oct  8 20:55:49 ubuntu-phablet NetworkManager[1173]: <warn> Activation (/phonesim) failed for connection '/246813579/context1'
Oct  8 20:55:49 ubuntu-phablet NetworkManager[1173]: <info> (/phonesim): device state change: failed -> disconnected (reason 'none') [120 30 0]
Oct  8 20:55:49 ubuntu-phablet NetworkManager[1173]: <info> (/phonesim): deactivating device (reason 'none') [0]
Oct  8 20:55:49 ubuntu-phablet NetworkManager[1173]: <info> (/phonesim): IPv4 static configuration:
Oct  8 20:55:49 ubuntu-phablet NetworkManager[1173]: modem_prepare_result: assertion 'state == NM_DEVICE_STATE_PREPARE' failed
}}}

Application Log (messaging-app): {{{
messaging-app: unrecognized option '--test-contacts'
Testability driver loaded. Wire protocol version is "1.4".
qml: State Changed:collapsed
UbuntuWindow - regular geometry
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=800, height=1540)
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.
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.
file:///usr/share/messaging-app/Messages.qml:56: TypeError: Cannot read property 'length' of undefined
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: {{{
20:55:39.386 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
20:55:39.395 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
20:55:39.447 INFO _launcher:120 - Attempting to launch application 'messaging-app' with URIs '--test-contacts' via upstart-app-launch
20:55:44.419 INFO logging:45 - MainView: Write a new message and send it. Arguments ('123', 'hello from Ubuntu'). Keyword arguments: {}.
20:55:44.674 DEBUG _uinput:541 - Dragging from 400,1584 to 400,506
}}}

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