Testcase: test_swap_and_hangup

Build #:256:20150715: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 15 06:01:25 ubuntu-phablet powerd[893]: handle_requestSysState from :1.82 (active) - ACTIVE (1)
Jul 15 06:01:25 ubuntu-phablet powerd[893]: name_watch_add: looking for :1.82
Jul 15 06:01:25 ubuntu-phablet powerd[893]: watching :1.82 to see when it disappears on dbus
Jul 15 06:01:25 ubuntu-phablet powerd[893]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 15 06:01:25 ubuntu-phablet powerd[893]: handle_requestSysState - SUCCESS
Jul 15 06:01:25 ubuntu-phablet powerd[893]: Enqueue state change to ACTIVE
Jul 15 06:01:25 ubuntu-phablet powerd[893]: queue empty && state == current, discarding
Jul 15 06:01:25 ubuntu-phablet powerd[893]: libsuspend: release_wake_lock: powerd_power_request
Jul 15 06:01:25 ubuntu-phablet kernel: [  327.516526] updating pm_qos value to default msm_pcm_playback_close
Jul 15 06:01:25 ubuntu-phablet kernel: [  327.516526] done updating pm_qos value to default msm_pcm_playback_close
Jul 15 06:01:25 ubuntu-phablet kernel: [  327.547627] SLIM_CL: skip reconfig sequence
Jul 15 06:01:25 ubuntu-phablet kernel: [  327.557881] amp_enable: amp enable bypass(2)
Jul 15 06:01:25 ubuntu-phablet kernel: [  327.557912] amp_enable: AMP_EN is set to 0
Jul 15 06:01:27 ubuntu-phablet powerd[893]: worker thread finished waiting for hw alarm
Jul 15 06:01:27 ubuntu-phablet powerd[893]: Emitting wakeup signal
Jul 15 06:01:27 ubuntu-phablet powerd[893]: worker thread is finished working; calling join()
Jul 15 06:01:27 ubuntu-phablet powerd[893]: worker thread is destroyed.
Jul 15 06:01:27 ubuntu-phablet powerd[893]: void {anonymous}::reset_alarm_clock() found 1 remaining wakeup requests
Jul 15 06:01:27 ubuntu-phablet powerd[893]: setting hardware wakeup time to 2015-07-15 06:02:24 for ubuntu push client
Jul 15 06:01:27 ubuntu-phablet powerd[893]: starting hardware alarm worker thread
Jul 15 06:01:27 ubuntu-phablet powerd[893]: calling wait_for_next_alarm
Jul 15 06:01:30 ubuntu-phablet powerd[893]: turn_display_on(1)
Jul 15 06:01:30 ubuntu-phablet powerd[893]: signalling activity via HAL
Jul 15 06:01:30 ubuntu-phablet powerd[893]: incoming call
Jul 15 06:01:52 ubuntu-phablet powerd[893]: turn_display_on(1)
Jul 15 06:01:52 ubuntu-phablet powerd[893]: signalling activity via HAL
Jul 15 06:01:52 ubuntu-phablet powerd[893]: call removed
Jul 15 06:01:52 ubuntu-phablet kernel: [  354.858843] type=1400 audit(1436940112.943:94): apparmor="DENIED" operation="open"
profile="/usr/bin/media-hub-server" name="/dev/tty" pid=3004 comm="media-hub-serve" requested_mask="r" denied_mask="r" fsuid=32011 ouid=0
Jul 15 06:01:57 ubuntu-phablet powerd[893]: handle_clearSysState from :1.82, cookie: 8e7a89ce-6919-493d-9e47-7379105191ef
Jul 15 06:01:57 ubuntu-phablet powerd[893]: clear_sys_request: active - :1.82
Jul 15 06:01:57 ubuntu-phablet powerd[893]: name_watch_remove: looking for :1.82
Jul 15 06:01:57 ubuntu-phablet powerd[893]: name_watch: ref_count for :1.82 is now 0
Jul 15 06:01:57 ubuntu-phablet powerd[893]: no longer watching :1.82, there are no more requests
Jul 15 06:01:57 ubuntu-phablet powerd[893]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 15 06:01:57 ubuntu-phablet powerd[893]: Enqueue state change to ACTIVE
Jul 15 06:01:57 ubuntu-phablet powerd[893]: queue empty && state == current, discarding
Jul 15 06:01:57 ubuntu-phablet powerd[893]: libsuspend: release_wake_lock: powerd_power_request
Jul 15 06:01:58 ubuntu-phablet dbus[765]: [system] Activating service name='com.canonical.PropertyService' (using servicehelper)
Jul 15 06:01:58 ubuntu-phablet dbus[765]: [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.
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
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.
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
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:01:25.253 WARNING testcase:175 - Process manager backend unavailable, application snapshot support disabled.
06:01:25.296 INFO logging:45 - str: Set the value of an initctl environment variable. Arguments ('en',). Keyword arguments: {'global_': False}.
06:01:25.344 INFO logging:45 - str: Set the value of an initctl environment variable. Arguments ('/tmp/dialer-appiftnloxt',). Keyword arguments:
{'global_': False}.
06:01:25.371 INFO _launcher:120 - Attempting to launch application 'dialer-app' with URIs '' via upstart-app-launch
06:01:58.780 INFO logging:45 - str: Remove an initctl environment variable. Arguments (). Keyword arguments: {'global_': False}.
06:01:58.814 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