Testcase: test_outgoing_answer_local_hangup

Build #:128:20141117:20141106
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_outgoing_answer_local_hangup
testsuite
dialer_app.tests.test_calls.TestCalls
returncode
1
command
autopilot
stderr
_StringException: Binary content:
  FailedTestScreenshot (image/png)

/var/log/syslog: {{{
Nov 17 21:03:55 ubuntu-phablet kernel: [  154.665893] input: autopilot-finger as /devices/virtual/input/input6
Nov 17 21:03:55 ubuntu-phablet ofonod[4434]: Provisioning for MCC 246, MNC 81, SPN 'oFono', IMSI '246813579', GID1 '(null)'
Nov 17 21:03:55 ubuntu-phablet ofonod[4434]: Provisioning for MCC 246, MNC 81, SPN 'oFono', IMSI '246813579', GID1 '(null)'
Nov 17 21:03:55 ubuntu-phablet ofonod[4434]: provision_get_settings: provisioning failed - no APNs found.
Nov 17 21:03:55 ubuntu-phablet ofonod[4434]: Provisioning failed
Nov 17 21:03:55 ubuntu-phablet ofonod[4434]: Registered handle for channel 1: 0x10009
Nov 17 21:03:56 ubuntu-phablet NetworkManager[1691]: message repeated 11 times: [ <info> (/phonesim) updated available interfaces]
Nov 17 21:03:56 ubuntu-phablet NetworkManager[1691]: <info> (/phonesim): found new ConnectionManager interface
Nov 17 21:03:56 ubuntu-phablet NetworkManager[1691]: <info> (/phonesim): trying to update modem state: now disabled
Nov 17 21:03:56 ubuntu-phablet NetworkManager[1691]: <info> (/phonesim): trying to update modem state: now enabled
Nov 17 21:03:56 ubuntu-phablet NetworkManager[1691]: <info> WWAN now enabled by management service
Nov 17 21:03:56 ubuntu-phablet NetworkManager[1691]: <info> (/phonesim): now marked enabled
Nov 17 21:03:56 ubuntu-phablet NetworkManager[1691]: <info> (/phonesim): trying to read IMSI contexts from oFono files
Nov 17 21:03:56 ubuntu-phablet NetworkManager[1691]:    SCPlugin-Ofono: reading configuration for IMSI 246813579
Nov 17 21:03:56 ubuntu-phablet NetworkManager[1691]:    SCPlugin-Ofono: add context for 246813579
Nov 17 21:03:56 ubuntu-phablet NetworkManager[1691]:    SCPlugin-Ofono: add property 'Name': Internet
Nov 17 21:03:56 ubuntu-phablet NetworkManager[1691]:    SCPlugin-Ofono: add property 'AccessPointName': 
Nov 17 21:03:56 ubuntu-phablet NetworkManager[1691]:    SCPlugin-Ofono: add property 'Username': 
Nov 17 21:03:56 ubuntu-phablet NetworkManager[1691]:    SCPlugin-Ofono: add property 'Password': 
Nov 17 21:03:56 ubuntu-phablet NetworkManager[1691]:    SCPlugin-Ofono: add property 'Type': internet
Nov 17 21:03:56 ubuntu-phablet NetworkManager[1691]:    SCPlugin-Ofono: add property 'Protocol': ip
Nov 17 21:03:56 ubuntu-phablet NetworkManager[1691]:    SCPlugin-Ofono: found internet context 'Internet' (context1)
Nov 17 21:03:56 ubuntu-phablet NetworkManager[1691]:    SCPlugin-Ofono: update_connection_setting_from_context: name:Internet, path:context1,
type:internet, id:/246813579/context1, uuid: f8de7e56-8035-c868-3329-e837ddd5d548
Nov 17 21:03:56 ubuntu-phablet NetworkManager[1691]:    SCPlugin-Ofono: adding Internet (f8de7e56-8035-c868-3329-e837ddd5d548) to connections
Nov 17 21:03:56 ubuntu-phablet NetworkManager[1691]: <info> Auto-activating connection '/246813579/context1'.
Nov 17 21:03:56 ubuntu-phablet NetworkManager[1691]: <info> Activation (/phonesim) starting connection '/246813579/context1'
Nov 17 21:03:56 ubuntu-phablet NetworkManager[1691]: <info> (/phonesim): device state change: disconnected -> prepare (reason 'none') [30 40 0]
Nov 17 21:03:56 ubuntu-phablet NetworkManager[1691]: <info> Activation (/phonesim) Stage 1 of 5 (Device Prepare) scheduled...
Nov 17 21:03:56 ubuntu-phablet NetworkManager[1691]: <info> Activation (/phonesim) Stage 1 of 5 (Device Prepare) started...
Nov 17 21:03:56 ubuntu-phablet NetworkManager[1691]: <info> (/phonesim): activating context /phonesim/context1
Nov 17 21:03:56 ubuntu-phablet NetworkManager[1691]: <info> Activation (/phonesim) Stage 1 of 5 (Device Prepare) complete.
Nov 17 21:03:56 ubuntu-phablet NetworkManager[1691]: <info> (/phonesim): IPv4 static configuration:
Nov 17 21:03:56 ubuntu-phablet NetworkManager[1691]: <info> (/phonesim): device state change: prepare -> failed (reason 'ip-config-unavailable') [40
120 5]
Nov 17 21:03:56 ubuntu-phablet NetworkManager[1691]: <warn> Activation (/phonesim) failed for connection '/246813579/context1'
Nov 17 21:03:56 ubuntu-phablet NetworkManager[1691]: <info> (/phonesim): device state change: failed -> disconnected (reason 'none') [120 30 0]
Nov 17 21:03:56 ubuntu-phablet NetworkManager[1691]: <info> (/phonesim): deactivating device (reason 'none') [0]
Nov 17 21:03:56 ubuntu-phablet NetworkManager[1691]: <info> (/phonesim): IPv4 static configuration:
Nov 17 21:03:56 ubuntu-phablet NetworkManager[1691]: modem_prepare_result: assertion 'state == NM_DEVICE_STATE_PREPARE' failed
Nov 17 21:03:57 ubuntu-phablet NetworkManager[1691]:    SCPluginOfono: watching file changes for 246813579
Nov 17 21:03:57 ubuntu-phablet NetworkManager[1691]:    SCPlugin-Ofono: reading configuration for IMSI 246813579
Nov 17 21:03:57 ubuntu-phablet NetworkManager[1691]:    SCPlugin-Ofono: add context for 246813579
Nov 17 21:03:57 ubuntu-phablet NetworkManager[1691]:    SCPlugin-Ofono: add property 'Name': Internet
Nov 17 21:03:57 ubuntu-phablet NetworkManager[1691]:    SCPlugin-Ofono: add property 'AccessPointName': 
Nov 17 21:03:57 ubuntu-phablet NetworkManager[1691]:    SCPlugin-Ofono: add property 'Username': 
Nov 17 21:03:57 ubuntu-phablet NetworkManager[1691]:    SCPlugin-Ofono: add property 'Password': 
Nov 17 21:03:57 ubuntu-phablet NetworkManager[1691]:    SCPlugin-Ofono: add property 'Type': internet
Nov 17 21:03:57 ubuntu-phablet NetworkManager[1691]:    SCPlugin-Ofono: add property 'Protocol': ip
Nov 17 21:03:57 ubuntu-phablet NetworkManager[1691]:    SCPlugin-Ofono: found internet context 'Internet' (context1)
Nov 17 21:03:59 ubuntu-phablet NetworkManager[1691]: <info> Auto-activating connection '/246813579/context1'.
Nov 17 21:03:59 ubuntu-phablet NetworkManager[1691]: <info> Activation (/phonesim) starting connection '/246813579/context1'
Nov 17 21:03:59 ubuntu-phablet NetworkManager[1691]: <info> (/phonesim): device state change: disconnected -> prepare (reason 'none') [30 40 0]
Nov 17 21:03:59 ubuntu-phablet NetworkManager[1691]: <info> Activation (/phonesim) Stage 1 of 5 (Device Prepare) scheduled...
Nov 17 21:03:59 ubuntu-phablet NetworkManager[1691]: <info> Activation (/phonesim) Stage 1 of 5 (Device Prepare) started...
Nov 17 21:03:59 ubuntu-phablet NetworkManager[1691]: <info> (/phonesim): activating context /phonesim/context1
Nov 17 21:03:59 ubuntu-phablet NetworkManager[1691]: <info> Activation (/phonesim) Stage 1 of 5 (Device Prepare) complete.
Nov 17 21:03:59 ubuntu-phablet NetworkManager[1691]: <info> (/phonesim): IPv4 static configuration:
Nov 17 21:03:59 ubuntu-phablet NetworkManager[1691]: <info> (/phonesim): device state change: prepare -> failed (reason 'ip-config-unavailable') [40
120 5]
Nov 17 21:03:59 ubuntu-phablet NetworkManager[1691]: <warn> Activation (/phonesim) failed for connection '/246813579/context1'
Nov 17 21:03:59 ubuntu-phablet NetworkManager[1691]: <info> (/phonesim): device state change: failed -> disconnected (reason 'none') [120 30 0]
Nov 17 21:03:59 ubuntu-phablet NetworkManager[1691]: <info> (/phonesim): deactivating device (reason 'none') [0]
Nov 17 21:03:59 ubuntu-phablet NetworkManager[1691]: <info> (/phonesim): IPv4 static configuration:
Nov 17 21:03:59 ubuntu-phablet NetworkManager[1691]: modem_prepare_result: assertion 'state == NM_DEVICE_STATE_PREPARE' failed
Nov 17 21:04:00 ubuntu-phablet kernel: [  159.790893] setting pm_qos in msm_pcm_playback_copy with 1000
Nov 17 21:04:00 ubuntu-phablet kernel: [  159.790924] done setting pm_qos in msm_pcm_playback_copy
Nov 17 21:04:02 ubuntu-phablet NetworkManager[1691]: <info> Auto-activating connection '/246813579/context1'.
Nov 17 21:04:02 ubuntu-phablet NetworkManager[1691]: <info> Activation (/phonesim) starting connection '/246813579/context1'
Nov 17 21:04:02 ubuntu-phablet NetworkManager[1691]: <info> (/phonesim): device state change: disconnected -> prepare (reason 'none') [30 40 0]
Nov 17 21:04:02 ubuntu-phablet NetworkManager[1691]: <info> Activation (/phonesim) Stage 1 of 5 (Device Prepare) scheduled...
Nov 17 21:04:02 ubuntu-phablet NetworkManager[1691]: <info> Activation (/phonesim) Stage 1 of 5 (Device Prepare) started...
Nov 17 21:04:02 ubuntu-phablet NetworkManager[1691]: <info> (/phonesim): activating context /phonesim/context1
Nov 17 21:04:02 ubuntu-phablet NetworkManager[1691]: <info> Activation (/phonesim) Stage 1 of 5 (Device Prepare) complete.
Nov 17 21:04:02 ubuntu-phablet NetworkManager[1691]: <info> (/phonesim): IPv4 static configuration:
Nov 17 21:04:02 ubuntu-phablet NetworkManager[1691]: <info> (/phonesim): device state change: prepare -> failed (reason 'ip-config-unavailable') [40
120 5]
Nov 17 21:04:02 ubuntu-phablet NetworkManager[1691]: <warn> Activation (/phonesim) failed for connection '/246813579/context1'
Nov 17 21:04:02 ubuntu-phablet NetworkManager[1691]: <info> (/phonesim): device state change: failed -> disconnected (reason 'none') [120 30 0]
Nov 17 21:04:02 ubuntu-phablet NetworkManager[1691]: <info> (/phonesim): deactivating device (reason 'none') [0]
Nov 17 21:04:02 ubuntu-phablet NetworkManager[1691]: <info> (/phonesim): IPv4 static configuration:
Nov 17 21:04:02 ubuntu-phablet NetworkManager[1691]: modem_prepare_result: assertion 'state == NM_DEVICE_STATE_PREPARE' failed
Nov 17 21:04:05 ubuntu-phablet NetworkManager[1691]: <info> Auto-activating connection '/246813579/context1'.
Nov 17 21:04:05 ubuntu-phablet NetworkManager[1691]: <info> Activation (/phonesim) starting connection '/246813579/context1'
Nov 17 21:04:05 ubuntu-phablet NetworkManager[1691]: <info> (/phonesim): device state change: disconnected -> prepare (reason 'none') [30 40 0]
Nov 17 21:04:05 ubuntu-phablet NetworkManager[1691]: <info> Activation (/phonesim) Stage 1 of 5 (Device Prepare) scheduled...
Nov 17 21:04:05 ubuntu-phablet NetworkManager[1691]: <info> Activation (/phonesim) Stage 1 of 5 (Device Prepare) started...
Nov 17 21:04:05 ubuntu-phablet NetworkManager[1691]: <info> (/phonesim): activating context /phonesim/context1
Nov 17 21:04:05 ubuntu-phablet NetworkManager[1691]: <info> Activation (/phonesim) Stage 1 of 5 (Device Prepare) complete.
Nov 17 21:04:05 ubuntu-phablet NetworkManager[1691]: <info> (/phonesim): IPv4 static configuration:
Nov 17 21:04:05 ubuntu-phablet NetworkManager[1691]: <info> (/phonesim): device state change: prepare -> failed (reason 'ip-config-unavailable') [40
120 5]
Nov 17 21:04:05 ubuntu-phablet NetworkManager[1691]: <info> Marking connection '/246813579/context1' invalid.
Nov 17 21:04:05 ubuntu-phablet NetworkManager[1691]: <warn> Activation (/phonesim) failed for connection '/246813579/context1'
Nov 17 21:04:05 ubuntu-phablet NetworkManager[1691]: <info> (/phonesim): device state change: failed -> disconnected (reason 'none') [120 30 0]
Nov 17 21:04:05 ubuntu-phablet NetworkManager[1691]: <info> (/phonesim): deactivating device (reason 'none') [0]
Nov 17 21:04:05 ubuntu-phablet NetworkManager[1691]: <info> (/phonesim): IPv4 static configuration:
Nov 17 21:04:05 ubuntu-phablet NetworkManager[1691]: modem_prepare_result: assertion 'state == NM_DEVICE_STATE_PREPARE' failed
Nov 17 21:04:10 ubuntu-phablet kernel: [  170.272094] updating pm_qos value to default msm_pcm_playback_close
Nov 17 21:04:10 ubuntu-phablet kernel: [  170.272155] done updating pm_qos value to default msm_pcm_playback_close
}}}

