Testcase: test_write_new_message(with touch)

Build #:98:20141018:20141017.2
Arch:mako (Nexus 4)
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 18 11:05:36 ubuntu-phablet ofonod[3947]: Provisioning for MCC 246, MNC 81, SPN 'oFono', IMSI '246813579', GID1 '(null)'
Oct 18 11:05:36 ubuntu-phablet ofonod[3947]: Provisioning for MCC 246, MNC 81, SPN 'oFono', IMSI '246813579', GID1 '(null)'
Oct 18 11:05:36 ubuntu-phablet ofonod[3947]: provision_get_settings: provisioning failed - no APNs found.
Oct 18 11:05:36 ubuntu-phablet ofonod[3947]: Provisioning failed
Oct 18 11:05:36 ubuntu-phablet ofonod[3947]: Registered handle for channel 1: 0x10009
Oct 18 11:05:36 ubuntu-phablet NetworkManager[1439]: message repeated 11 times: [ <info> (/phonesim) updated available interfaces]
Oct 18 11:05:36 ubuntu-phablet NetworkManager[1439]: <info> (/phonesim): found new ConnectionManager interface
Oct 18 11:05:36 ubuntu-phablet NetworkManager[1439]: <info> (/phonesim): trying to update modem state: now disabled
Oct 18 11:05:36 ubuntu-phablet NetworkManager[1439]: <info> (/phonesim): trying to update modem state: now enabled
Oct 18 11:05:36 ubuntu-phablet NetworkManager[1439]: <info> WWAN now enabled by management service
Oct 18 11:05:36 ubuntu-phablet NetworkManager[1439]: <info> (/phonesim): now marked enabled
Oct 18 11:05:36 ubuntu-phablet NetworkManager[1439]: <info> (/phonesim): trying to read IMSI contexts from oFono files
Oct 18 11:05:36 ubuntu-phablet NetworkManager[1439]:    SCPlugin-Ofono: reading configuration for IMSI 246813579
Oct 18 11:05:36 ubuntu-phablet NetworkManager[1439]:    SCPlugin-Ofono: add context for 246813579
Oct 18 11:05:36 ubuntu-phablet NetworkManager[1439]:    SCPlugin-Ofono: add property 'Name': Internet
Oct 18 11:05:36 ubuntu-phablet NetworkManager[1439]:    SCPlugin-Ofono: add property 'AccessPointName': 
Oct 18 11:05:36 ubuntu-phablet NetworkManager[1439]:    SCPlugin-Ofono: add property 'Username': 
Oct 18 11:05:36 ubuntu-phablet NetworkManager[1439]:    SCPlugin-Ofono: add property 'Password': 
Oct 18 11:05:36 ubuntu-phablet NetworkManager[1439]:    SCPlugin-Ofono: add property 'Type': internet
Oct 18 11:05:36 ubuntu-phablet NetworkManager[1439]:    SCPlugin-Ofono: add property 'Protocol': ip
Oct 18 11:05:36 ubuntu-phablet NetworkManager[1439]:    SCPlugin-Ofono: found internet context 'Internet' (context1)
Oct 18 11:05:36 ubuntu-phablet NetworkManager[1439]:    SCPlugin-Ofono: update_connection_setting_from_context: name:Internet, path:context1,
type:internet, id:/246813579/context1, uuid: f8de7e56-8035-c868-3329-e837ddd5d548
Oct 18 11:05:36 ubuntu-phablet NetworkManager[1439]:    SCPlugin-Ofono: adding Internet (f8de7e56-8035-c868-3329-e837ddd5d548) to connections
Oct 18 11:05:36 ubuntu-phablet NetworkManager[1439]: <info> Auto-activating connection '/246813579/context1'.
Oct 18 11:05:36 ubuntu-phablet NetworkManager[1439]: <info> Activation (/phonesim) starting connection '/246813579/context1'
Oct 18 11:05:36 ubuntu-phablet NetworkManager[1439]: <info> (/phonesim): device state change: disconnected -> prepare (reason 'none') [30 40 0]
Oct 18 11:05:36 ubuntu-phablet NetworkManager[1439]: <info> Activation (/phonesim) Stage 1 of 5 (Device Prepare) scheduled...
Oct 18 11:05:36 ubuntu-phablet NetworkManager[1439]: <info> Activation (/phonesim) Stage 1 of 5 (Device Prepare) started...
Oct 18 11:05:36 ubuntu-phablet NetworkManager[1439]: <info> (/phonesim): activating context /phonesim/context1
Oct 18 11:05:36 ubuntu-phablet NetworkManager[1439]: <info> Activation (/phonesim) Stage 1 of 5 (Device Prepare) complete.
Oct 18 11:05:37 ubuntu-phablet NetworkManager[1439]: <info> (/phonesim): IPv4 static configuration:
Oct 18 11:05:37 ubuntu-phablet NetworkManager[1439]: <info> (/phonesim): device state change: prepare -> failed (reason 'ip-config-unavailable') [40
120 5]
Oct 18 11:05:37 ubuntu-phablet NetworkManager[1439]: <warn> Activation (/phonesim) failed for connection '/246813579/context1'
Oct 18 11:05:37 ubuntu-phablet NetworkManager[1439]: <info> (/phonesim): device state change: failed -> disconnected (reason 'none') [120 30 0]
Oct 18 11:05:37 ubuntu-phablet NetworkManager[1439]: <info> (/phonesim): deactivating device (reason 'none') [0]
Oct 18 11:05:37 ubuntu-phablet NetworkManager[1439]: <info> (/phonesim): IPv4 static configuration:
Oct 18 11:05:37 ubuntu-phablet NetworkManager[1439]: modem_prepare_result: assertion 'state == NM_DEVICE_STATE_PREPARE' failed
Oct 18 11:05:37 ubuntu-phablet NetworkManager[1439]:    SCPluginOfono: watching file changes for 246813579
Oct 18 11:05:37 ubuntu-phablet NetworkManager[1439]:    SCPlugin-Ofono: reading configuration for IMSI 246813579
Oct 18 11:05:37 ubuntu-phablet NetworkManager[1439]:    SCPlugin-Ofono: add context for 246813579
Oct 18 11:05:37 ubuntu-phablet NetworkManager[1439]:    SCPlugin-Ofono: add property 'Name': Internet
Oct 18 11:05:37 ubuntu-phablet NetworkManager[1439]:    SCPlugin-Ofono: add property 'AccessPointName': 
Oct 18 11:05:37 ubuntu-phablet NetworkManager[1439]:    SCPlugin-Ofono: add property 'Username': 
Oct 18 11:05:37 ubuntu-phablet NetworkManager[1439]:    SCPlugin-Ofono: add property 'Password': 
Oct 18 11:05:37 ubuntu-phablet NetworkManager[1439]:    SCPlugin-Ofono: add property 'Type': internet
Oct 18 11:05:37 ubuntu-phablet NetworkManager[1439]:    SCPlugin-Ofono: add property 'Protocol': ip
Oct 18 11:05:37 ubuntu-phablet NetworkManager[1439]:    SCPlugin-Ofono: found internet context 'Internet' (context1)
Oct 18 11:05:39 ubuntu-phablet kernel: [  112.461681] input: py-evdev-uinput as /devices/virtual/input/input7
Oct 18 11:05:39 ubuntu-phablet kernel: [  112.462383] keychord: using input dev py-evdev-uinput for fevent
Oct 18 11:05:39 ubuntu-phablet NetworkManager[1439]: <info> Auto-activating connection '/246813579/context1'.
Oct 18 11:05:39 ubuntu-phablet NetworkManager[1439]: <info> Activation (/phonesim) starting connection '/246813579/context1'
Oct 18 11:05:39 ubuntu-phablet NetworkManager[1439]: <info> (/phonesim): device state change: disconnected -> prepare (reason 'none') [30 40 0]
Oct 18 11:05:39 ubuntu-phablet NetworkManager[1439]: <info> Activation (/phonesim) Stage 1 of 5 (Device Prepare) scheduled...
Oct 18 11:05:39 ubuntu-phablet NetworkManager[1439]: <info> Activation (/phonesim) Stage 1 of 5 (Device Prepare) started...
Oct 18 11:05:39 ubuntu-phablet NetworkManager[1439]: <info> (/phonesim): activating context /phonesim/context1
Oct 18 11:05:39 ubuntu-phablet NetworkManager[1439]: <info> Activation (/phonesim) Stage 1 of 5 (Device Prepare) complete.
Oct 18 11:05:40 ubuntu-phablet NetworkManager[1439]: <info> (/phonesim): IPv4 static configuration:
Oct 18 11:05:40 ubuntu-phablet NetworkManager[1439]: <info> (/phonesim): device state change: prepare -> failed (reason 'ip-config-unavailable') [40
120 5]
Oct 18 11:05:40 ubuntu-phablet NetworkManager[1439]: <warn> Activation (/phonesim) failed for connection '/246813579/context1'
Oct 18 11:05:40 ubuntu-phablet NetworkManager[1439]: <info> (/phonesim): device state change: failed -> disconnected (reason 'none') [120 30 0]
Oct 18 11:05:40 ubuntu-phablet NetworkManager[1439]: <info> (/phonesim): deactivating device (reason 'none') [0]
Oct 18 11:05:40 ubuntu-phablet NetworkManager[1439]: <info> (/phonesim): IPv4 static configuration:
Oct 18 11:05:40 ubuntu-phablet NetworkManager[1439]: modem_prepare_result: assertion 'state == NM_DEVICE_STATE_PREPARE' failed
Oct 18 11:05:42 ubuntu-phablet NetworkManager[1439]: <info> Auto-activating connection '/246813579/context1'.
Oct 18 11:05:42 ubuntu-phablet NetworkManager[1439]: <info> Activation (/phonesim) starting connection '/246813579/context1'
Oct 18 11:05:42 ubuntu-phablet NetworkManager[1439]: <info> (/phonesim): device state change: disconnected -> prepare (reason 'none') [30 40 0]
Oct 18 11:05:42 ubuntu-phablet NetworkManager[1439]: <info> Activation (/phonesim) Stage 1 of 5 (Device Prepare) scheduled...
Oct 18 11:05:42 ubuntu-phablet NetworkManager[1439]: <info> Activation (/phonesim) Stage 1 of 5 (Device Prepare) started...
Oct 18 11:05:42 ubuntu-phablet NetworkManager[1439]: <info> (/phonesim): activating context /phonesim/context1
Oct 18 11:05:42 ubuntu-phablet NetworkManager[1439]: <info> Activation (/phonesim) Stage 1 of 5 (Device Prepare) complete.
Oct 18 11:05:43 ubuntu-phablet NetworkManager[1439]: <info> (/phonesim): IPv4 static configuration:
Oct 18 11:05:43 ubuntu-phablet NetworkManager[1439]: <info> (/phonesim): device state change: prepare -> failed (reason 'ip-config-unavailable') [40
120 5]
Oct 18 11:05:43 ubuntu-phablet NetworkManager[1439]: <warn> Activation (/phonesim) failed for connection '/246813579/context1'
Oct 18 11:05:43 ubuntu-phablet NetworkManager[1439]: <info> (/phonesim): device state change: failed -> disconnected (reason 'none') [120 30 0]
Oct 18 11:05:43 ubuntu-phablet NetworkManager[1439]: <info> (/phonesim): deactivating device (reason 'none') [0]
Oct 18 11:05:43 ubuntu-phablet NetworkManager[1439]: <info> (/phonesim): IPv4 static configuration:
Oct 18 11:05:43 ubuntu-phablet NetworkManager[1439]: modem_prepare_result: assertion 'state == NM_DEVICE_STATE_PREPARE' failed
Oct 18 11:05:45 ubuntu-phablet NetworkManager[1439]: <info> Auto-activating connection '/246813579/context1'.
Oct 18 11:05:45 ubuntu-phablet NetworkManager[1439]: <info> Activation (/phonesim) starting connection '/246813579/context1'
Oct 18 11:05:45 ubuntu-phablet NetworkManager[1439]: <info> (/phonesim): device state change: disconnected -> prepare (reason 'none') [30 40 0]
Oct 18 11:05:45 ubuntu-phablet NetworkManager[1439]: <info> Activation (/phonesim) Stage 1 of 5 (Device Prepare) scheduled...
Oct 18 11:05:45 ubuntu-phablet NetworkManager[1439]: <info> Activation (/phonesim) Stage 1 of 5 (Device Prepare) started...
Oct 18 11:05:45 ubuntu-phablet NetworkManager[1439]: <info> (/phonesim): activating context /phonesim/context1
Oct 18 11:05:45 ubuntu-phablet NetworkManager[1439]: <info> Activation (/phonesim) Stage 1 of 5 (Device Prepare) complete.
Oct 18 11:05:46 ubuntu-phablet NetworkManager[1439]: <info> (/phonesim): IPv4 static configuration:
Oct 18 11:05:46 ubuntu-phablet NetworkManager[1439]: <info> (/phonesim): device state change: prepare -> failed (reason 'ip-config-unavailable') [40
120 5]
Oct 18 11:05:46 ubuntu-phablet NetworkManager[1439]: <info> Marking connection '/246813579/context1' invalid.
Oct 18 11:05:46 ubuntu-phablet NetworkManager[1439]: <warn> Activation (/phonesim) failed for connection '/246813579/context1'
Oct 18 11:05:46 ubuntu-phablet NetworkManager[1439]: <info> (/phonesim): device state change: failed -> disconnected (reason 'none') [120 30 0]
Oct 18 11:05:46 ubuntu-phablet NetworkManager[1439]: <info> (/phonesim): deactivating device (reason 'none') [0]
Oct 18 11:05:46 ubuntu-phablet NetworkManager[1439]: <info> (/phonesim): IPv4 static configuration:
Oct 18 11:05:46 ubuntu-phablet NetworkManager[1439]: 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".
UbuntuWindow - regular geometry
UbuntuWindow::handleSurfaceResize(width=768, height=1222)
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: {{{
11:05:33.067 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
11:05:33.094 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
11:05:33.199 INFO _launcher:120 - Attempting to launch application 'messaging-app' with URIs '--test-contacts' via upstart-app-launch
11:05:40.073 INFO logging:45 - MainView: Write a new message and send it. Arguments ('123', 'hello from Ubuntu'). Keyword arguments: {}.
11:05:40.673 DEBUG _uinput:541 - Dragging from 384,1262 to 384,521
}}}

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