Testcase: test_delete_message_without_selecting_a_message(with touch)

Build #:101:20141020.1: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_delete_message_without_selecting_a_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 20 22:56:31 ubuntu-phablet wpa_supplicant[1763]: rfkill: WLAN unblocked
Oct 20 22:56:45 ubuntu-phablet wpa_supplicant[1763]: wlan0: CTRL-EVENT-SCAN-STARTED 
Oct 20 22:56:45 ubuntu-phablet kernel: [  146.758980] wlan: [1416:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 00:21:d8:49:c8:ef chan=
36, rssi = -89, countryCode US
Oct 20 22:56:45 ubuntu-phablet kernel: [  146.759194] wlan: [1416:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 00:21:d8:49:c8:ee chan=
36, rssi = -85, countryCode US
Oct 20 22:56:45 ubuntu-phablet kernel: [  146.759468] wlan: [1416:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 00:21:d8:49:c8:e9 chan=
36, rssi = -84, countryCode US
Oct 20 22:56:45 ubuntu-phablet kernel: [  146.759682] wlan: [1416:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 00:21:d8:49:c8:e6 chan=
6, rssi = -67, countryCode US
Oct 20 22:56:45 ubuntu-phablet kernel: [  146.759896] wlan: [1416:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 00:21:d8:49:c8:e3 chan=
6, rssi = -65, countryCode US
Oct 20 22:56:45 ubuntu-phablet kernel: [  146.760109] wlan: [1416:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 74:91:1a:28:c5:dd chan=
161, rssi = -58, countryCode US
Oct 20 22:56:45 ubuntu-phablet kernel: [  146.760323] wlan: [1416:E :SME] csrMoveTempScanResultsToMainList: 2928: Information about current country
Bssid 74:91:1a:28:c5:dc chan= 161, rssi = -61, countryCode US
Oct 20 22:56:46 ubuntu-phablet ofonod[4035]: Provisioning for MCC 246, MNC 81, SPN 'oFono', IMSI '246813579', GID1 '(null)'
Oct 20 22:56:46 ubuntu-phablet ofonod[4035]: Provisioning for MCC 246, MNC 81, SPN 'oFono', IMSI '246813579', GID1 '(null)'
Oct 20 22:56:47 ubuntu-phablet ofonod[4035]: provision_get_settings: provisioning failed - no APNs found.
Oct 20 22:56:47 ubuntu-phablet ofonod[4035]: Provisioning failed
Oct 20 22:56:47 ubuntu-phablet NetworkManager[1441]: message repeated 11 times: [ <info> (/phonesim) updated available interfaces]
Oct 20 22:56:47 ubuntu-phablet NetworkManager[1441]: <info> (/phonesim): found new ConnectionManager interface
Oct 20 22:56:47 ubuntu-phablet ofonod[4035]: Registered handle for channel 1: 0x10009
Oct 20 22:56:47 ubuntu-phablet NetworkManager[1441]: <info> (/phonesim): trying to update modem state: now disabled
Oct 20 22:56:47 ubuntu-phablet NetworkManager[1441]: <info> (/phonesim): trying to update modem state: now enabled
Oct 20 22:56:47 ubuntu-phablet NetworkManager[1441]: <info> WWAN now enabled by management service
Oct 20 22:56:47 ubuntu-phablet NetworkManager[1441]: <info> (/phonesim): now marked enabled
Oct 20 22:56:47 ubuntu-phablet NetworkManager[1441]: <info> (/phonesim): trying to read IMSI contexts from oFono files
Oct 20 22:56:47 ubuntu-phablet NetworkManager[1441]:    SCPlugin-Ofono: reading configuration for IMSI 246813579
Oct 20 22:56:47 ubuntu-phablet NetworkManager[1441]:    SCPlugin-Ofono: add context for 246813579
Oct 20 22:56:47 ubuntu-phablet NetworkManager[1441]:    SCPlugin-Ofono: add property 'Name': Internet
Oct 20 22:56:47 ubuntu-phablet NetworkManager[1441]:    SCPlugin-Ofono: add property 'AccessPointName': 
Oct 20 22:56:47 ubuntu-phablet NetworkManager[1441]:    SCPlugin-Ofono: add property 'Username': 
Oct 20 22:56:47 ubuntu-phablet NetworkManager[1441]:    SCPlugin-Ofono: add property 'Password': 
Oct 20 22:56:47 ubuntu-phablet NetworkManager[1441]:    SCPlugin-Ofono: add property 'Type': internet
Oct 20 22:56:47 ubuntu-phablet NetworkManager[1441]:    SCPlugin-Ofono: add property 'Protocol': ip
Oct 20 22:56:47 ubuntu-phablet NetworkManager[1441]:    SCPlugin-Ofono: found internet context 'Internet' (context1)
Oct 20 22:56:47 ubuntu-phablet NetworkManager[1441]:    SCPlugin-Ofono: update_connection_setting_from_context: name:Internet, path:context1,
type:internet, id:/246813579/context1, uuid: f8de7e56-8035-c868-3329-e837ddd5d548
Oct 20 22:56:47 ubuntu-phablet NetworkManager[1441]:    SCPlugin-Ofono: adding Internet (f8de7e56-8035-c868-3329-e837ddd5d548) to connections
Oct 20 22:56:47 ubuntu-phablet NetworkManager[1441]: <info> Auto-activating connection '/246813579/context1'.
Oct 20 22:56:47 ubuntu-phablet NetworkManager[1441]: <info> Activation (/phonesim) starting connection '/246813579/context1'
Oct 20 22:56:47 ubuntu-phablet NetworkManager[1441]: <info> (/phonesim): device state change: disconnected -> prepare (reason 'none') [30 40 0]
Oct 20 22:56:47 ubuntu-phablet NetworkManager[1441]: <info> Activation (/phonesim) Stage 1 of 5 (Device Prepare) scheduled...
Oct 20 22:56:47 ubuntu-phablet NetworkManager[1441]: <info> Activation (/phonesim) Stage 1 of 5 (Device Prepare) started...
Oct 20 22:56:47 ubuntu-phablet NetworkManager[1441]: <info> (/phonesim): activating context /phonesim/context1
Oct 20 22:56:47 ubuntu-phablet NetworkManager[1441]: <info> Activation (/phonesim) Stage 1 of 5 (Device Prepare) complete.
Oct 20 22:56:47 ubuntu-phablet NetworkManager[1441]: <info> (/phonesim): IPv4 static configuration:
Oct 20 22:56:47 ubuntu-phablet NetworkManager[1441]: <info> (/phonesim): device state change: prepare -> failed (reason 'ip-config-unavailable') [40
120 5]
Oct 20 22:56:47 ubuntu-phablet NetworkManager[1441]: <warn> Activation (/phonesim) failed for connection '/246813579/context1'
Oct 20 22:56:47 ubuntu-phablet NetworkManager[1441]: <info> (/phonesim): device state change: failed -> disconnected (reason 'none') [120 30 0]
Oct 20 22:56:47 ubuntu-phablet NetworkManager[1441]: <info> (/phonesim): deactivating device (reason 'none') [0]
Oct 20 22:56:47 ubuntu-phablet NetworkManager[1441]: <info> (/phonesim): IPv4 static configuration:
Oct 20 22:56:47 ubuntu-phablet NetworkManager[1441]: modem_prepare_result: assertion 'state == NM_DEVICE_STATE_PREPARE' failed
Oct 20 22:56:48 ubuntu-phablet NetworkManager[1441]:    SCPluginOfono: watching file changes for 246813579
Oct 20 22:56:48 ubuntu-phablet NetworkManager[1441]:    SCPlugin-Ofono: reading configuration for IMSI 246813579
Oct 20 22:56:48 ubuntu-phablet NetworkManager[1441]:    SCPlugin-Ofono: add context for 246813579
Oct 20 22:56:48 ubuntu-phablet NetworkManager[1441]:    SCPlugin-Ofono: add property 'Name': Internet
Oct 20 22:56:48 ubuntu-phablet NetworkManager[1441]:    SCPlugin-Ofono: add property 'AccessPointName': 
Oct 20 22:56:48 ubuntu-phablet NetworkManager[1441]:    SCPlugin-Ofono: add property 'Username': 
Oct 20 22:56:48 ubuntu-phablet NetworkManager[1441]:    SCPlugin-Ofono: add property 'Password': 
Oct 20 22:56:48 ubuntu-phablet NetworkManager[1441]:    SCPlugin-Ofono: add property 'Type': internet
Oct 20 22:56:48 ubuntu-phablet NetworkManager[1441]:    SCPlugin-Ofono: add property 'Protocol': ip
Oct 20 22:56:48 ubuntu-phablet NetworkManager[1441]:    SCPlugin-Ofono: found internet context 'Internet' (context1)
Oct 20 22:56:49 ubuntu-phablet kernel: [  150.110666] input: py-evdev-uinput as /devices/virtual/input/input7
Oct 20 22:56:49 ubuntu-phablet kernel: [  150.111216] keychord: using input dev py-evdev-uinput for fevent
Oct 20 22:56:51 ubuntu-phablet NetworkManager[1441]: <info> Auto-activating connection '/246813579/context1'.
Oct 20 22:56:51 ubuntu-phablet NetworkManager[1441]: <info> Activation (/phonesim) starting connection '/246813579/context1'
Oct 20 22:56:51 ubuntu-phablet NetworkManager[1441]: <info> (/phonesim): device state change: disconnected -> prepare (reason 'none') [30 40 0]
Oct 20 22:56:51 ubuntu-phablet NetworkManager[1441]: <info> Activation (/phonesim) Stage 1 of 5 (Device Prepare) scheduled...
Oct 20 22:56:51 ubuntu-phablet NetworkManager[1441]: <info> Activation (/phonesim) Stage 1 of 5 (Device Prepare) started...
Oct 20 22:56:51 ubuntu-phablet NetworkManager[1441]: <info> (/phonesim): activating context /phonesim/context1
Oct 20 22:56:51 ubuntu-phablet NetworkManager[1441]: <info> Activation (/phonesim) Stage 1 of 5 (Device Prepare) complete.
Oct 20 22:56:51 ubuntu-phablet NetworkManager[1441]: <info> (/phonesim): IPv4 static configuration:
Oct 20 22:56:51 ubuntu-phablet NetworkManager[1441]: <info> (/phonesim): device state change: prepare -> failed (reason 'ip-config-unavailable') [40
120 5]
Oct 20 22:56:51 ubuntu-phablet NetworkManager[1441]: <warn> Activation (/phonesim) failed for connection '/246813579/context1'
Oct 20 22:56:51 ubuntu-phablet NetworkManager[1441]: <info> (/phonesim): device state change: failed -> disconnected (reason 'none') [120 30 0]
Oct 20 22:56:51 ubuntu-phablet NetworkManager[1441]: <info> (/phonesim): deactivating device (reason 'none') [0]
Oct 20 22:56:51 ubuntu-phablet NetworkManager[1441]: <info> (/phonesim): IPv4 static configuration:
Oct 20 22:56:51 ubuntu-phablet NetworkManager[1441]: modem_prepare_result: assertion 'state == NM_DEVICE_STATE_PREPARE' failed
Oct 20 22:56:54 ubuntu-phablet NetworkManager[1441]: <info> Auto-activating connection '/246813579/context1'.
Oct 20 22:56:54 ubuntu-phablet NetworkManager[1441]: <info> Activation (/phonesim) starting connection '/246813579/context1'
Oct 20 22:56:54 ubuntu-phablet NetworkManager[1441]: <info> (/phonesim): device state change: disconnected -> prepare (reason 'none') [30 40 0]
Oct 20 22:56:54 ubuntu-phablet NetworkManager[1441]: <info> Activation (/phonesim) Stage 1 of 5 (Device Prepare) scheduled...
Oct 20 22:56:54 ubuntu-phablet NetworkManager[1441]: <info> Activation (/phonesim) Stage 1 of 5 (Device Prepare) started...
Oct 20 22:56:54 ubuntu-phablet NetworkManager[1441]: <info> (/phonesim): activating context /phonesim/context1
Oct 20 22:56:54 ubuntu-phablet NetworkManager[1441]: <info> Activation (/phonesim) Stage 1 of 5 (Device Prepare) complete.
Oct 20 22:56:54 ubuntu-phablet NetworkManager[1441]: <info> (/phonesim): IPv4 static configuration:
Oct 20 22:56:54 ubuntu-phablet NetworkManager[1441]: <info> (/phonesim): device state change: prepare -> failed (reason 'ip-config-unavailable') [40
120 5]
Oct 20 22:56:54 ubuntu-phablet NetworkManager[1441]: <warn> Activation (/phonesim) failed for connection '/246813579/context1'
Oct 20 22:56:54 ubuntu-phablet NetworkManager[1441]: <info> (/phonesim): device state change: failed -> disconnected (reason 'none') [120 30 0]
Oct 20 22:56:54 ubuntu-phablet NetworkManager[1441]: <info> (/phonesim): deactivating device (reason 'none') [0]
Oct 20 22:56:54 ubuntu-phablet NetworkManager[1441]: <info> (/phonesim): IPv4 static configuration:
Oct 20 22:56:54 ubuntu-phablet NetworkManager[1441]: modem_prepare_result: assertion 'state == NM_DEVICE_STATE_PREPARE' failed
Oct 20 22:56:57 ubuntu-phablet NetworkManager[1441]: <info> Auto-activating connection '/246813579/context1'.
Oct 20 22:56:57 ubuntu-phablet NetworkManager[1441]: <info> Activation (/phonesim) starting connection '/246813579/context1'
Oct 20 22:56:57 ubuntu-phablet NetworkManager[1441]: <info> (/phonesim): device state change: disconnected -> prepare (reason 'none') [30 40 0]
Oct 20 22:56:57 ubuntu-phablet NetworkManager[1441]: <info> Activation (/phonesim) Stage 1 of 5 (Device Prepare) scheduled...
Oct 20 22:56:57 ubuntu-phablet NetworkManager[1441]: <info> Activation (/phonesim) Stage 1 of 5 (Device Prepare) started...
Oct 20 22:56:57 ubuntu-phablet NetworkManager[1441]: <info> (/phonesim): activating context /phonesim/context1
Oct 20 22:56:57 ubuntu-phablet NetworkManager[1441]: <info> Activation (/phonesim) Stage 1 of 5 (Device Prepare) complete.
Oct 20 22:56:57 ubuntu-phablet NetworkManager[1441]: <info> (/phonesim): IPv4 static configuration:
Oct 20 22:56:57 ubuntu-phablet NetworkManager[1441]: <info> (/phonesim): device state change: prepare -> failed (reason 'ip-config-unavailable') [40
120 5]
Oct 20 22:56:57 ubuntu-phablet NetworkManager[1441]: <info> Marking connection '/246813579/context1' invalid.
Oct 20 22:56:57 ubuntu-phablet NetworkManager[1441]: <warn> Activation (/phonesim) failed for connection '/246813579/context1'
Oct 20 22:56:57 ubuntu-phablet NetworkManager[1441]: <info> (/phonesim): device state change: failed -> disconnected (reason 'none') [120 30 0]
Oct 20 22:56:57 ubuntu-phablet NetworkManager[1441]: <info> (/phonesim): deactivating device (reason 'none') [0]
Oct 20 22:56:57 ubuntu-phablet NetworkManager[1441]: <info> (/phonesim): IPv4 static configuration:
Oct 20 22:56:57 ubuntu-phablet NetworkManager[1441]: 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: {{{
22:56:42.903 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
22:56:42.915 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
22:56:42.978 INFO _launcher:120 - Attempting to launch application 'messaging-app' with URIs '--test-contacts' via upstart-app-launch
22:56:49.669 INFO logging:45 - MainView: Write a new message and send it. Arguments ('555-555-4321', 'delete me'). Keyword arguments: {}.
22:56:50.257 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 182, in test_delete_message_without_selecting_a_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