Application Log (dialer-app): {{{
void installIconPath()
Testability driver loaded. Wire protocol version is "1.4".
file:///usr/share/dialer-app/dialer-app.qml:34:32: Unable to assign [undefined] to QObject*
UbuntuWindow - regular geometry
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=1200, height=1862)
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.
The phone number is not a valid number: "dummy"
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.
com.canonical.usensord.Error: open /sys/class/timed_output/vibrator/enable: no such file or directory
qml: Starting a call to 061-2302
file:///usr/share/dialer-app/LiveCallPage/LiveCall.qml:453:5: QML Row: Binding loop detected for property "height"
file:///usr/share/dialer-app/LiveCallPage/LiveCall.qml:453:5: QML Row: Binding loop detected for property "height"
file:///usr/share/dialer-app/LiveCallPage/LiveCall.qml:474: ReferenceError: calls is not defined
file:///usr/share/dialer-app/LiveCallPage/LiveCall.qml:489: ReferenceError: calls is not defined
file:///usr/share/dialer-app/LiveCallPage/LiveCall.qml:238: Error: Cannot assign [undefined] to bool
file:///usr/share/dialer-app/LiveCallPage/LiveCall.qml:41:32: Unable to assign [undefined] to bool
file:///usr/share/dialer-app/LiveCallPage/LiveCall.qml:347:15: Unable to assign [undefined] to int
file:///usr/share/dialer-app/LiveCallPage/LiveCall.qml:325:26: Unable to assign [undefined] to QString
file:///usr/share/dialer-app/LiveCallPage/LiveCall.qml:113:17: Unable to assign QVariantMap to QObject*
file:///usr/share/dialer-app/LiveCallPage/LiveCall.qml:37:27: Unable to assign [undefined] to bool
file:///usr/share/dialer-app/LiveCallPage/LiveCall.qml:38:28: Unable to assign [undefined] to bool
file:///usr/share/dialer-app/LiveCallPage/LiveCall.qml:42:40: Unable to assign [undefined] to QString
file:///usr/share/dialer-app/dialer-app.qml:89: Unable to assign [undefined] to QObject*
}}}

