Testcase: test_swap_and_hangup

Build #:257:20150716:20150708
Arch:mako (Nexus 4)
Release:wily
Variant:touch
Artifacts
Console Log

Failure explanation

This test failure has not yet been categorized.
Log in to edit.

Test case data

testcase
test_swap_and_hangup
testsuite
dialer_app.tests.test_multi_calls.TestMultiCalls
returncode
1
command
autopilot
stderr
_StringException: Binary content:
  FailedTestScreenshot (image/png)

/var/log/syslog: {{{
Jul 16 06:40:47 ubuntu-phablet kernel: [  263.774820] input: py-evdev-uinput as /devices/virtual/input/input6
Jul 16 06:40:47 ubuntu-phablet kernel: [  263.775980] keychord: using input dev py-evdev-uinput for fevent
Jul 16 06:40:48 ubuntu-phablet kernel: [  263.844101] mmc0: mmc_start_bkops: raw_bkops_status=0x2, from_exception=1
Jul 16 06:40:48 ubuntu-phablet kernel: [  264.249412] input: autopilot-finger as /devices/virtual/input/input7
Jul 16 06:40:49 ubuntu-phablet powerd[892]: handle_requestSysState from :1.93 (active) - ACTIVE (1)
Jul 16 06:40:49 ubuntu-phablet powerd[892]: name_watch_add: looking for :1.93
Jul 16 06:40:49 ubuntu-phablet powerd[892]: watching :1.93 to see when it disappears on dbus
Jul 16 06:40:49 ubuntu-phablet powerd[892]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 16 06:40:49 ubuntu-phablet powerd[892]: handle_requestSysState - SUCCESS
Jul 16 06:40:49 ubuntu-phablet powerd[892]: Enqueue state change to ACTIVE
Jul 16 06:40:49 ubuntu-phablet powerd[892]: queue empty && state == current, discarding
Jul 16 06:40:49 ubuntu-phablet powerd[892]: libsuspend: release_wake_lock: powerd_power_request
Jul 16 06:40:55 ubuntu-phablet powerd[892]: turn_display_on(1)
Jul 16 06:40:55 ubuntu-phablet powerd[892]: signalling activity via HAL
Jul 16 06:40:55 ubuntu-phablet powerd[892]: incoming call
Jul 16 06:41:17 ubuntu-phablet powerd[892]: turn_display_on(1)
Jul 16 06:41:17 ubuntu-phablet powerd[892]: signalling activity via HAL
Jul 16 06:41:17 ubuntu-phablet powerd[892]: call removed
Jul 16 06:41:17 ubuntu-phablet kernel: [  293.756355] type=1400 audit(1437028877.961:94): apparmor="DENIED" operation="open"
profile="/usr/bin/media-hub-server" name="/dev/tty" pid=2942 comm="media-hub-serve" requested_mask="r" denied_mask="r" fsuid=32011 ouid=0
Jul 16 06:41:20 ubuntu-phablet kernel: [  295.971585] eoc_worker: End of Charging
Jul 16 06:41:22 ubuntu-phablet powerd[892]: handle_clearSysState from :1.93, cookie: 6e0dc3dc-6891-4c2c-a373-b82263a82528
Jul 16 06:41:22 ubuntu-phablet powerd[892]: clear_sys_request: active - :1.93
Jul 16 06:41:22 ubuntu-phablet powerd[892]: name_watch_remove: looking for :1.93
Jul 16 06:41:22 ubuntu-phablet powerd[892]: name_watch: ref_count for :1.93 is now 0
Jul 16 06:41:22 ubuntu-phablet powerd[892]: no longer watching :1.93, there are no more requests
Jul 16 06:41:22 ubuntu-phablet powerd[892]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 16 06:41:22 ubuntu-phablet powerd[892]: Enqueue state change to ACTIVE
Jul 16 06:41:22 ubuntu-phablet powerd[892]: queue empty && state == current, discarding
Jul 16 06:41:22 ubuntu-phablet powerd[892]: libsuspend: release_wake_lock: powerd_power_request
Jul 16 06:41:23 ubuntu-phablet dbus[800]: [system] Activating service name='com.canonical.PropertyService' (using servicehelper)
Jul 16 06:41:23 ubuntu-phablet dbus[800]: [system] Successfully activated service 'com.canonical.PropertyService'
}}}

Application Log (dialer-app): {{{
Loading module: 'libubuntu_application_api_touch_mirclient.so.3.0.0'
Testability driver loaded. Wire protocol version is "1.4".
void installIconPath()
Testability driver loaded. Wire protocol version is "1.4".
Unable to register object on D-Bus! Testability interface will not be available.
file:///usr/share/dialer-app/DialerPage/DialerPage.qml:282:13: QML CustomButton: Theme.createStyleComponent() is deprecated. Use ThemeSettings
instead.
file:///usr/share/dialer-app/DialerPage/DialerPage.qml:241:13: QML CustomButton: Theme.createStyleComponent() is deprecated. Use ThemeSettings
instead.
UbuntuWindow - regular geometry
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=1080, height=846)
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/dialer-app/HistoryPage/HistoryPage.qml:365:5: QML Scrollbar: Theme.createStyleComponent() is deprecated. Use ThemeSettings instead.
The phone number is not a valid number: ""
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.
void CallManager::onCallEnded()
The phone number is not a valid number: ""
}}}

test-log: {{{
06:40:48.984 WARNING testcase:175 - Process manager backend unavailable, application snapshot support disabled.
06:40:49.057 INFO logging:45 - str: Set the value of an initctl environment variable. Arguments ('en',). Keyword arguments: {'global_': False}.
06:40:49.117 INFO logging:45 - str: Set the value of an initctl environment variable. Arguments ('/tmp/dialer-appjx3345ws',). Keyword arguments:
{'global_': False}.
06:40:49.152 INFO _launcher:120 - Attempting to launch application 'dialer-app' with URIs '' via upstart-app-launch
06:41:23.923 INFO logging:45 - str: Remove an initctl environment variable. Arguments (). Keyword arguments: {'global_': False}.
06:41:23.953 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_multi_calls.py", line 116, in test_swap_and_hangup
    self.place_calls([firstNumber, secondNumber])
  File "/usr/lib/python3/dist-packages/dialer_app/tests/test_multi_calls.py", line 58, in place_calls
    helpers.accept_incoming_call()
  File "/usr/lib/python3/dist-packages/dialer_app/helpers.py", line 75, in accept_incoming_call
    ], stdout=subprocess.PIPE)
  File "/usr/lib/python3.4/subprocess.py", line 561, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['dbus-send', '--session', '--print-reply', '--dest=com.canonical.Approver', '/com/canonical/Approver',
'com.canonical.TelephonyServiceApprover.AcceptCall']' returned non-zero exit status 1

command_type
testcase_test