test-log: {{{
21:03:55.114 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
21:03:55.309 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
21:03:55.337 INFO logging:45 - str: Set the value of an initctl environment variable. Arguments ('en',). Keyword arguments: {'global_': False}.
21:03:55.352 INFO _launcher:120 - Attempting to launch application 'dialer-app' with URIs '' via upstart-app-launch
21:04:00.245 DEBUG _common:45 - Moving to object's globalRect coordinates.
21:04:00.246 DEBUG _uinput:470 - Tapping at: 600,973
21:04:00.721 DEBUG _common:45 - Moving to object's globalRect coordinates.
21:04:00.722 DEBUG _uinput:470 - Tapping at: 834,667
21:04:01.173 DEBUG _common:45 - Moving to object's globalRect coordinates.
21:04:01.175 DEBUG _uinput:470 - Tapping at: 366,514
21:04:01.626 DEBUG _common:45 - Moving to object's globalRect coordinates.
21:04:01.627 DEBUG _uinput:470 - Tapping at: 600,514
21:04:02.049 DEBUG _common:45 - Moving to object's globalRect coordinates.
21:04:02.050 DEBUG _uinput:470 - Tapping at: 834,514
21:04:02.521 DEBUG _common:45 - Moving to object's globalRect coordinates.
21:04:02.522 DEBUG _uinput:470 - Tapping at: 600,973
21:04:03.066 DEBUG _common:45 - Moving to object's globalRect coordinates.
21:04:03.066 DEBUG _uinput:470 - Tapping at: 600,514
21:04:03.592 DEBUG _common:45 - Moving to object's globalRect coordinates.
21:04:03.593 DEBUG _uinput:470 - Tapping at: 600,1789
21:04:20.497 INFO logging:45 - str: Set the value of an initctl environment variable. Arguments ('en_US:en',). Keyword arguments: {'global_': False}.
}}}

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/dialer_app/tests/test_calls.py", line 108, in test_outgoing_answer_local_hangup
    self.main_view.live_call_page.caller, Eventually(Equals(number)))
  File "/usr/lib/python3/dist-packages/dialer_app/__init__.py", line 30, in live_call_page
    self.hasCalls.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 MainView.hasCalls failed: True != dbus.Boolean(False, variant_level=1)

command_type
testcase_test